commit b26eb97880e920115b3603f524b192d4778c1044 Author: cfif Date: Mon Jun 2 14:32:56 2025 +0300 Init diff --git a/FirmwareTelematicaMetadataSection.c b/FirmwareTelematicaMetadataSection.c new file mode 100644 index 0000000..09374a2 --- /dev/null +++ b/FirmwareTelematicaMetadataSection.c @@ -0,0 +1,7 @@ +#include "FirmwareTelematicaMetadataSection.h" +#include "ext_telematica.h" + +void tele_func(void *env); + +volatile const uint32_t META_EXT_ENV_TELE __attribute__((section (".meta_ext_env_tele"))) = (uint32_t)&EXT_ENV_TELE; +volatile const uint32_t META_MAIN_INIT __attribute__((section (".meta_tele_func"))) = (uint32_t)tele_func; diff --git a/FirmwareTelematicaMetadataSection.h b/FirmwareTelematicaMetadataSection.h new file mode 100644 index 0000000..674176b --- /dev/null +++ b/FirmwareTelematicaMetadataSection.h @@ -0,0 +1,14 @@ +#ifndef UVEOS_ON_NATION_FIRMWARETELEMATICAMETADATASECTION_H +#define UVEOS_ON_NATION_FIRMWARETELEMATICAMETADATASECTION_H + +#include "stdint.h" + +extern volatile const uint32_t META_EXT_ENV_TELE; +extern volatile const uint32_t META_MAIN_INIT; +extern volatile const uint32_t META_MAIN; +extern volatile const uint32_t META_COM_INT; +extern volatile const uint32_t META_COM_INT_DEFAULT; +extern volatile const uint32_t META_URC; +extern volatile const uint32_t META_ACCEL; + +#endif //UVEOS_ON_NATION_FIRMWARETELEMATICAMETADATASECTION_H diff --git a/modular.json b/modular.json new file mode 100644 index 0000000..4b70e54 --- /dev/null +++ b/modular.json @@ -0,0 +1,17 @@ +{ + "dep": [ + { + "type": "git", + "provider": "Smart_Components_Aurus", + "repo": "CmakeConfig_RandomBuildIdGenerator" + } + ], + "cmake": { + "inc_dirs": [ + "./" + ], + "srcs": [ + "./*.c" + ] + } +} \ No newline at end of file