Jump to content
RobG

Graphics Library for MSP432

Recommended Posts

Hi,

 

I just downloaded the project and imported it into ccs (via import - general - existing project into workspace) but now I don't seem to be able to compile main.c.

21:05:56 **** Build of configuration Default for project ugl432 ****
make all 
Cannot run program "make": Launching failed

Error: Program "make" not found in PATH
PATH=[C:/ti/ccsv6/eclipse/jre/bin/client;C:/ti/ccsv6/eclipse/jre/bin;C:/ti/ccsv6/eclipse/jre/lib/i386;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\ti\ccsv6\eclipse;C:/ti/energia-0101E0015]

21:05:56 Build Finished (took 58ms)

I am coming from Arduino and recently acquired an FRAM- and a MSP432 launchpad and am trying to jump into the cold water and starting to use ccs now, but I'd be very happy about some pointers how to get the demo to compiler. Thank you very much.

 

Pio

Share this post


Link to post
Share on other sites

@@phenyl, this is not a valid project, you need to create one first.

 

1. New -> CCS Project

2. Select your Target (choose MSP432P401R)

3. Extract ugl432.zip into new folder

4. Copy/paste all files from the folder to your project (replace existing main.c when asked)

 

You are done!

Share this post


Link to post
Share on other sites

Hello,

 

I  have the latest V3 Robg LCD.  I was able to get it working on my MSP432 with the pre-cmsis software, however this does not work with new code bases that are cmsis compliant.  I tried to use the CodeConvert found here on Ti's Wiki ( www.ti.com/msp432cmsis ), however attempts to convert have been unsuccessful.  I reached out to RobG and he said that when he gets time he will update ugl432 to cmsis compliant, not sure when that will be.

 

Has anyone updated this code for the 432?  Or does anyone know why the CodeConvert will not fix the code?

 

Thank you,

Brock

Share this post


Link to post
Share on other sites
On 3/24/2015 at 8:14 AM, RobG said:

MSP432 version of my Universal Graphics Library.

Works with my latest Color LCD BoosterPacks, 2.2" and 2.4" (320x240)

Touch support will be added in late April.

 

ugl432.zip

 

post-73-0-85341100-1427198789_thumb.jpg

 

Hi Rob,

will this library work with 2.8" TFT LCD with Touchscreen Breakout Board w/MicroSD Socket - ILI9341?

here is a link to the driver.

https://cdn-shop.adafruit.com/datasheets/ILI9341.pdf 

Share this post


Link to post
Share on other sites

Hi everyone

I just downloaded the graphics library and when i try to compile it I get an error in the MCU.c file. I was wondering if you ever had this issue, and if you knew a fix for it

 

Errors:

"../mcu.c", line 21: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 21: warning #176-D: expression has no effect
"../mcu.c", line 21: error #66: expected a ";"
"../mcu.c", line 22: warning #1934-D: concatenation with "DIR" in macro "portD" does not create a valid token
"../mcu.c", line 22: warning #176-D: expression has no effect
"../mcu.c", line 22: error #66: expected a ";"
"../mcu.c", line 23: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 23: warning #176-D: expression has no effect
"../mcu.c", line 23: error #66: expected a ";"
"../mcu.c", line 24: warning #1934-D: concatenation with "DIR" in macro "portD" does not create a valid token
"../mcu.c", line 24: warning #176-D: expression has no effect
"../mcu.c", line 24: error #66: expected a ";"
"../mcu.c", line 25: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 25: warning #176-D: expression has no effect
"../mcu.c", line 25: error #66: expected a ";"
"../mcu.c", line 26: warning #1934-D: concatenation with "DIR" in macro "portD" does not create a valid token
"../mcu.c", line 26: warning #176-D: expression has no effect
"../mcu.c", line 26: error #66: expected a ";"
"../mcu.c", line 27: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 27: warning #176-D: expression has no effect
"../mcu.c", line 27: error #66: expected a ";"
"../mcu.c", line 28: warning #1934-D: concatenation with "DIR" in macro "portD" does not create a valid token
"../mcu.c", line 28: warning #176-D: expression has no effect
"../mcu.c", line 28: error #66: expected a ";"
"../mcu.c", line 45: warning #1934-D: concatenation with "SEL0" in macro "portS" does not create a valid token
"../mcu.c", line 45: warning #176-D: expression has no effect
"../mcu.c", line 45: error #66: expected a ";"
"../mcu.c", line 64: error #20: identifier "CSKEY" is undefined
"../mcu.c", line 65: error #20: identifier "CSCTL0" is undefined
"../mcu.c", line 66: error #20: identifier "DCORSEL_4" is undefined
"../mcu.c", line 67: error #20: identifier "CSCTL1" is undefined
"../mcu.c", line 67: error #20: identifier "SELA_2" is undefined
"../mcu.c", line 67: error #20: identifier "SELS_3" is undefined
"../mcu.c", line 67: error #20: identifier "SELM_3" is undefined
"../mcu.c", line 84: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 84: warning #176-D: expression has no effect
"../mcu.c", line 84: error #66: expected a ";"
"../mcu.c", line 85: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 85: warning #176-D: expression has no effect
"../mcu.c", line 85: error #66: expected a ";"
"../mcu.c", line 90: remark #1528-D: (ULP 3.1) Detected flag polling using UCBUSY. Recommend using an interrupt combined with enter LPMx and ISR
"../mcu.c", line 103: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 103: warning #176-D: expression has no effect
"../mcu.c", line 103: error #66: expected a ";"
"../mcu.c", line 114: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 114: warning #176-D: expression has no effect
"../mcu.c", line 114: error #66: expected a ";"
"../mcu.c", line 115: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 115: warning #176-D: expression has no effect
"../mcu.c", line 115: error #66: expected a ";"
"../mcu.c", line 120: remark #1528-D: (ULP 3.1) Detected flag polling using UCBUSY. Recommend using an interrupt combined with enter LPMx and ISR
"../mcu.c", line 133: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 133: warning #176-D: expression has no effect
"../mcu.c", line 133: error #66: expected a ";"
"../mcu.c", line 144: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 144: warning #176-D: expression has no effect
"../mcu.c", line 144: error #66: expected a ";"
"../mcu.c", line 145: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 145: warning #176-D: expression has no effect
"../mcu.c", line 145: error #66: expected a ";"
"../mcu.c", line 153: remark #1528-D: (ULP 3.1) Detected flag polling using UCBUSY. Recommend using an interrupt combined with enter LPMx and ISR
"../mcu.c", line 170: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 170: warning #176-D: expression has no effect
"../mcu.c", line 170: error #66: expected a ";"
"../mcu.c", line 171: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 171: warning #176-D: expression has no effect
"../mcu.c", line 171: error #66: expected a ";"
"../mcu.c", line 178: remark #1528-D: (ULP 3.1) Detected flag polling using UCBUSY. Recommend using an interrupt combined with enter LPMx and ISR
"../mcu.c", line 180: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../mcu.c", line 199: warning #1934-D: concatenation with "OUT" in macro "portO" does not create a valid token
"../mcu.c", line 199: warning #176-D: expression has no effect
"../mcu.c", line 199: error #66: expected a ";"
"../mcu.c", line 210: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../mcu.c", line 211: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../mcu.c", line 216: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
"../mcu.c", line 226: remark #1527-D: (ULP 2.1) Detected SW delay loop using _delay_cycles. Recommend using a timer module instead
"../mcu.c", line 227: remark #2623-D: (ULP 5.4) Detected an assignment to a type with size less than int. To avoid unnecessary sign extension, use int-sized types for local varaibles and convert to smaller types for static storage.
27 errors detected in the compilation of "../mcu.c".
gmake: *** [mcu.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...