Part Number: TM4C123FH6PM
Other Parts Discussed in Thread: SYSCONFIG
Tool/software: Code Composer Studio
Hello Everyone,
I started using the SysConfig tool inside ccs recently and I wanted to ask a question about the use case.
The tool works well to configure the pins however to use TivaWare when controlling pins and peripherals the business names for the components need to be declared again.
What I mean is I might define a UART and name it "DebugUART" or anything else to define its' functionality. When I am putting characters I still need to use UART0_BASE etc. even though I defined a name for it on SysConfig tool. It would be great to have those names to be usable inside the program when "pinout.h" file is added to places that use any io pins.
My current approach is using #define to give business logic names to peripherals and pins but if the tool helped me do that it would actually be much more useful. Then inside the code I could use business name instead of port and pin values.
Is there an easy way to achieve this besides creating my own text interpreter and using the Syscfg script file?
Thanks,
Tuna


