Skip to content

Commit 482a516

Browse files
committed
Pre Release Version 3.1.4
Version 3.1.4-QC-V04 – 2022/09/16 - Update AmebaEink.zip - Update FatFs to support checking status
1 parent f1ea882 commit 482a516

File tree

4 files changed

+38
-2
lines changed

4 files changed

+38
-2
lines changed

Arduino_package/hardware/libraries/FatfsSDIO/src/FatFs_SD.cpp

+5-2
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,11 @@ SdFatFile FatFsSD::open(char *absolute_path) {
255255
}
256256

257257
int FatFsSD::status() {
258-
//return sdio_sd_status() == 4;
259-
return 1;
258+
if (SD_Status() == SD_OK) {
259+
return 1;
260+
} else {
261+
return 0;
262+
}
260263
}
261264

262265
int FatFsSD::getLastModTime(char *absolute_path, uint16_t *year, uint16_t *month, uint16_t *date, uint16_t *hour, uint16_t *minute, uint16_t *second) {

Arduino_package/package_realtek.com_amebad_early_index.json

+33
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,39 @@
1313
{
1414
"name": "Realtek Ameba Boards (32-bits ARM Cortex-M33 @200MHz)",
1515
"architecture": "AmebaD",
16+
"version": "3.1.4-build20220916",
17+
"category": "Contributed",
18+
"help": {
19+
"online": "https://www.amebaiot.com/"
20+
},
21+
"url": "https://github.com/ambiot/ambd_arduino/raw/dev/Arduino_package/release/ameba_d-3.1.4-build20220916.tar.gz",
22+
"archiveFileName": "ameba_d-3.1.4-build20220916.tar.gz",
23+
"checksum": "SHA-256:05214a7218cc86366eaa80f1f520dc8ba2943fc193135d30802f07f116b07093",
24+
"size": "16127031",
25+
"boards": [
26+
{"name": "AMB21 (RTL8722DM)"},
27+
{"name": "AMB22 (RTL8722CSM)"},
28+
{"name": "AMB23 (RTL8722DM_MINI)"},
29+
{"name": "BW16 (RTL8720DN)"},
30+
{"name": "BW16-TypeC (RTL8720DN)"},
31+
{"name": "AW-CU488 Thing Plus (RTL8721DM)"}
32+
],
33+
"toolsDependencies": [
34+
{
35+
"packager": "realtek",
36+
"name": "ameba_d_asdk_toolchain",
37+
"version": "1.0.1"
38+
},
39+
{
40+
"packager": "realtek",
41+
"name": "ameba_d_tools",
42+
"version": "1.1.0"
43+
}
44+
]
45+
},
46+
{
47+
"name": "Realtek Ameba Boards (32-bits ARM Cortex-M33 @200MHz)",
48+
"architecture": "AmebaD",
1649
"version": "3.1.4-build20220905",
1750
"category": "Contributed",
1851
"help": {
Binary file not shown.

Arduino_zip_libraries/AmebaEink.zip

-2.23 KB
Binary file not shown.

0 commit comments

Comments
 (0)