commit 06f34675a34a815188298b36bef321a0b0a82504 Author: cfif Date: Mon Jun 2 13:26:40 2025 +0300 Init diff --git a/ld_adr.h b/ld_adr.h new file mode 100644 index 0000000..b9efea0 --- /dev/null +++ b/ld_adr.h @@ -0,0 +1,17 @@ +// +// Created by cfif on 27.06.2024. +// + +#ifndef SMART_COMPONENTS_BOOT_LD_ADR_H +#define SMART_COMPONENTS_BOOT_LD_ADR_H + +#define BOOT_AREA_LENGTH (64 * 1024) +#define FIRMWARE_MAIN_AREA_LENGTH (320 * 1024) +#define FIRMWARE_MAIN_UPDATE_AREA_LENGTH (320 * 1024) +#define FIRMWARE_TELE_AREA_LENGTH (192 * 1024) +#define FIRMWARE_SETTINGS_AREA_LENGTH (16 * 1024) +#define FIRMWARE_SETTINGS_RECOVERY_AREA_LENGTH (16 * 1024) +#define FIRMWARE_FILESYSTEM_LENGTH ((64 + 30) * 1024) + + +#endif //SMART_COMPONENTS_BOOT_LD_ADR_H diff --git a/modular.json b/modular.json new file mode 100644 index 0000000..0dd1901 --- /dev/null +++ b/modular.json @@ -0,0 +1,10 @@ +{ + "cmake": { + "inc_dirs": [ + "./" + ], + "srcs": [ + "./**.c" + ] + } +} \ No newline at end of file