jacscript->devicescript rename
This commit is contained in:
Родитель
98b20ba796
Коммит
8fd570ed2b
2
jacdac-c
2
jacdac-c
|
@ -1 +1 @@
|
||||||
Subproject commit c78532d1097ca193a1c767ee94a2d9990b520ac9
|
Subproject commit db17984241cb04106dbb5fef8cdd2cd6b8a63541
|
|
@ -1 +1 @@
|
||||||
Subproject commit 160c0f5dab861e9a44c4f1e3bd8c364106516237
|
Subproject commit 05f7b6913a0f6cfcd7a15252daff773ead2834da
|
|
@ -2,14 +2,14 @@
|
||||||
#include "tinyhw.h"
|
#include "tinyhw.h"
|
||||||
|
|
||||||
#include "jd_client.h"
|
#include "jd_client.h"
|
||||||
#include "jacscript/jacscript.h"
|
#include "devicescript/devicescript.h"
|
||||||
|
|
||||||
FIRMWARE_IDENTIFIER(0x30085c3f, "JM-Lora E5 88 v4.0");
|
FIRMWARE_IDENTIFIER(0x30085c3f, "JM-Lora E5 88 v4.0");
|
||||||
|
|
||||||
#define PROG_SIZE JD_FLASH_SETTINGS_SIZE
|
#define PROG_SIZE JD_FLASH_SETTINGS_SIZE
|
||||||
#define PROG_START (0x08000000 + (JD_FLASH_SIZE - BL_SIZE - PROG_SIZE))
|
#define PROG_START (0x08000000 + (JD_FLASH_SIZE - BL_SIZE - PROG_SIZE))
|
||||||
|
|
||||||
static const jacscriptmgr_cfg_t jacs_cfg = {
|
static const devicescriptmgr_cfg_t devs_cfg = {
|
||||||
.program_base = (void *)PROG_START,
|
.program_base = (void *)PROG_START,
|
||||||
.max_program_size = PROG_SIZE,
|
.max_program_size = PROG_SIZE,
|
||||||
};
|
};
|
||||||
|
@ -18,8 +18,8 @@ void app_init_services() {
|
||||||
extcloud_init();
|
extcloud_init();
|
||||||
|
|
||||||
jd_role_manager_init();
|
jd_role_manager_init();
|
||||||
jacscriptmgr_init(&jacs_cfg);
|
devicescriptmgr_init(&devs_cfg);
|
||||||
|
|
||||||
jacscloud_init(&extcloud);
|
devscloud_init(&extcloud);
|
||||||
tsagg_init(&extcloud);
|
tsagg_init(&extcloud);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
#include "tinyhw.h"
|
#include "tinyhw.h"
|
||||||
|
|
||||||
#include "jd_client.h"
|
#include "jd_client.h"
|
||||||
#include "jacscript/jacscript.h"
|
#include "devicescript/devicescript.h"
|
||||||
|
|
||||||
FIRMWARE_IDENTIFIER(0x3d1fe52f, "JM-Jacscript Star-Brain v3.3");
|
FIRMWARE_IDENTIFIER(0x3d1fe52f, "JM-DeviceScript Star-Brain v3.3");
|
||||||
|
|
||||||
#define PROG_SIZE JD_FLASH_SETTINGS_SIZE
|
#define PROG_SIZE JD_FLASH_SETTINGS_SIZE
|
||||||
#define PROG_START (0x08000000 + (JD_FLASH_SIZE - BL_SIZE - PROG_SIZE))
|
#define PROG_START (0x08000000 + (JD_FLASH_SIZE - BL_SIZE - PROG_SIZE))
|
||||||
|
|
||||||
static const jacscriptmgr_cfg_t jacs_cfg = {
|
static const devicescriptmgr_cfg_t devs_cfg = {
|
||||||
.program_base = (void *)PROG_START,
|
.program_base = (void *)PROG_START,
|
||||||
.max_program_size = PROG_SIZE,
|
.max_program_size = PROG_SIZE,
|
||||||
};
|
};
|
||||||
|
@ -18,8 +18,8 @@ void app_init_services() {
|
||||||
extcloud_init();
|
extcloud_init();
|
||||||
|
|
||||||
jd_role_manager_init();
|
jd_role_manager_init();
|
||||||
jacscriptmgr_init(&jacs_cfg);
|
devicescriptmgr_init(&devs_cfg);
|
||||||
|
|
||||||
jacscloud_init(&extcloud);
|
devscloud_init(&extcloud);
|
||||||
tsagg_init(&extcloud);
|
tsagg_init(&extcloud);
|
||||||
}
|
}
|
Загрузка…
Ссылка в новой задаче