Move C API to separate folder

This commit is contained in:
Henrik Stickann 2023-01-21 22:33:27 +01:00
parent ecacb923f2
commit cccf24ae59
3 changed files with 26 additions and 4 deletions

View File

@ -2,8 +2,8 @@
* @file
* @brief CAN driver message request types for use in C code.
*/
#ifndef STA_RTOS_SYSTEM_CAN_MSG_H
#define STA_RTOS_SYSTEM_CAN_MSG_H
#ifndef STA_RTOS_C_API_CAN_MSG_H
#define STA_RTOS_C_API_CAN_MSG_H
#include <stdint.h>
@ -46,4 +46,4 @@ struct CanSysMsg
};
#endif // STA_RTOS_SYSTEM_CAN_MSG_H
#endif // STA_RTOS_C_API_CAN_MSG_H

View File

@ -0,0 +1,22 @@
#ifndef STA_RTOS_C_API_STARTUP_H
#define STA_RTOS_C_API_STARTUP_H
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief
*
* @param arg Default task argument
*/
void startALPAKA(void * arg);
#ifdef __cplusplus
}
#endif
#endif // STA_RTOS_C_API_STARTUP_H

View File

@ -29,7 +29,7 @@
#include <sta/can/controller.hpp>
#include <sta/rtos/system/can_msg.h>
#include <sta/rtos/c_api/can_msg.h>
#include <cstdint>