CAN Update

This commit is contained in:
Dmitriy Semenov
2023-04-03 21:51:33 +03:00
parent 68f478625e
commit 9c2667bbe5
16 changed files with 854 additions and 288 deletions

29
firmware/Libs/libs.h Executable file
View File

@@ -0,0 +1,29 @@
/**
*******************************************
* @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 <stdlib.h> ///< Standard library
#include <stdint.h> ///< Std types
#include <stdbool.h> ///< _Bool to bool
#include <string.h> ///< Lib for memcpy, strlen, etc
#include <stdio.h> ///< Lib for sprintf, printf, 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 __USR_BKPT() __asm__ __volatile__("BKPT")
#endif /* LIBS_H_ */