From b3a4e01f8786972449429be9bd2ef9b9f032a0e2 Mon Sep 17 00:00:00 2001 From: vany5921 <908744431@qq.com> Date: Mon, 31 Aug 2020 17:39:48 +0800 Subject: [PATCH] add core2 quickstart --- docs/en/arduino/arduino_core2_development.md | 73 +++++++++++++++++++ docs/en/arduino/arduino_home_page.md | 15 +++- .../core2/m5stack_core2_quick_start.md | 19 +++++ docs/en/unit/ios485.md | 0 docs/zh_CN/arduino/arduino_home_page.md | 17 +---- .../core2/m5stack_core2_quick_start.md | 2 +- ...5stack_core_get_started_Arduino_Windows.md | 2 +- 7 files changed, 111 insertions(+), 17 deletions(-) create mode 100644 docs/en/arduino/arduino_core2_development.md create mode 100644 docs/en/quick_start/core2/m5stack_core2_quick_start.md create mode 100644 docs/en/unit/ios485.md diff --git a/docs/en/arduino/arduino_core2_development.md b/docs/en/arduino/arduino_core2_development.md new file mode 100644 index 00000000..0a400a96 --- /dev/null +++ b/docs/en/arduino/arduino_core2_development.md @@ -0,0 +1,73 @@ +# Arduino IDE Development{docsify-ignore-all} + +## USB Driver + +>Before the program is burned, users please download the corresponding CP210X driver package according to the operating system you are using, click the button below. After decompressing the compressed package, select the installation package corresponding to the operating system value for installation. + +?> For Mac OS, make sure System preferences -> Security & Privacy -> General before installing, and allow the apps to be installed from the App Store and identified developers + +> + +* __Download CP2104 driver__ + +
+

+ + + Windows10 + +

+ +

+ + + MacOS + +

+ +

+ + + Linux + +

+
+ +> + +## Arduino-IDE + +>[Click here to visit Arduino's official website](https://www.arduino.cc/en/Main/Software),Select the installation package for your own operating system to download. + + + +## M5Stack Boards Manager + +>1.Open up Arduino IDE, navigate to `File`->`Peferences`->`Settings` + + + +>2.Copy the following M5Stack Boards Manager url to `Additional Boards Manager URLs:` + +**https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json** + + + +>3.Navigate to `Tools`->`Board:`->`Boards Manager...` + + + +>4.Search `M5Stack` in the pop-up window, find it and click `Install` + + + +>5.select `Tools`->`Board:`->`M5Stack-Core2` + + + + \ No newline at end of file diff --git a/docs/en/arduino/arduino_home_page.md b/docs/en/arduino/arduino_home_page.md index 31928d60..22d0d88a 100644 --- a/docs/en/arduino/arduino_home_page.md +++ b/docs/en/arduino/arduino_home_page.md @@ -35,7 +35,8 @@ const quickstart = { 'M5StickC':'#/en/arduino/arduino_development', 'M5StickC PLUS':'#/en/arduino/arduino_development', 'M5Stick':'#/en/arduino/arduino_development', - 'ATOM Lite / Matrix':'#/en/arduino/arduino_development' + 'ATOM Lite / Matrix':'#/en/arduino/arduino_development', + 'M5Core2':'#/en/arduino/arduino_core2_development', } }; @@ -69,6 +70,15 @@ const m5stickc_api = { } }; +const m5core2_api = { + 'title':"M5Core2 API", + 'item':{ + 'AXP192':'#/en/api/axp192_core2', + 'TFT-SCREEN':'#/en/api/lcd', + 'TOUCH':'#/en/api/touch', + } +}; + var arduino_home_page = new Vue({ el:'#arduino_home_page', @@ -77,7 +87,8 @@ var arduino_home_page = new Vue({ list: { quickstart: quickstart, m5core_api: m5core_api, - m5stickc_api: m5stickc_api + m5stickc_api: m5stickc_api, + m5core2_api: m5core2_api, } }; } diff --git a/docs/en/quick_start/core2/m5stack_core2_quick_start.md b/docs/en/quick_start/core2/m5stack_core2_quick_start.md new file mode 100644 index 00000000..5a66f075 --- /dev/null +++ b/docs/en/quick_start/core2/m5stack_core2_quick_start.md @@ -0,0 +1,19 @@ +
+
+ +
+
+ + +

UIFlow

+
+
+
+
+ + +

Arduino IDE

+
+
+
+
diff --git a/docs/en/unit/ios485.md b/docs/en/unit/ios485.md new file mode 100644 index 00000000..e69de29b diff --git a/docs/zh_CN/arduino/arduino_home_page.md b/docs/zh_CN/arduino/arduino_home_page.md index f06908ad..508ee419 100644 --- a/docs/zh_CN/arduino/arduino_home_page.md +++ b/docs/zh_CN/arduino/arduino_home_page.md @@ -60,18 +60,9 @@ const m5core_api = { const m5core2_api = { 'title':"M5Core2 API", 'item':{ - 'System':'#/zh_CN/api/system', - 'Speaker':'#/zh_CN/api/speaker', - 'LCD':'#/zh_CN/api/lcd', - 'Button':'#/zh_CN/api/button', - 'IMU Sensor(MPU9250)':'#/zh_CN/api/mpu9250', - 'Button':'#/zh_CN/api/button', - 'TF Card':'#/zh_CN/api/tf', - 'Power':'#/zh_CN/api/power', - 'I/O':'#/zh_CN/api/gpio', - 'I2C':'#/zh_CN/api/commutil', - 'WIFI':'#/zh_CN/api/wifi', - 'Timer':'#/zh_CN/api/ticker', + 'AXP192':'#/zh_CN/api/axp192_core2', + 'TFT-SCREEN':'#/zh_CN/api/lcd', + 'TOUCH':'#/zh_CN/api/touch', } }; @@ -96,7 +87,7 @@ var arduino_home_page = new Vue({ quickstart: quickstart, m5core_api: m5core_api, m5stickc_api: m5stickc_api, - m5core2_api: m5core2_api + m5core2_api: m5core2_api, } }; } diff --git a/docs/zh_CN/quick_start/core2/m5stack_core2_quick_start.md b/docs/zh_CN/quick_start/core2/m5stack_core2_quick_start.md index f4114cd2..4eb40eff 100644 --- a/docs/zh_CN/quick_start/core2/m5stack_core2_quick_start.md +++ b/docs/zh_CN/quick_start/core2/m5stack_core2_quick_start.md @@ -4,7 +4,7 @@
- +

UIFlow

diff --git a/docs/zh_CN/quick_start/m5core/m5stack_core_get_started_Arduino_Windows.md b/docs/zh_CN/quick_start/m5core/m5stack_core_get_started_Arduino_Windows.md index 69532d88..9a85176b 100644 --- a/docs/zh_CN/quick_start/m5core/m5stack_core_get_started_Arduino_Windows.md +++ b/docs/zh_CN/quick_start/m5core/m5stack_core_get_started_Arduino_Windows.md @@ -8,7 +8,7 @@ **[2. 安装串口驱动](#_2-安装串口驱动)** -**[3. 安装 ESP32 的板管理](#_3-安装-ESP32-的板管理)** +**[3. 安装 ESP32 的板管理](#_3-安装--的板管理)** **[4. 安装 M5Stack 的库](#_4-安装-M5Stack-的库)**