First sta-Core rework to work for Arduino

This commit is contained in:
dario
2024-02-09 14:33:05 +01:00
parent 7f451cd868
commit 4490c68ee3
19 changed files with 96 additions and 35 deletions

View File

@@ -7,7 +7,12 @@
#include <sta/bus/can/id.hpp>
#include <cstdint>
#include <sta/config.hpp>
#ifdef STA_PLATFORM_ARDUINO
# include <stdint.h>
#else
# include <cstdint>
#endif // STA_PLATFORM_ARDUINO
namespace sta

View File

@@ -7,7 +7,12 @@
#include <sta/bus/can/id.hpp>
#include <cstdint>
#include <sta/config.hpp>
#ifdef STA_PLATFORM_ARDUINO
# include <stdint.h>
#else
# include <cstdint>
#endif // STA_PLATFORM_ARDUINO
namespace sta

View File

@@ -5,7 +5,12 @@
#ifndef STA_CORE_CAN_ID_HPP
#define STA_CORE_CAN_ID_HPP
#include <cstdint>
#include <sta/config.hpp>
#ifdef STA_PLATFORM_ARDUINO
# include <stdint.h>
#else
# include <cstdint>
#endif // STA_PLATFORM_ARDUINO
namespace sta

View File

@@ -5,7 +5,12 @@
#ifndef STA_CORE_CAN_ITER_HPP
#define STA_CORE_CAN_ITER_HPP
#include <cstdint>
#include <sta/config.hpp>
#ifdef STA_PLATFORM_ARDUINO
# include <stdint.h>
#else
# include <cstdint>
#endif // STA_PLATFORM_ARDUINO
namespace sta