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.

MSPM0G3507: Creating Non-Sysconfig based project

Expert 2851 points
Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG,

Tool/software:

Hi

I want to make non-sysconfig based CCS project.

I tryed deleate all sysconfig from SDK empty project.

But there is unknown error maybe generated by Linker.

May I have advices for resolve errors?

20240724_Empty_MSPM0G3507_TIclang.zip

best regards,

GR

  • Hi GR,

    There is an empty_non_sysconfig project in the SDK I believe will suit your needs. You can create a new project or import from SDK->examples->nortos->LP_MSPM0G3507->driverlib->empty_non_sysconfig.

    Regards,

    Brian

  • Coming from the opposite direction: I used these steps to create an "Empty-G3507" project from the "Empty (with main)" project. [Bare-bones, no driverlib.]

    1) Copy these files into the project:

    Fullscreen
    1
    2
    C:\ti\mspm0_sdk_2_01_00_03\source\ti\devices\msp\m0p\linker_files\ticlang\mspm0g3507.cmd
    C:\ti\mspm0_sdk_2_01_00_03\source\ti\devices\msp\m0p\startup_system_files\ticlang\startup_mspm0g350x_ticlang.c
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    2) Add these to "Build Settings->Build->Compiler->Include Options":

    Fullscreen
    1
    2
    C:\ti\mspm0_sdk_2_01_00_03\source
    C:\ti\mspm0_sdk_2_01_00_03\source\third_party\CMSIS\Core\Include
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    [The path prefix is of course the install directory for the SDK. Maybe there's a CCS/Eclipse wizard in the audience who can remind me how to add environment variables.]

    3) Add this to main.c:

    Fullscreen
    1
    #include <ti/devices/msp/msp.h>
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    4) [optional] Add this to main():

    Fullscreen
    1
    GPIOA->GPRCM.PWREN = (GPIO_PWREN_KEY_UNLOCK_W | GPIO_PWREN_ENABLE_ENABLE);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    [This just checks to see if I forgot anything. I think it's valid on any MSPM0.]

  • Hi Brian, Bruce,

    Thanks for your information.

    In my PC, If make project by CCS there is linker error that can't access own project folder.

    So I will use the empty_non_sysconfig.

    Best regards,

    GR