forked from RAKWireless/WisBlock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for Spring Launch. Includes all new modules, new example folde…
…r structure and changed QuickStarts (separated by WisBlock groups)
- Loading branch information
1 parent
0949ef5
commit 0a611f0
Showing
2,357 changed files
with
1,540,777 additions
and
7,963 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
PlatformIO/RAK11200/Installation of RAK11200 Board Support in PlatformIO.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
## Installation of RAK11200 Board Support in PlatformIO(Just for test now) | ||
|
||
### Install PlatformIO | ||
|
||
First of all, install VS code which is a great and open source tool, and you can download it here: | ||
|
||
https://code.visualstudio.com/ | ||
|
||
After installing VS code, you can search PlatformIO and install it in the Extensions item. | ||
|
||
### Install Espressif 32 Arduino framework | ||
|
||
After installing PlatformIO, you can see the PlatformIO icon and open it as follow | ||
|
||
Open "Platforms" in PlatformIO and search "Espressif" as follow | ||
|
||
You can see there are several items, just click "Espressif 32" item and "Install" it as follow | ||
|
||
### Add WisBlock Core RAK11200 to the platform | ||
|
||
Copy the file **`wiscore_rak11200.json`** to the boards folder of the espressif32 platform folder. | ||
|
||
The path maybe like: | ||
|
||
- Windows: %USER%.platformio\platforms\espressif32\boards | ||
### Add WisBlock Core RAK11200 to the framework | ||
|
||
Refer to the modification method of Arduino IDE | ||
|
||
The path of framework maybe like: | ||
|
||
- Windows: %USER%.platformio\packages\framework-arduinoespressif32 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"build": { | ||
"arduino":{ | ||
"ldscript": "esp32_out.ld" | ||
}, | ||
"core": "esp32", | ||
"extra_flags": "-DARDUINO_ESP32_DEV", | ||
"f_cpu": "240000000L", | ||
"f_flash": "40000000L", | ||
"flash_mode": "dio", | ||
"mcu": "esp32", | ||
"variant": "WisCore_RAK11200_Board" | ||
}, | ||
"connectivity": [ | ||
"wifi", | ||
"bluetooth", | ||
"ethernet", | ||
"can" | ||
], | ||
"frameworks": [ | ||
"arduino", | ||
"espidf" | ||
], | ||
"name": "WisCore RAK11200 Board", | ||
"upload": { | ||
"flash_size": "4MB", | ||
"maximum_ram_size": 327680, | ||
"maximum_size": 4194304, | ||
"protocols": [ | ||
"esptool", | ||
"espota", | ||
"ftdi" | ||
], | ||
"require_upload_port": true, | ||
"speed": 460800 | ||
}, | ||
"url": "https://www.rakwireless.com", | ||
"vendor": "RAKwireless" | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/** | ||
* @file AT_Command_Test.ino | ||
* @author rakwireless.com | ||
* @brief ESP32 AT command example | ||
* Please see the detailed commands from | ||
* https://docs.espressif.com/projects/esp-at/en/latest/AT_Command_Set/index.html | ||
* @version 0.1 | ||
* @date 2020-08-21 | ||
* | ||
* @copyright Copyright (c) 2020 | ||
* | ||
*/ | ||
|
||
void setup() | ||
{ | ||
time_t timeout = millis(); | ||
// Open serial communications and wait for port to open: | ||
Serial.begin(115200); | ||
while (!Serial) | ||
{ | ||
if ((millis() - timeout) < 5000) | ||
{ | ||
delay(100); | ||
} | ||
else | ||
{ | ||
break; | ||
} | ||
} | ||
|
||
Serial.println("================================"); | ||
Serial.println("RAK2305 AT CMD TEST!"); | ||
Serial.println("================================"); | ||
|
||
//esp32 init | ||
Serial1.begin(115200); | ||
} | ||
|
||
void loop() | ||
{ | ||
uint8_t resp; | ||
uint8_t snd; | ||
|
||
// wait for response from esp32 | ||
while (Serial1.available() > 0) | ||
{ | ||
resp = (uint8_t)(Serial1.read()); | ||
Serial.write(resp); | ||
} | ||
|
||
// wait for AT cmd which user send with serial tool | ||
while (Serial.available() > 0) | ||
{ | ||
snd = (uint8_t)(Serial.read()); | ||
Serial1.write(snd); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
|
||
# Burn firmware to RAK2305 | ||
|
||
RAK2305 has two firmwares. | ||
|
||
[RAK2305-Basic-WIFI-BLE-AT.bin](./RAK2305-Basic-WIFI-BLE-AT.bin) with AT commands of Basic, Wifi and BLE. It is a factory firmware. | ||
|
||
[RAK2305-Basic-WIFI-HTTP-MQTT-AT.bin](./RAK2305-Basic-WIFI-HTTP-MQTT-AT.bin) with AT commands of Basic, WiFi, HTTP and MQTT. It is not including BLE Commands. If you want to use MQTT and HTTP commands, you should download this firmware to RAK2305 firstly. | ||
|
||
|
||
|
||
The download steps are as below. | ||
|
||
1. Connect the USB-convert-Serial tool with RAK2305. | ||
|
||
 | ||
|
||
|
||
|
||
2. Download [ESP32 Flash Download Tool]([Tools | Espressif Systems](https://www.espressif.com/en/support/download/other-tools)) and install it. | ||
|
||
 | ||
|
||
3. Open download tool. | ||
|
||
 | ||
|
||
|
||
|
||
 | ||
|
||
4. Select firmware and configure the tool. | ||
|
||
 | ||
|
||
5. Click 'start' and wait until the download finished. | ||
|
||
 |
File renamed without changes.
Oops, something went wrong.