mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
add core2 quickstart
This commit is contained in:
@@ -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
|
||||
|
||||
><img src="/image/base/System_preferences.webp" width="50%">
|
||||
|
||||
* __Download CP2104 driver__
|
||||
|
||||
<div class="files_download">
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_Windows.zip">
|
||||
<img src="/image/base/Windows_logo.webp" width="50">
|
||||
<span class="item-title">Windows10</span>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_MacOS.zip">
|
||||
<img src="/image/base/MacOS_logo.webp" width="50">
|
||||
<span class="item-title">MacOS</span>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p class="item">
|
||||
<a href="https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/drivers/CP210x_VCP_Linux.zip">
|
||||
<img src="/image/base/Linux_logo.webp" width="50">
|
||||
<span class="item-title">Linux</span>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
><img src="/image/base/CP210X_install.gif " width="70%">
|
||||
|
||||
## 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.
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_install.webp">
|
||||
|
||||
## M5Stack Boards Manager
|
||||
|
||||
>1.Open up Arduino IDE, navigate to `File`->`Peferences`->`Settings`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/Arduino_1.webp">
|
||||
|
||||
>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**
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/arduino_board_config.webp">
|
||||
|
||||
>3.Navigate to `Tools`->`Board:`->`Boards Manager...`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/board_manage.webp">
|
||||
|
||||
>4.Search `M5Stack` in the pop-up window, find it and click `Install`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/search_M5STACK.webp">
|
||||
|
||||
>5.select `Tools`->`Board:`->`M5Stack-Core2`
|
||||
|
||||
<img src="assets/img/related_documents/Arduino_IDE/board_select.webp">
|
||||
|
||||
<script>
|
||||
|
||||
anchor_search();
|
||||
scrollFunc();
|
||||
|
||||
</script>
|
||||
@@ -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,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<div class="platform-box">
|
||||
<div class="platform-item" style="overflow:visible;">
|
||||
<img src="assets\img\quickstart_en.webp" width="300px" data-no-zoom>
|
||||
</div>
|
||||
<div class="platform-item">
|
||||
<img src="assets\img\uiflow-card.webp" width="300px" data-no-zoom>
|
||||
<a href="">
|
||||
<h3>UIFlow</h3>
|
||||
<div class="platform-tag"></div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="platform-item">
|
||||
<img src="assets\img\arduino-card.webp" width="300px" data-no-zoom>
|
||||
<a href="/#/en/arduino/arduino_core2_development">
|
||||
<h3>Arduino IDE</h3>
|
||||
<div class="platform-tag"></div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -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,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
</div>
|
||||
<div class="platform-item">
|
||||
<img src="assets\img\uiflow-card.webp" width="300px" data-no-zoom>
|
||||
<a href="/#/zh_CN/quick_start/m5core2/m5stack_core2_get_started_MicroPython">
|
||||
<a href="">
|
||||
<h3>UIFlow</h3>
|
||||
<div class="platform-tag"></div>
|
||||
</a>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**[2. 安装串口驱动](#_2-安装串口驱动)**
|
||||
|
||||
**[3. 安装 ESP32 的板管理](#_3-安装-ESP32-的板管理)**
|
||||
**[3. 安装 ESP32 的板管理](#_3-安装--的板管理)**
|
||||
|
||||
**[4. 安装 M5Stack 的库](#_4-安装-M5Stack-的库)**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user