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.

CC1354P10: SimpleLink examples are built without extended warnings enabled

Part Number: CC1354P10

Tool/software:

When building (at least) the WiSUN examples it seems like warnings like `-Wall`, `-Wextra` and `-Werror` aren't enabled. This causes the warnings to go unnoticed, so when you do use the sources in projects that treat warnings as errors the builds fail:

cc13xx_cc26xx/source/ti/devices/cc13x4_cc26x4/driverlib/cpu.h:355:24: warning: unused parameter 'ui32NewBasepri' [-Wunused-parameter]
355 | CPUbasepriSet(uint32_t ui32NewBasepri)

cc13xx_cc26xx/kernel/freertos/startup/startup_cc13x4_cc26x4_gcc_ns.c:170:15: warning: incompatible pointer types initializing 'uint32_t *' (aka 'unsigned int *') with an expression of type 'unsigned long *' [-Wincompatible-pointer-types]
170 | uint32_t *vtor = (unsigned long *)0xE000ED08;
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~

Are you building with warnings enabled internally?