This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430FR2433: Import energia library: Adafruit GFX

Part Number: MSP430FR2433
Other Parts Discussed in Thread: ENERGYTRACE, ENERGIA

Tool/software: Code Composer Studio

Hi,

importing in CCS 8.2 an Energia sketch which uses a Adafruits GFX library, there are two compiliation errors in msp430_MSP_EXP430FR2433LP_Adafruit_GFX. In Energia everything is working as intended. Just wondering if anyone had the same error and knows how to get this running in CCS (since I'd like to use the nice EnergyTrace monitoring).

Thanks in advance.

Regards,

Robert

fontconvert/subdir_rules.mk:7: recipe for target 'fontconvert/fontconvert.o' failed

22:22: fatal error: ft2build.h: No such file or directory

  • Hello Robert,

    Thanks for your post.
    We will take a look and get back to you ASAP.

    Thanks,
    Yiding
  • Hello Robert,

    Can you please point us to the exact library you have used and also provide the Sketch that works in Energia and any dependencies.

    Thanks,

    Robert
  • Hi,

    the Adafruit GFX core library can be found here. The display-specific library PL_microEPD for little Epaper screens can be found here.

    This is the sketch, working fine in Energia:

    #include "Adafruit_GFX.h"
    #include "PL_microEPD.h"
    #include <SPI.h>
    
    #define EPD_RST     17
    #define EPD_BUSY    8
    #define EPD_CS      13 
    
    PL_microEPD display(EPD_CS, EPD_RST, EPD_BUSY);  
    
    void setup() {  
        SPI.begin();                    
        SPI.beginTransaction(SPISettings(6000000, MSBFIRST, SPI_MODE0));
    
        display.begin();           
        display.println("Hello World!");
        display.update();               
    }
    
    void loop() {      
    }
    
    

    Thanks for your support,

    Robert

**Attention** This is a public forum