From 34eec71e751db13212698c4b302bc6b961cf82a3 Mon Sep 17 00:00:00 2001 From: cfif Date: Mon, 2 Jun 2025 14:32:56 +0300 Subject: [PATCH] Init --- Src/SystemDelayCmsisRtos.c | 17 +++++++++++++++++ modular.json | 21 +++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 Src/SystemDelayCmsisRtos.c create mode 100644 modular.json diff --git a/Src/SystemDelayCmsisRtos.c b/Src/SystemDelayCmsisRtos.c new file mode 100644 index 0000000..1ccf6b0 --- /dev/null +++ b/Src/SystemDelayCmsisRtos.c @@ -0,0 +1,17 @@ +// +// Created by xemon on 29.08.22. +// +#include +#include "SystemDelayInterface.h" +#include "systickcounter.h" +#include "ext_telematica.h" + +const uint32_t SystemWaitForever = osWaitForever; + +void SystemDelayMs(uint32_t ms) { + EXT_ENV_TELE.osFreeRTOS.SystemDelayMs(ms); +} + +uint64_t SystemGetMs() { + return EXT_ENV_TELE.osFreeRTOS.SystemGetMs(); +} \ No newline at end of file diff --git a/modular.json b/modular.json new file mode 100644 index 0000000..647d80b --- /dev/null +++ b/modular.json @@ -0,0 +1,21 @@ +{ + "dep": [ + { + "type": "git", + "provider": "Smart_Components_Aurus", + "repo": "CmsisRtosInterface" + }, + { + "type": "git", + "provider": "Smart_Components_Aurus", + "repo": "SystemDelayInterface" + } + ], + "cmake": { + "inc_dirs": [ + ], + "srcs": [ + "Src/**.c" + ] + } +} \ No newline at end of file