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.
Sysconfig version 1.18.1
mspm0 sdk version 1.30.00.03
I wanted to use the GPIO driver implemented in `GPIOMSPM0.c`. This depends on symbols such as `GPIO_config` which in the examples are generated in `ti_drivers_config.c`.
When running sysconfig the only source files generated are`ti_msp_dl_config.h` and `ti_msp_dl_config.c`.
Is there an option to generate the missing files or is the library meant to be used on other devices?
Thank you
Hi Ludovico,
In Sysconfig, under the Project configuration tab there is a section for "include libraries". Here you can select TI Drivers and it will add the TI Drivers library to your build. Currently the driver configuration will have to be manually added and can't be generated through SysConfig. You can copy and paste the ti_drivers_config.c and .h files from the example code and include these in your main.c.
Regards,
Luke
Thanks Luke,
I hoped it would be generated for me.
This means that if I configure my gpios via sysconfig and I want to use the high level gpio driver I will have to configure the driver manually...
Hi Ludovico,
That is correct, currently the SysConfig will only automatically generate with the lower level DriverLib. I can put in a request to incorporate TI Drivers as a future option to have configured in SysConfig, but I don't think it is something that will happen in the near future.
Regards,
Luke
Hi Luke,
Thanks for clarifying, definitely would be a nice to have to not mix generated code with manual one, but it's something we can work around for now.
Maybe it would be useful if this were documented somewhere, in the examples the `ti_drivers_config.h` has the following header doc which caused the confusion:
Hi Ludovico,
I'll put in a task to remove the header comment that the ti drivers config files were created by SysConfig.
I appreciate the feedback!
Regards,
Luke