fixup __forceinline for cpp code and add kitchen_sink cpp test (#670)
* fix __force_inline for different GCC versions in cpp mode (the affected versions are different from c mode), and build kitchsink.c as a cpp file too for testing * silly bug in host platform.h
This commit is contained in:
@ -78,8 +78,8 @@ typedef struct uart_inst uart_inst_t;
|
||||
* \ingroup hardware_uart
|
||||
* @{
|
||||
*/
|
||||
#define uart0 ((uart_inst_t * const)uart0_hw) ///< Identifier for UART instance 0
|
||||
#define uart1 ((uart_inst_t * const)uart1_hw) ///< Identifier for UART instance 1
|
||||
#define uart0 ((uart_inst_t *)uart0_hw) ///< Identifier for UART instance 0
|
||||
#define uart1 ((uart_inst_t *)uart1_hw) ///< Identifier for UART instance 1
|
||||
|
||||
/** @} */
|
||||
|
||||
|
Reference in New Issue
Block a user