|
|
@@ -1,31 +0,0 @@
|
|
|
-/** @file nbus_platform.h
|
|
|
- *
|
|
|
- * @date: Jun 19, 2026
|
|
|
- * @author: Juraj Dudak, Matus Necas
|
|
|
- */
|
|
|
-
|
|
|
-#ifndef INC_NBUS_PLATFORM_H_
|
|
|
-#define INC_NBUS_PLATFORM_H_
|
|
|
-
|
|
|
-#if defined(STM32F401xC) || defined(STM32F401xE)
|
|
|
-#include "stm32f4xx_hal.h"
|
|
|
-#endif
|
|
|
-
|
|
|
-#if defined (STM32L432xx)
|
|
|
-#include "stm32l4xx_hal.h"
|
|
|
-#endif
|
|
|
-
|
|
|
-#if defined (STM32L031xx) || defined (STM32L082xx)
|
|
|
-#include "stm32l0xx_hal.h"
|
|
|
-#endif
|
|
|
-
|
|
|
-#if defined(ESP32)
|
|
|
-#include <Stream.h>
|
|
|
-#include <esp32-hal-gpio.h>
|
|
|
-
|
|
|
-#define UART_HandleTypeDef Stream
|
|
|
-#define HAL_GetTick() millis()
|
|
|
-#define HAL_Delay(ms) delay(ms)
|
|
|
-#endif
|
|
|
-
|
|
|
-#endif // INC_NBUS_PLATFORM_H_
|