Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Product List
Porting Projects from StellarisWare to TivaWare for C Series Slide 6

One of the key enhancements to the new TivaWare is the addition of C99 data types which allow easier porting of code across different MCU platforms. This helps in removing ambiguity in the size of data types on different MCU platforms. For example, int32_t is always 32-bits long regardless of MCU platform unlike long which could be 32 bits or not depending on the core’s architecture. So now, header files stdint.h and stdbool.h should be added to the projects. Hungarian prefixes have also been updated to provide consistent nomenclature across drivers and examples. A list of new prefixes is shown in the table on this slide.

PTM Published on: 2014-03-21