commit a60634c706dc0becf82e3c0bc3bca8933fdac664 Author: cfif Date: Mon Sep 29 11:21:52 2025 +0300 Добавлены интерфейсы и драйверы diff --git a/Gpios.c b/Gpios.c new file mode 100644 index 0000000..ef163f2 --- /dev/null +++ b/Gpios.c @@ -0,0 +1,15 @@ +// +// Created by cfif on 05.05.23. +// +#include "Gpios.h" +#include "SystemDelayInterface.h" + +tGpios GPIOS; + + +void Gpios_Init() { + + + tGpios *env = &GPIOS; + +} \ No newline at end of file diff --git a/Gpios.h b/Gpios.h new file mode 100644 index 0000000..4a8d2c0 --- /dev/null +++ b/Gpios.h @@ -0,0 +1,19 @@ +// +// Created by cfif on 05.05.23. +// + +#ifndef HVAC_M7_GPIOS_H +#define HVAC_M7_GPIOS_H + +#include "GpioPin.h" +//#include "PowerManagement.h" + +typedef struct { + +} tGpios; + +extern tGpios GPIOS; + +void Gpios_Init(); + +#endif //HVAC_M7_GPIOS_H diff --git a/modular.json b/modular.json new file mode 100644 index 0000000..f566ddb --- /dev/null +++ b/modular.json @@ -0,0 +1,22 @@ +{ + "dep": [ + { + "type": "git", + "provider": "HVAC_M7", + "repo": "GpioPin_Flagchip_FC7240" + }, + { + "type": "git", + "provider": "HVAC_M7", + "repo": "SystemDelay_CMSIS_RTOS" + } + ], + "cmake": { + "inc_dirs": [ + "./" + ], + "srcs": [ + "Gpios.c" + ] + } +} \ No newline at end of file