This commit is contained in:
cfif 2025-06-02 13:26:40 +03:00
commit 06f34675a3
2 changed files with 27 additions and 0 deletions

17
ld_adr.h Normal file
View File

@ -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

10
modular.json Normal file
View File

@ -0,0 +1,10 @@
{
"cmake": {
"inc_dirs": [
"./"
],
"srcs": [
"./**.c"
]
}
}