I started to get in touch with TI's TM4C123GXL, and applied for a board to learn from it. I recorded it here as a souvenir.
When using TI chips to make things, although Keil and IAR seem to be able to be used, the official CCS provides more routines and other resources, so after comprehensive consideration, it is better to use CCS for compilation. First, record how to create a project with CCS.
First, download the CCS installation package and tivaware (file name: SW-TM4C-2.1.4.178 .exe) and install them. Special note that since TM4C123G is a relatively new chip (maybe for this reason), TivaWare can only be used in CCS6.1 and above. I used CCS6.2. The specific files are all available on Baidu, so I won't provide them here.
After the installation is complete, open the CCS main interface and click the menu bar>View>Resource Explorer Classic
After clicking, find TivaWare_C_Series-xxxxx (xxxxx is the version number) on the left, expand TivaWare_C_Series-xxxxx>examples>boards>ek-tm4c123gxl (chip model)>hello>hello
Follow Step 1-4 on the right to import the routine.
Note:
1. You can directly double-click the underlined statement in the figure;
2. After completion, a green check will appear behind it;
3. If the import fails due to an operational error, you can delete the "hello" folder in the workspace and import it again;
4. If there is no TivaWare related folder on the left, you can add it manually in the icon on the right side of the packages above.
|