add Chapter05/gsm_lib

This commit is contained in:
Amar Mahmutbegovic
2024-05-19 23:48:23 +02:00
parent 5d93a88205
commit 19c06fe786
195 changed files with 302229 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#pragma once
#include <cstdint>
#include <stm32f0xx_hal.h>
namespace hal
{
inline void init()
{
HAL_Init();
}
struct time
{
static std::uint32_t get_ms()
{
return HAL_GetTick();
}
};
}; // namespace hal