]> begriffs open source - freertos/commit
Fix build with modern GCC (#933)
authorForty-Bot <Forty-Bot@users.noreply.github.com>
Fri, 22 Dec 2023 21:09:55 +0000 (16:09 -0500)
committerGitHub <noreply@github.com>
Fri, 22 Dec 2023 21:09:55 +0000 (14:09 -0700)
commitec93432a5974b8edd9391758490c492266bf29df
tree80296bf80490b36936fd77c310f56fef66e8df60
parent4e7ca2d704f0f21323016d6218b26af72155a144
Fix build with modern GCC (#933)

* GCC: MSP430F449: Add missing attributes

Apparently at some point in the past, GCC (or TI's GCC) used to define
these attributes. Define them ourselves so that we can compile the demo
application.

* GCC: MSP430F449: Make interrupts return void

If a return type of a function is not specified, it defaults to int. Set
the return type of interrupts to void to avoid warnings.

* GCC: MSP430F449: Define portPOINTER_SIZE_TYPE

portPOINTER_SIZE_TYPE defaults to uint32_t if undefined. Define it to
uint16_t, which is correct for this port.
portable/GCC/MSP430F449/port.c
portable/GCC/MSP430F449/portmacro.h