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.

LCD example with SmartRF06 evaluation board

Other Parts Discussed in Thread: CC2538

Hello all,

I just start playing with the CC2538 Development kit and I'm trying to run the LCD example (from CC2538 Foundation Firmware) on the CCS 6.0.1.00040. I included all the library and folders as explained in the manual, but when I start compiling I get two errors:


gmake: *** No rule to make target `C:/Users/Fabio/workspace_v6_0/swrc271a/cc2538_foundation_firmware_1_0_1_0/bsp/trxeb_msp5438a/drivers/source/lcd_dogm128_6_alphabet.c', needed by `bsp/lcd_dogm128_6_alphabet.obj'.


gmake: *** No rule to make target `C:/Users/Fabio/workspace_v6_0/swrc271a/cc2538_foundation_firmware_1_0_1_0/bsp/trxeb_msp5438a/drivers/source/lcd_dogm128_6.c', needed by `bsp/lcd_dogm128_6.obj'.

Any suggestion on how to solve this issue?

Thanks

Fabio

  • Fabio,

    I think there is a problem with the example.  I just downloaded the package and installed it.  For me I initially get an error where the device set in the project doesn't match the devices available in CCS.  This one is due to the package not being updated with the full device names.  When I select the appropriate CC2538 device I get past that.  However I then hit the 2 errors you have as well.  Basically the project has links to where it thinks these source files should be but they are not there.

    I was able to locate those files in cc2538_foundation_firmware_1_0_1_0\bsp\srf06eb_cc2538\drivers\source

    I deleted the ones in my project and added these ones (as linked resources).  Just drag them from explorer and select the option to link relative to the project directory.

    Then when I build I get a linker error about one of the options being set not being compatible with COFF.  I change the project to ELF/eabi.  You can do this by going to the project properties.  Select general in the tree on the left then change the output format to ELF.

    Then when I build I get a bunch of unresolved symbols.  Looks like some library needs to be added.  I am going to need to move this into the device forum so that the team there can reply.

    Regards,

    John

  • Yep it worked! thanks a lot!

  • Great.  So you don't get the unresolved symbols error?

  • Nope, everything worked smoothly after copying the files you mentioned.

    Thanks

    Fabio