diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2026-02-17 11:37:50 -0800 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2026-02-17 11:37:50 -0800 |
| commit | fb1611c0ca99d9e609057c46507be2af8389bb7b (patch) | |
| tree | 646ac568fdad1e6cf9e1f5767295b183bc5c5441 /firmware/rf test/Core/Inc/libs.h | |
| parent | 6e952fe110c2a48204c8cb0a836309ab97e5979a (diff) | |
Diffstat (limited to 'firmware/rf test/Core/Inc/libs.h')
| -rw-r--r-- | firmware/rf test/Core/Inc/libs.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/firmware/rf test/Core/Inc/libs.h b/firmware/rf test/Core/Inc/libs.h new file mode 100644 index 0000000..d11de62 --- /dev/null +++ b/firmware/rf test/Core/Inc/libs.h @@ -0,0 +1,27 @@ +/** + ******************************************* + * @file libs.h + * @author Dmitriy Semenov / Crazy_Geeks + * @brief Internal header for adding sys libs and defines + ******************************************* +*/ + +#ifndef LIBS_H_ +#define LIBS_H_ + +#include "main.h" ///< Main project file +#include <stdint.h> ///< Std types +#include <stdbool.h> ///< _Bool to bool +#include <string.h> ///< Lib for sprintf, strlen, etc + +typedef uint8_t u8_t; ///< 8-bit unsigned +typedef int8_t i8_t; ///< 8-bit signed +typedef uint16_t u16_t; ///< 16-bit unsigned +typedef int16_t i16_t; ///< 16-bit signed +typedef uint32_t u32_t; ///< 32-bit unsigned +typedef int32_t i32_t; ///< 32-bit signed +typedef float fl_t; ///< float type + +#define delay(x) HAL_Delay(x) ///< arduino-supportable delay or RTOS support ability + +#endif /* LIBS_H_ */ |
