Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/system/freertos/alloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@

#include "FreeRTOS.h"

#ifdef __cplusplus
extern "C" {
#endif

static inline void *metal_allocate_memory(unsigned int size)
{
Expand Down
4 changes: 4 additions & 0 deletions lib/system/freertos/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
#ifndef __METAL_FREERTOS_IRQ__H__
#define __METAL_FREERTOS_IRQ__H__

#ifdef __cplusplus
extern "C" {
#endif

/**
* @brief default interrupt handler
* @param[in] interrupt vector
Expand Down