Skip to content

Commit

Permalink
This is RUI3 SDK inside RUI_4.0.6 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlo-rak committed Aug 10, 2023
1 parent b353dae commit 1c86a7d
Show file tree
Hide file tree
Showing 62 changed files with 14 additions and 17 deletions.
13 changes: 5 additions & 8 deletions cores/nRF5/component/service/mode/cli/atcmd_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,12 @@
#ifndef RUI_BOOTLOADER
int At_Factory (SERIAL_PORT port, char *cmd, stParam *param) {
if (param->argc == 0) {
#ifdef rak11720
uint8_t buff[8192];
#else
uint8_t buff[4096];
#endif
uint32_t page_size = 2048;
uint8_t buff[page_size];

udrv_flash_read(MCU_SYS_CONFIG_NVM_ADDR, udrv_flash_get_page_size(), buff);
udrv_flash_erase(MCU_FACTORY_DEFAULT_NVM_ADDR, udrv_flash_get_page_size());
udrv_flash_write(MCU_FACTORY_DEFAULT_NVM_ADDR, udrv_flash_get_page_size(), buff);
udrv_flash_read(MCU_SYS_CONFIG_NVM_ADDR, page_size, buff);
udrv_flash_erase(MCU_FACTORY_DEFAULT_NVM_ADDR, page_size);
udrv_flash_write(MCU_FACTORY_DEFAULT_NVM_ADDR, page_size, buff);
return AT_OK;
} else {
return AT_PARAM_ERROR;
Expand Down
Binary file modified system/WisCore_RAK3401_Board/libboot.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/librui_v3_api.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_adc.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_ble.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_delay.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_dfu.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_flash.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_gpio.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_pdm.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_powersave.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_pwm.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_raknfc.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_rtc.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_serial.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_spimst.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_system.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_timer.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_twimst.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libudrv_wdt.a
Binary file not shown.
Binary file modified system/WisCore_RAK3401_Board/libuhal.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libboot.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/librui_v3_api.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_adc.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_ble.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_delay.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_dfu.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_flash.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_gpio.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_pdm.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_powersave.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_pwm.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_raknfc.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_rtc.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_serial.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_spimst.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_system.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_timer.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_twimst.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libudrv_wdt.a
Binary file not shown.
Binary file modified system/WisCore_RAK4631_Board/libuhal.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libboot.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/librui_v3_api.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_adc.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_ble.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_delay.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_dfu.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_flash.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_gpio.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_pdm.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_powersave.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_pwm.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_rtc.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_serial.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_system.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_timer.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_twimst.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libudrv_wdt.a
Binary file not shown.
Binary file modified system/WisTrio_RAK5010_Board/libuhal.a
Binary file not shown.
6 changes: 3 additions & 3 deletions variants/WisCore_RAK3401_Board/version.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#define FW_REVISION "RUI_4.0.6_RAK3401"
#define MODEL_ID "rak3400"
#define CHIP_ID "nrf52840"
#define BUILD_DATE "20230721"
#define BUILD_TIME "030945"
#define REPO_INFO "d3932903:4a56cd9e:7e366cab:98e243f2:4643f944:7e86595c:580d5b87:c6af41dc:c3bbaa2e:0c6afff1:6a3d6842:b9d39ab6:d5c6e88d:a29aaa6e:da54579d:d1e75214:1365fb0c:714946eb:adc4cc1b:df43d5bd"
#define BUILD_DATE "20230809"
#define BUILD_TIME "123548"
#define REPO_INFO "9dd1b862:4a56cd9e:7e366cab:98e243f2:4643f944:7e86595c:580d5b87:c6af41dc:c3bbaa2e:0c6afff1:6a3d6842:b9d39ab6:d5c6e88d:a29aaa6e:da54579d:d1e75214:1365fb0c:714946eb:7fc5c8db:d0dfa912"
#define CLI_REVISION "1.5.11"
#define API_REVISION "3.2.7"
const char *sw_version = {FW_REVISION};
Expand Down
6 changes: 3 additions & 3 deletions variants/WisCore_RAK4631_Board/version.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#define FW_REVISION "RUI_4.0.6_RAK4631"
#define MODEL_ID "rak4630"
#define CHIP_ID "nrf52840"
#define BUILD_DATE "20230721"
#define BUILD_TIME "031129"
#define REPO_INFO "d3932903:4a56cd9e:7e366cab:98e243f2:4643f944:7e86595c:580d5b87:c6af41dc:c3bbaa2e:0c6afff1:6a3d6842:b9d39ab6:d5c6e88d:a29aaa6e:da54579d:d1e75214:1365fb0c:714946eb:adc4cc1b:df43d5bd"
#define BUILD_DATE "20230809"
#define BUILD_TIME "123805"
#define REPO_INFO "9dd1b862:4a56cd9e:7e366cab:98e243f2:4643f944:7e86595c:580d5b87:c6af41dc:c3bbaa2e:0c6afff1:6a3d6842:b9d39ab6:d5c6e88d:a29aaa6e:da54579d:d1e75214:1365fb0c:714946eb:7fc5c8db:d0dfa912"
#define CLI_REVISION "1.5.11"
#define API_REVISION "3.2.7"
const char *sw_version = {FW_REVISION};
Expand Down
6 changes: 3 additions & 3 deletions variants/WisTrio_RAK5010_Board/version.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#define FW_REVISION "RUI_4.0.6_RAK5010"
#define MODEL_ID "rak5010"
#define CHIP_ID "nrf52840"
#define BUILD_DATE "20230721"
#define BUILD_TIME "030757"
#define REPO_INFO "d3932903:4a56cd9e:7e366cab:98e243f2:4643f944:7e86595c:580d5b87:c6af41dc:c3bbaa2e:0c6afff1:6a3d6842:b9d39ab6:d5c6e88d:a29aaa6e:da54579d:d1e75214:1365fb0c:714946eb:adc4cc1b:df43d5bd"
#define BUILD_DATE "20230809"
#define BUILD_TIME "123331"
#define REPO_INFO "9dd1b862:4a56cd9e:7e366cab:98e243f2:4643f944:7e86595c:580d5b87:c6af41dc:c3bbaa2e:0c6afff1:6a3d6842:b9d39ab6:d5c6e88d:a29aaa6e:da54579d:d1e75214:1365fb0c:714946eb:7fc5c8db:d0dfa912"
#define CLI_REVISION "1.5.11"
#define API_REVISION "3.2.7"
const char *sw_version = {FW_REVISION};
Expand Down

0 comments on commit 1c86a7d

Please sign in to comment.