First sta-Core rework to work for Arduino

This commit is contained in:
dario
2023-11-23 08:53:39 +01:00
parent 32ff235822
commit d785e4b5ec
19 changed files with 94 additions and 33 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