From 973c5bcdb91207ee111de0d5c0b7432f75ff1a51 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 22 Nov 2021 16:13:21 +0200 Subject: [PATCH 1/8] Convert RST to MD --- examples/arduino-blink/README.md | 27 +++++++++++++ examples/arduino-blink/README.rst | 38 ------------------- .../arduino-briki-internal-libs/README.md | 27 +++++++++++++ .../arduino-briki-internal-libs/README.rst | 38 ------------------- examples/arduino-wifiscan/README.md | 27 +++++++++++++ examples/arduino-wifiscan/README.rst | 38 ------------------- examples/espidf-arduino-blink/README.md | 27 +++++++++++++ examples/espidf-arduino-blink/README.rst | 38 ------------------- examples/espidf-arduino-wifiscan/README.md | 27 +++++++++++++ examples/espidf-arduino-wifiscan/README.rst | 38 ------------------- examples/espidf-aws-iot/README.md | 22 +++++++++++ examples/espidf-aws-iot/README.rst | 32 ---------------- examples/espidf-ble-eddystone/README.md | 27 +++++++++++++ examples/espidf-ble-eddystone/README.rst | 38 ------------------- examples/espidf-blink/README.md | 27 +++++++++++++ examples/espidf-blink/README.rst | 38 ------------------- examples/espidf-coap-server/README.md | 27 +++++++++++++ examples/espidf-coap-server/README.rst | 38 ------------------- examples/espidf-exceptions/README.md | 27 +++++++++++++ examples/espidf-exceptions/README.rst | 38 ------------------- examples/espidf-hello-world/README.md | 27 +++++++++++++ examples/espidf-hello-world/README.rst | 38 ------------------- examples/espidf-http-request/README.md | 27 +++++++++++++ examples/espidf-http-request/README.rst | 38 ------------------- examples/espidf-peripherals-uart/README.md | 27 +++++++++++++ examples/espidf-peripherals-uart/README.rst | 38 ------------------- examples/espidf-peripherals-usb/README.md | 21 ++++++++++ examples/espidf-peripherals-usb/README.rst | 32 ---------------- examples/espidf-storage-sdcard/README.md | 27 +++++++++++++ examples/espidf-storage-sdcard/README.rst | 38 ------------------- examples/espidf-storage-spiffs/README.md | 24 ++++++++++++ examples/espidf-storage-spiffs/README.rst | 35 ----------------- examples/espidf-ulp-adc/README.md | 27 +++++++++++++ examples/espidf-ulp-adc/README.rst | 38 ------------------- examples/espidf-ulp-pulse/README.md | 27 +++++++++++++ examples/espidf-ulp-pulse/README.rst | 38 ------------------- examples/pumbaa-blink/README.md | 18 +++++++++ examples/pumbaa-blink/README.rst | 29 -------------- examples/simba-blink/README.md | 18 +++++++++ examples/simba-blink/README.rst | 29 -------------- 40 files changed, 508 insertions(+), 727 deletions(-) create mode 100644 examples/arduino-blink/README.md delete mode 100644 examples/arduino-blink/README.rst create mode 100644 examples/arduino-briki-internal-libs/README.md delete mode 100644 examples/arduino-briki-internal-libs/README.rst create mode 100644 examples/arduino-wifiscan/README.md delete mode 100644 examples/arduino-wifiscan/README.rst create mode 100644 examples/espidf-arduino-blink/README.md delete mode 100644 examples/espidf-arduino-blink/README.rst create mode 100644 examples/espidf-arduino-wifiscan/README.md delete mode 100644 examples/espidf-arduino-wifiscan/README.rst create mode 100644 examples/espidf-aws-iot/README.md delete mode 100644 examples/espidf-aws-iot/README.rst create mode 100644 examples/espidf-ble-eddystone/README.md delete mode 100644 examples/espidf-ble-eddystone/README.rst create mode 100644 examples/espidf-blink/README.md delete mode 100644 examples/espidf-blink/README.rst create mode 100644 examples/espidf-coap-server/README.md delete mode 100644 examples/espidf-coap-server/README.rst create mode 100644 examples/espidf-exceptions/README.md delete mode 100644 examples/espidf-exceptions/README.rst create mode 100644 examples/espidf-hello-world/README.md delete mode 100644 examples/espidf-hello-world/README.rst create mode 100644 examples/espidf-http-request/README.md delete mode 100644 examples/espidf-http-request/README.rst create mode 100644 examples/espidf-peripherals-uart/README.md delete mode 100644 examples/espidf-peripherals-uart/README.rst create mode 100644 examples/espidf-peripherals-usb/README.md delete mode 100644 examples/espidf-peripherals-usb/README.rst create mode 100644 examples/espidf-storage-sdcard/README.md delete mode 100644 examples/espidf-storage-sdcard/README.rst create mode 100644 examples/espidf-storage-spiffs/README.md delete mode 100644 examples/espidf-storage-spiffs/README.rst create mode 100644 examples/espidf-ulp-adc/README.md delete mode 100644 examples/espidf-ulp-adc/README.rst create mode 100644 examples/espidf-ulp-pulse/README.md delete mode 100644 examples/espidf-ulp-pulse/README.rst create mode 100755 examples/pumbaa-blink/README.md delete mode 100755 examples/pumbaa-blink/README.rst create mode 100755 examples/simba-blink/README.md delete mode 100755 examples/simba-blink/README.rst diff --git a/examples/arduino-blink/README.md b/examples/arduino-blink/README.md new file mode 100644 index 000000000..1573f15cd --- /dev/null +++ b/examples/arduino-blink/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/arduino-blink + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/arduino-blink/README.rst b/examples/arduino-blink/README.rst deleted file mode 100644 index e6d878434..000000000 --- a/examples/arduino-blink/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/arduino-blink - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/arduino-briki-internal-libs/README.md b/examples/arduino-briki-internal-libs/README.md new file mode 100644 index 000000000..97c25a7f3 --- /dev/null +++ b/examples/arduino-briki-internal-libs/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/arduino-briki-internal-libs + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e briki_abc_esp32 + +# Upload firmware for the specific environment +$ pio run -e briki_abc_esp32 --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/arduino-briki-internal-libs/README.rst b/examples/arduino-briki-internal-libs/README.rst deleted file mode 100644 index ce3a35e8f..000000000 --- a/examples/arduino-briki-internal-libs/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/arduino-briki-internal-libs - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e briki_abc_esp32 - - # Upload firmware for the specific environment - > platformio run -e briki_abc_esp32 --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/arduino-wifiscan/README.md b/examples/arduino-wifiscan/README.md new file mode 100644 index 000000000..785231de3 --- /dev/null +++ b/examples/arduino-wifiscan/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/arduino-wifiscan + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e quantum + +# Upload firmware for the specific environment +$ pio run -e quantum --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/arduino-wifiscan/README.rst b/examples/arduino-wifiscan/README.rst deleted file mode 100644 index 48bf203e8..000000000 --- a/examples/arduino-wifiscan/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/arduino-wifiscan - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e quantum - - # Upload firmware for the specific environment - > platformio run -e quantum --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-arduino-blink/README.md b/examples/espidf-arduino-blink/README.md new file mode 100644 index 000000000..fe5ffeefb --- /dev/null +++ b/examples/espidf-arduino-blink/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-arduino-blink + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/espidf-arduino-blink/README.rst b/examples/espidf-arduino-blink/README.rst deleted file mode 100644 index 687b33c94..000000000 --- a/examples/espidf-arduino-blink/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-arduino-blink - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-arduino-wifiscan/README.md b/examples/espidf-arduino-wifiscan/README.md new file mode 100644 index 000000000..f858f3a45 --- /dev/null +++ b/examples/espidf-arduino-wifiscan/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-arduino-wifiscan + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/espidf-arduino-wifiscan/README.rst b/examples/espidf-arduino-wifiscan/README.rst deleted file mode 100644 index cf87a343e..000000000 --- a/examples/espidf-arduino-wifiscan/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-arduino-wifiscan - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-aws-iot/README.md b/examples/espidf-aws-iot/README.md new file mode 100644 index 000000000..40a8ccfa2 --- /dev/null +++ b/examples/espidf-aws-iot/README.md @@ -0,0 +1,22 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell + +# Change directory to example +$ cd platform-espressif32/examples/espidf-aws-iot + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/espidf-aws-iot/README.rst b/examples/espidf-aws-iot/README.rst deleted file mode 100644 index d8417bdc0..000000000 --- a/examples/espidf-aws-iot/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-aws-iot - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-ble-eddystone/README.md b/examples/espidf-ble-eddystone/README.md new file mode 100644 index 000000000..85cd58330 --- /dev/null +++ b/examples/espidf-ble-eddystone/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-ble-eddystone + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/espidf-ble-eddystone/README.rst b/examples/espidf-ble-eddystone/README.rst deleted file mode 100644 index 1335091bf..000000000 --- a/examples/espidf-ble-eddystone/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-ble-eddystone - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-blink/README.md b/examples/espidf-blink/README.md new file mode 100644 index 000000000..7d32f6177 --- /dev/null +++ b/examples/espidf-blink/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-blink + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/espidf-blink/README.rst b/examples/espidf-blink/README.rst deleted file mode 100644 index c9514f05f..000000000 --- a/examples/espidf-blink/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-blink - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-coap-server/README.md b/examples/espidf-coap-server/README.md new file mode 100644 index 000000000..63d4ec630 --- /dev/null +++ b/examples/espidf-coap-server/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-coap-server + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/espidf-coap-server/README.rst b/examples/espidf-coap-server/README.rst deleted file mode 100644 index 95412d89f..000000000 --- a/examples/espidf-coap-server/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-coap-server - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-exceptions/README.md b/examples/espidf-exceptions/README.md new file mode 100644 index 000000000..fdec36f90 --- /dev/null +++ b/examples/espidf-exceptions/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-exceptions + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/espidf-exceptions/README.rst b/examples/espidf-exceptions/README.rst deleted file mode 100644 index c8e175968..000000000 --- a/examples/espidf-exceptions/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-exceptions - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-hello-world/README.md b/examples/espidf-hello-world/README.md new file mode 100644 index 000000000..4bad31e34 --- /dev/null +++ b/examples/espidf-hello-world/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-hello-world + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/espidf-hello-world/README.rst b/examples/espidf-hello-world/README.rst deleted file mode 100644 index 0dd0bcc5f..000000000 --- a/examples/espidf-hello-world/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-hello-world - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-http-request/README.md b/examples/espidf-http-request/README.md new file mode 100644 index 000000000..50c666595 --- /dev/null +++ b/examples/espidf-http-request/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-http-request + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e quantum + +# Upload firmware for the specific environment +$ pio run -e quantum --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/espidf-http-request/README.rst b/examples/espidf-http-request/README.rst deleted file mode 100644 index 0942be48c..000000000 --- a/examples/espidf-http-request/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-http-request - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e quantum - - # Upload firmware for the specific environment - > platformio run -e quantum --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-peripherals-uart/README.md b/examples/espidf-peripherals-uart/README.md new file mode 100644 index 000000000..6df9193ae --- /dev/null +++ b/examples/espidf-peripherals-uart/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-peripherals-uart + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` \ No newline at end of file diff --git a/examples/espidf-peripherals-uart/README.rst b/examples/espidf-peripherals-uart/README.rst deleted file mode 100644 index b3a999fb1..000000000 --- a/examples/espidf-peripherals-uart/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-peripherals-uart - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-peripherals-usb/README.md b/examples/espidf-peripherals-usb/README.md new file mode 100644 index 000000000..3a9f308d3 --- /dev/null +++ b/examples/espidf-peripherals-usb/README.md @@ -0,0 +1,21 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-peripherals-usb + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/espidf-peripherals-usb/README.rst b/examples/espidf-peripherals-usb/README.rst deleted file mode 100644 index b6d181bec..000000000 --- a/examples/espidf-peripherals-usb/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-peripherals-usb - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-storage-sdcard/README.md b/examples/espidf-storage-sdcard/README.md new file mode 100644 index 000000000..e2f47657d --- /dev/null +++ b/examples/espidf-storage-sdcard/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-storage-sdcard + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/espidf-storage-sdcard/README.rst b/examples/espidf-storage-sdcard/README.rst deleted file mode 100644 index 2f296fc95..000000000 --- a/examples/espidf-storage-sdcard/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-storage-sdcard - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-storage-spiffs/README.md b/examples/espidf-storage-spiffs/README.md new file mode 100644 index 000000000..81c1f0eae --- /dev/null +++ b/examples/espidf-storage-spiffs/README.md @@ -0,0 +1,24 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-storage-spiffs + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Upload SPIFFS image +$ pio run --target uploadfs + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/espidf-storage-spiffs/README.rst b/examples/espidf-storage-spiffs/README.rst deleted file mode 100644 index 25efc94a5..000000000 --- a/examples/espidf-storage-spiffs/README.rst +++ /dev/null @@ -1,35 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-storage-spiffs - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Upload SPIFFS image - > platformio run --target uploadfs - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-ulp-adc/README.md b/examples/espidf-ulp-adc/README.md new file mode 100644 index 000000000..465d156ed --- /dev/null +++ b/examples/espidf-ulp-adc/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-ulp-adc + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/espidf-ulp-adc/README.rst b/examples/espidf-ulp-adc/README.rst deleted file mode 100644 index 0a284cbf1..000000000 --- a/examples/espidf-ulp-adc/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-ulp-adc - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/espidf-ulp-pulse/README.md b/examples/espidf-ulp-pulse/README.md new file mode 100644 index 000000000..d6ca4f9bf --- /dev/null +++ b/examples/espidf-ulp-pulse/README.md @@ -0,0 +1,27 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/espidf-ulp-pulse + +# Build project +$ pio run + +# Upload firmware +$ pio run --target upload + +# Build specific environment +$ pio run -e esp32dev + +# Upload firmware for the specific environment +$ pio run -e esp32dev --target upload + +# Clean build files +$ pio run --target clean +``` diff --git a/examples/espidf-ulp-pulse/README.rst b/examples/espidf-ulp-pulse/README.rst deleted file mode 100644 index ec7495bda..000000000 --- a/examples/espidf-ulp-pulse/README.rst +++ /dev/null @@ -1,38 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/espidf-ulp-pulse - - # Build project - > platformio run - - # Upload firmware - > platformio run --target upload - - # Build specific environment - > platformio run -e esp32dev - - # Upload firmware for the specific environment - > platformio run -e esp32dev --target upload - - # Clean build files - > platformio run --target clean diff --git a/examples/pumbaa-blink/README.md b/examples/pumbaa-blink/README.md new file mode 100755 index 000000000..1de389c37 --- /dev/null +++ b/examples/pumbaa-blink/README.md @@ -0,0 +1,18 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/pumbaa-blink + +# Process example project +$ pio run + +# Upload firmware +$ pio run --target upload +``` diff --git a/examples/pumbaa-blink/README.rst b/examples/pumbaa-blink/README.rst deleted file mode 100755 index 68035fd32..000000000 --- a/examples/pumbaa-blink/README.rst +++ /dev/null @@ -1,29 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/pumbaa-blink - - # Process example project - > platformio run - - # Upload firmware - > platformio run --target upload diff --git a/examples/simba-blink/README.md b/examples/simba-blink/README.md new file mode 100755 index 000000000..15437339b --- /dev/null +++ b/examples/simba-blink/README.md @@ -0,0 +1,18 @@ +How to build PlatformIO based project +===================================== + +1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html) +2. Download [development platform with examples](https://github.com/platformio/platform-espressif32/archive/develop.zip) +3. Extract ZIP archive +4. Run these commands: + +```shell +# Change directory to example +$ cd platform-espressif32/examples/simba-blink + +# Process example project +$ pio run + +# Upload firmware +$ pio run --target upload +``` \ No newline at end of file diff --git a/examples/simba-blink/README.rst b/examples/simba-blink/README.rst deleted file mode 100755 index 62ded60df..000000000 --- a/examples/simba-blink/README.rst +++ /dev/null @@ -1,29 +0,0 @@ -.. Copyright 2014-present PlatformIO - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -How to build PlatformIO based project -===================================== - -1. `Install PlatformIO Core `_ -2. Download `development platform with examples `_ -3. Extract ZIP archive -4. Run these commands: - -.. code-block:: bash - - # Change directory to example - > cd platform-espressif32/examples/simba-blink - - # Process example project - > platformio run - - # Upload firmware - > platformio run --target upload From 495c689133146ef8d4520d8ff3b10a720508a0c8 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 2 Dec 2021 22:08:28 +0200 Subject: [PATCH 2/8] Use official $PROJECT_DATA_DIR --- builder/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/main.py b/builder/main.py index e7b8c0027..1f01bf870 100644 --- a/builder/main.py +++ b/builder/main.py @@ -233,7 +233,7 @@ def __fetch_spiffs_size(target, source, env): target_elf = env.BuildProgram() if set(["buildfs", "uploadfs", "uploadfsota"]) & set(COMMAND_LINE_TARGETS): target_firm = env.DataToBin( - join("$BUILD_DIR", "${ESP32_SPIFFS_IMAGE_NAME}"), "$PROJECTDATA_DIR") + join("$BUILD_DIR", "${ESP32_SPIFFS_IMAGE_NAME}"), "$PROJECT_DATA_DIR") env.NoCache(target_firm) AlwaysBuild(target_firm) else: From bbacdbe071437813f079673edac0d2f8f2aadb6b Mon Sep 17 00:00:00 2001 From: Niwantha Nadeesh Meepage Date: Mon, 3 Jan 2022 17:20:08 +0530 Subject: [PATCH 3/8] Create lionbit config file (#692) * Create lionbit config file * Changed upload speed. --- boards/lionbit.json | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 boards/lionbit.json diff --git a/boards/lionbit.json b/boards/lionbit.json new file mode 100644 index 000000000..41e4cf65e --- /dev/null +++ b/boards/lionbit.json @@ -0,0 +1,41 @@ +{ + "build": { + "arduino":{ + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": "-DARDUINO_ESP32_DEV", + "f_cpu": "240000000L", + "f_flash": "40000000L", + "flash_mode": "dio", + "flags" : "-DCORE_DEBUG_LEVEL=5", + "mcu": "esp32", + "variant": "esp32" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "LionBit", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 115200 + }, + "monitor": { + "speed" : 115200 + }, + "url": "http://lionbit.lk/", + "vendor": "Lion::Bit" +} From fcde8613031837b917fc881d22ba38853a3ad544 Mon Sep 17 00:00:00 2001 From: valeros Date: Thu, 13 Jan 2022 17:50:25 +0200 Subject: [PATCH 4/8] Update ESP-IDF to the latest v4.3.2 v4.3.2 also requires updated toolchains --- platform.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform.json b/platform.json index c09cb977c..1f1d9be79 100644 --- a/platform.json +++ b/platform.json @@ -81,19 +81,19 @@ "type": "toolchain", "optional": true, "owner": "espressif", - "version": "8.4.0+2021r1" + "version": "8.4.0+2021r2" }, "toolchain-xtensa-esp32s2": { "type": "toolchain", "optional": true, "owner": "espressif", - "version": "8.4.0+2021r1" + "version": "8.4.0+2021r2" }, "toolchain-riscv32-esp": { "type": "toolchain", "optional": true, "owner": "espressif", - "version": "8.4.0+2021r1" + "version": "8.4.0+2021r2" }, "framework-arduinoespressif32": { "type": "framework", @@ -111,7 +111,7 @@ "type": "framework", "optional": true, "owner": "platformio", - "version": "~3.40301.0", + "version": "~3.40302.0", "optionalVersions": ["~3.40001.0"] }, "framework-simba": { From 654ed3ee9f1ce917f3581b156ea773dd2fa55d11 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Fri, 14 Jan 2022 11:02:05 +0100 Subject: [PATCH 5/8] PSRAM fix not needed for M5 stack core2 (#676) since all m5 stack core 2 have a actual PSRAM bug free version --- boards/m5stack-core2.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/m5stack-core2.json b/boards/m5stack-core2.json index 1a3dcb521..2c3b95154 100644 --- a/boards/m5stack-core2.json +++ b/boards/m5stack-core2.json @@ -5,7 +5,7 @@ "partitions": "default_16MB.csv" }, "core": "esp32", - "extra_flags": "-DARDUINO_M5STACK_Core2 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue", + "extra_flags": "-DARDUINO_M5STACK_Core2 -DBOARD_HAS_PSRAM", "f_cpu": "240000000L", "f_flash": "40000000L", "flash_mode": "dio", From 084131f6634c818485781651d76818cd1f13a461 Mon Sep 17 00:00:00 2001 From: Anderson Costa Date: Fri, 14 Jan 2022 07:06:07 -0300 Subject: [PATCH 6/8] Add Franzininho WiFi Board (#642) --- boards/esp32-s2-franzininho.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 boards/esp32-s2-franzininho.json diff --git a/boards/esp32-s2-franzininho.json b/boards/esp32-s2-franzininho.json new file mode 100644 index 000000000..206456339 --- /dev/null +++ b/boards/esp32-s2-franzininho.json @@ -0,0 +1,32 @@ +{ + "build": { + "arduino":{ + "ld": "esp32s2_out.ld" + }, + "core": "esp32", + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "dio", + "mcu": "esp32s2", + "variant": "esp32s2" + }, + "connectivity": [ + "wifi" + ], + "debug": { + "openocd_target": "esp32s2.cfg" + }, + "frameworks": [ + "espidf" + ], + "name": "Franzininho WiFi Board", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://github.com/Franzininho/Franzininho-WIFI", + "vendor": "Franzininho" +} From ef8796cc2a08fa89f98fa14fa3f8c4ac28ea2eea Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Fri, 21 Jan 2022 11:07:17 +0200 Subject: [PATCH 7/8] Update latest toolchains to patched versions Resolve #705 --- platform.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform.json b/platform.json index 1f1d9be79..39b3e15d3 100644 --- a/platform.json +++ b/platform.json @@ -81,19 +81,19 @@ "type": "toolchain", "optional": true, "owner": "espressif", - "version": "8.4.0+2021r2" + "version": "8.4.0+2021r2-patch2" }, "toolchain-xtensa-esp32s2": { "type": "toolchain", "optional": true, "owner": "espressif", - "version": "8.4.0+2021r2" + "version": "8.4.0+2021r2-patch2" }, "toolchain-riscv32-esp": { "type": "toolchain", "optional": true, "owner": "espressif", - "version": "8.4.0+2021r2" + "version": "8.4.0+2021r2-patch2" }, "framework-arduinoespressif32": { "type": "framework", From 3f31c1d9a5cb681dc48877198602ae809b8d7fed Mon Sep 17 00:00:00 2001 From: valeros Date: Fri, 28 Jan 2022 13:46:55 +0200 Subject: [PATCH 8/8] Bump version to 3.5.0 --- platform.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform.json b/platform.json index 39b3e15d3..113652d9b 100644 --- a/platform.json +++ b/platform.json @@ -18,7 +18,7 @@ "type": "git", "url": "https://github.com/platformio/platform-espressif32.git" }, - "version": "3.4.0", + "version": "3.5.0", "frameworks": { "arduino": { "package": "framework-arduinoespressif32",