Data Types os_type.h
os_type.h contains the data types used by µC/OS-III, which should only be altered by the implementer of the µC/OS-III port. You can alter the contents of os_type.h. However, it is important to understand how each of the data types that are being changed will affect the operation of µC/OS-III-based applications.
The reason to change os_type.h is that processors may work better with specific word sizes. For example, a 16-bit processor will likely be more efficient at manipulating 16-bit values and a 32-bit processor more comfortable with 32-bit values, even at the cost of extra RAM. In other words, the user may need to choose between processor performance and RAM footprint.
If changing “any” of the data types, you should copy os_type.h in the project directory and change that file (not the original os_type.h that comes with the µC/OS-III release).
Recommended data type sizes are specified in comments in os_type.h.