From d342bced2d22ab59547ef839d749a438ed73dc1f Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Mon, 18 Apr 2022 12:45:21 +0300 Subject: [PATCH] Deprecate support for Simba and Pumbaa frameworks --- .github/workflows/examples.yml | 2 - boards/nano32.json | 4 +- builder/frameworks/pumbaa.py | 70 ---------------------------- builder/frameworks/simba.py | 68 --------------------------- examples/pumbaa-blink/.gitignore | 1 - examples/pumbaa-blink/.skiptest | 1 - examples/pumbaa-blink/.travis.yml | 67 -------------------------- examples/pumbaa-blink/README.md | 18 ------- examples/pumbaa-blink/include/README | 39 ---------------- examples/pumbaa-blink/lib/README | 46 ------------------ examples/pumbaa-blink/platformio.ini | 13 ------ examples/pumbaa-blink/src/main.c | 22 --------- examples/pumbaa-blink/src/main.py | 40 ---------------- examples/pumbaa-blink/test/README | 11 ----- examples/simba-blink/.gitignore | 1 - examples/simba-blink/.travis.yml | 67 -------------------------- examples/simba-blink/README.md | 18 ------- examples/simba-blink/include/README | 39 ---------------- examples/simba-blink/lib/README | 46 ------------------ examples/simba-blink/platformio.ini | 13 ------ examples/simba-blink/src/main.c | 43 ----------------- examples/simba-blink/test/README | 11 ----- platform.json | 26 ----------- platform.py | 1 - 24 files changed, 1 insertion(+), 666 deletions(-) delete mode 100644 builder/frameworks/pumbaa.py delete mode 100644 builder/frameworks/simba.py delete mode 100755 examples/pumbaa-blink/.gitignore delete mode 100644 examples/pumbaa-blink/.skiptest delete mode 100755 examples/pumbaa-blink/.travis.yml delete mode 100755 examples/pumbaa-blink/README.md delete mode 100644 examples/pumbaa-blink/include/README delete mode 100644 examples/pumbaa-blink/lib/README delete mode 100755 examples/pumbaa-blink/platformio.ini delete mode 100755 examples/pumbaa-blink/src/main.c delete mode 100755 examples/pumbaa-blink/src/main.py delete mode 100644 examples/pumbaa-blink/test/README delete mode 100755 examples/simba-blink/.gitignore delete mode 100755 examples/simba-blink/.travis.yml delete mode 100755 examples/simba-blink/README.md delete mode 100644 examples/simba-blink/include/README delete mode 100644 examples/simba-blink/lib/README delete mode 100755 examples/simba-blink/platformio.ini delete mode 100755 examples/simba-blink/src/main.c delete mode 100644 examples/simba-blink/test/README diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index af29c99..06f82af 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -29,8 +29,6 @@ jobs: - "examples/espidf-storage-spiffs" - "examples/espidf-ulp-adc" - "examples/espidf-ulp-pulse" - - "examples/pumbaa-blink" - - "examples/simba-blink" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 diff --git a/boards/nano32.json b/boards/nano32.json index eeb8a20..2e1f556 100644 --- a/boards/nano32.json +++ b/boards/nano32.json @@ -19,9 +19,7 @@ ], "frameworks": [ "arduino", - "espidf", - "simba", - "pumbaa" + "espidf" ], "name": "MakerAsia Nano32", "upload": { diff --git a/builder/frameworks/pumbaa.py b/builder/frameworks/pumbaa.py deleted file mode 100644 index c9b77c0..0000000 --- a/builder/frameworks/pumbaa.py +++ /dev/null @@ -1,70 +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. - -"""Pumbaa - -Pumbaa is Python on top of Simba. - -The implementation is a port of MicroPython, designed for embedded -devices with limited amount of RAM and code memory. - -http://pumbaa.readthedocs.org - -""" - -from os.path import join, sep - -from SCons.Script import DefaultEnvironment, SConscript - -from platformio.builder.tools import platformio as platformio_tool - -# -# Backward compatibility with PlatformIO 2.0 -# -platformio_tool.SRC_DEFAULT_FILTER = " ".join([ - "+<*>", "-<.git%s>" % sep, "-" % sep, - "-" % sep, "-" % sep, - "-" % sep, "-" % sep -]) - - -def LookupSources(env, variant_dir, src_dir, duplicate=True, src_filter=None): - return env.CollectBuildFiles(variant_dir, src_dir, src_filter, duplicate) - - -def VariantDirWrap(env, variant_dir, src_dir, duplicate=False): - env.VariantDir(variant_dir, src_dir, duplicate) - - -env = DefaultEnvironment() - -env.AddMethod(LookupSources) -env.AddMethod(VariantDirWrap) - -env.Replace( - PLATFORMFW_DIR=env.PioPlatform().get_package_dir("framework-pumbaa"), - UPLOADERFLAGS=[] # Backward compatibility for obsolete build script -) - -SConscript( - [env.subst(join("$PLATFORMFW_DIR", "make", "platformio.sconscript"))]) - -env.Replace( - FLASH_EXTRA_IMAGES=[ - ("0x1000", join("$PLATFORMFW_DIR", "simba", "3pp", "esp32", - "bin", "bootloader.bin")), - ("0x8000", join("$PLATFORMFW_DIR", "simba", "3pp", "esp32", - "bin", "partitions_singleapp.bin")) - ] -) diff --git a/builder/frameworks/simba.py b/builder/frameworks/simba.py deleted file mode 100644 index 0def12d..0000000 --- a/builder/frameworks/simba.py +++ /dev/null @@ -1,68 +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. - -"""Simba - -Simba is an RTOS and build framework. It aims to make embedded -programming easy and portable. - -http://simba-os.readthedocs.org - -""" - -from os.path import join, sep - -from SCons.Script import DefaultEnvironment, SConscript - -from platformio.builder.tools import platformio as platformio_tool - -# -# Backward compatibility with PlatformIO 2.0 -# -platformio_tool.SRC_DEFAULT_FILTER = " ".join([ - "+<*>", "-<.git%s>" % sep, "-" % sep, - "-" % sep, "-" % sep, - "-" % sep, "-" % sep -]) - - -def LookupSources(env, variant_dir, src_dir, duplicate=True, src_filter=None): - return env.CollectBuildFiles(variant_dir, src_dir, src_filter, duplicate) - - -def VariantDirWrap(env, variant_dir, src_dir, duplicate=False): - env.VariantDir(variant_dir, src_dir, duplicate) - - -env = DefaultEnvironment() - -env.AddMethod(LookupSources) -env.AddMethod(VariantDirWrap) - -env.Replace( - PLATFORMFW_DIR=env.PioPlatform().get_package_dir("framework-simba"), - UPLOADERFLAGS=[] # Backward compatibility for obsolete build script -) - -SConscript( - [env.subst(join("$PLATFORMFW_DIR", "make", "platformio.sconscript"))]) - -env.Replace( - FLASH_EXTRA_IMAGES=[ - ("0x1000", join("$PLATFORMFW_DIR", "3pp", "esp32", - "bin", "bootloader.bin")), - ("0x8000", join("$PLATFORMFW_DIR", "3pp", "esp32", - "bin", "partitions_singleapp.bin")) - ] -) diff --git a/examples/pumbaa-blink/.gitignore b/examples/pumbaa-blink/.gitignore deleted file mode 100755 index 03f4a3c..0000000 --- a/examples/pumbaa-blink/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio diff --git a/examples/pumbaa-blink/.skiptest b/examples/pumbaa-blink/.skiptest deleted file mode 100644 index 05e3ca0..0000000 --- a/examples/pumbaa-blink/.skiptest +++ /dev/null @@ -1 +0,0 @@ -.skiptest diff --git a/examples/pumbaa-blink/.travis.yml b/examples/pumbaa-blink/.travis.yml deleted file mode 100755 index 7c486f1..0000000 --- a/examples/pumbaa-blink/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/pumbaa-blink/README.md b/examples/pumbaa-blink/README.md deleted file mode 100755 index 4005d81..0000000 --- a/examples/pumbaa-blink/README.md +++ /dev/null @@ -1,18 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://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/include/README b/examples/pumbaa-blink/include/README deleted file mode 100644 index 194dcd4..0000000 --- a/examples/pumbaa-blink/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/examples/pumbaa-blink/lib/README b/examples/pumbaa-blink/lib/README deleted file mode 100644 index 6debab1..0000000 --- a/examples/pumbaa-blink/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/examples/pumbaa-blink/platformio.ini b/examples/pumbaa-blink/platformio.ini deleted file mode 100755 index 8a634da..0000000 --- a/examples/pumbaa-blink/platformio.ini +++ /dev/null @@ -1,13 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nano32] -platform = espressif32 -framework = pumbaa -board = nano32 diff --git a/examples/pumbaa-blink/src/main.c b/examples/pumbaa-blink/src/main.c deleted file mode 100755 index c43d531..0000000 --- a/examples/pumbaa-blink/src/main.c +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @file main.c - * - * @section License - * Copyright (C) 2015-2016, Erik Moqvist - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * This file is part of the Pumbaa project. - */ - -/* - * This file is required by PlatformIO, but is unused in Pumbaa. - */ diff --git a/examples/pumbaa-blink/src/main.py b/examples/pumbaa-blink/src/main.py deleted file mode 100755 index fde1e23..0000000 --- a/examples/pumbaa-blink/src/main.py +++ /dev/null @@ -1,40 +0,0 @@ -# -# @section License -# -# The MIT License (MIT) -# -# Copyright (c) 2016, Erik Moqvist -# -# Permission is hereby granted, free of charge, to any person -# obtaining a copy of this software and associated documentation -# files (the "Software"), to deal in the Software without -# restriction, including without limitation the rights to use, copy, -# modify, merge, publish, distribute, sublicense, and/or sell copies -# of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be -# included in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. -# -# This file is part of the Pumbaa project. -# - - -import time -import board -from drivers import Pin - -LED = Pin(board.PIN_LED, Pin.OUTPUT) - -while True: - LED.toggle() - time.sleep(0.5) diff --git a/examples/pumbaa-blink/test/README b/examples/pumbaa-blink/test/README deleted file mode 100644 index df5066e..0000000 --- a/examples/pumbaa-blink/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/examples/simba-blink/.gitignore b/examples/simba-blink/.gitignore deleted file mode 100755 index 03f4a3c..0000000 --- a/examples/simba-blink/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.pio diff --git a/examples/simba-blink/.travis.yml b/examples/simba-blink/.travis.yml deleted file mode 100755 index 7c486f1..0000000 --- a/examples/simba-blink/.travis.yml +++ /dev/null @@ -1,67 +0,0 @@ -# Continuous Integration (CI) is the practice, in software -# engineering, of merging all developer working copies with a shared mainline -# several times a day < https://docs.platformio.org/page/ci/index.html > -# -# Documentation: -# -# * Travis CI Embedded Builds with PlatformIO -# < https://docs.travis-ci.com/user/integration/platformio/ > -# -# * PlatformIO integration with Travis CI -# < https://docs.platformio.org/page/ci/travis.html > -# -# * User Guide for `platformio ci` command -# < https://docs.platformio.org/page/userguide/cmd_ci.html > -# -# -# Please choose one of the following templates (proposed below) and uncomment -# it (remove "# " before each line) or use own configuration according to the -# Travis CI documentation (see above). -# - - -# -# Template #1: General project. Test it using existing `platformio.ini`. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio run - - -# -# Template #2: The project is intended to be used as a library with examples. -# - -# language: python -# python: -# - "2.7" -# -# sudo: false -# cache: -# directories: -# - "~/.platformio" -# -# env: -# - PLATFORMIO_CI_SRC=path/to/test/file.c -# - PLATFORMIO_CI_SRC=examples/file.ino -# - PLATFORMIO_CI_SRC=path/to/test/directory -# -# install: -# - pip install -U platformio -# - platformio update -# -# script: -# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N diff --git a/examples/simba-blink/README.md b/examples/simba-blink/README.md deleted file mode 100755 index 5c0cb31..0000000 --- a/examples/simba-blink/README.md +++ /dev/null @@ -1,18 +0,0 @@ -How to build PlatformIO based project -===================================== - -1. [Install PlatformIO Core](https://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/include/README b/examples/simba-blink/include/README deleted file mode 100644 index 194dcd4..0000000 --- a/examples/simba-blink/include/README +++ /dev/null @@ -1,39 +0,0 @@ - -This directory is intended for project header files. - -A header file is a file containing C declarations and macro definitions -to be shared between several project source files. You request the use of a -header file in your project source file (C, C++, etc) located in `src` folder -by including it, with the C preprocessing directive `#include'. - -```src/main.c - -#include "header.h" - -int main (void) -{ - ... -} -``` - -Including a header file produces the same results as copying the header file -into each source file that needs it. Such copying would be time-consuming -and error-prone. With a header file, the related declarations appear -in only one place. If they need to be changed, they can be changed in one -place, and programs that include the header file will automatically use the -new version when next recompiled. The header file eliminates the labor of -finding and changing all the copies as well as the risk that a failure to -find one copy will result in inconsistencies within a program. - -In C, the usual convention is to give header files names that end with `.h'. -It is most portable to use only letters, digits, dashes, and underscores in -header file names, and at most one dot. - -Read more about using header files in official GCC documentation: - -* Include Syntax -* Include Operation -* Once-Only Headers -* Computed Includes - -https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html diff --git a/examples/simba-blink/lib/README b/examples/simba-blink/lib/README deleted file mode 100644 index 6debab1..0000000 --- a/examples/simba-blink/lib/README +++ /dev/null @@ -1,46 +0,0 @@ - -This directory is intended for project specific (private) libraries. -PlatformIO will compile them to static libraries and link into executable file. - -The source code of each library should be placed in a an own separate directory -("lib/your_library_name/[here are source files]"). - -For example, see a structure of the following two libraries `Foo` and `Bar`: - -|--lib -| | -| |--Bar -| | |--docs -| | |--examples -| | |--src -| | |- Bar.c -| | |- Bar.h -| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html -| | -| |--Foo -| | |- Foo.c -| | |- Foo.h -| | -| |- README --> THIS FILE -| -|- platformio.ini -|--src - |- main.c - -and a contents of `src/main.c`: -``` -#include -#include - -int main (void) -{ - ... -} - -``` - -PlatformIO Library Dependency Finder will find automatically dependent -libraries scanning project source files. - -More information about PlatformIO Library Dependency Finder -- https://docs.platformio.org/page/librarymanager/ldf.html diff --git a/examples/simba-blink/platformio.ini b/examples/simba-blink/platformio.ini deleted file mode 100755 index e10c30e..0000000 --- a/examples/simba-blink/platformio.ini +++ /dev/null @@ -1,13 +0,0 @@ -; PlatformIO Project Configuration File -; -; Build options: build flags, source filter, extra scripting -; Upload options: custom port, speed and extra flags -; Library options: dependencies, extra library storages -; -; Please visit documentation for the other options and examples -; https://docs.platformio.org/page/projectconf.html - -[env:nano32] -platform = espressif32 -framework = simba -board = nano32 diff --git a/examples/simba-blink/src/main.c b/examples/simba-blink/src/main.c deleted file mode 100755 index 404ec63..0000000 --- a/examples/simba-blink/src/main.c +++ /dev/null @@ -1,43 +0,0 @@ -/** - * @file main.c - * @version 4.1.0 - * - * @section License - * Copyright (C) 2015-2016, Erik Moqvist - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * This file is part of the Simba project. - */ - -#include "simba.h" - -int main() -{ - struct pin_driver_t led; - - /* Start the system. */ - sys_start(); - - /* Initialize the LED pin as output and set its value to 1. */ - pin_init(&led, &pin_led_dev, PIN_OUTPUT); - pin_write(&led, 1); - - while (1) { - /* Wait half a second. */ - thrd_sleep_us(500000); - - /* Toggle the LED on/off. */ - pin_toggle(&led); - } - - return (0); -} diff --git a/examples/simba-blink/test/README b/examples/simba-blink/test/README deleted file mode 100644 index df5066e..0000000 --- a/examples/simba-blink/test/README +++ /dev/null @@ -1,11 +0,0 @@ - -This directory is intended for PIO Unit Testing and project tests. - -Unit Testing is a software testing method by which individual units of -source code, sets of one or more MCU program modules together with associated -control data, usage procedures, and operating procedures, are tested to -determine whether they are fit for use. Unit testing finds problems early -in the development cycle. - -More information about PIO Unit Testing: -- https://docs.platformio.org/page/plus/unit-testing.html diff --git a/platform.json b/platform.json index 02bc91f..cd0d003 100644 --- a/platform.json +++ b/platform.json @@ -30,20 +30,6 @@ "description": "ESP-IDF is the official development framework for the ESP32 and ESP32-S Series SoCs.", "homepage": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32/", "title": "Espressif IoT Development Framework" - }, - "simba": { - "package": "framework-simba", - "script": "builder/frameworks/simba.py", - "description": "Simba is an RTOS and build framework with aims to make embedded programming easy and portable", - "homepage": "http://simba-os.readthedocs.org", - "title": "Simba" - }, - "pumbaa": { - "package": "framework-pumbaa", - "script": "builder/frameworks/pumbaa.py", - "description": "Pumbaa is Python on top of Simba. The implementation is a port of MicroPython, designed for embedded devices with limited amount of RAM and code memory", - "homepage": "http://pumbaa.readthedocs.org/", - "title": "Pumbaa" } }, "packages": { @@ -104,18 +90,6 @@ "version": "~3.40302.0", "optionalVersions": ["~3.40001.0"] }, - "framework-simba": { - "type": "framework", - "optional": true, - "owner": "platformio", - "version": ">=12.2.0" - }, - "framework-pumbaa": { - "type": "framework", - "optional": true, - "owner": "platformio", - "version": ">=2.3.0" - }, "tool-esptoolpy": { "type": "uploader", "owner": "platformio", diff --git a/platform.py b/platform.py index 2e912ff..5a3cf29 100644 --- a/platform.py +++ b/platform.py @@ -114,7 +114,6 @@ class Espressif32Platform(PlatformBase): is_legacy_project = ( build_core == "mbcwb" - or set(("simba", "pumbaa")) & set(frameworks) or set(("arduino", "espidf")) == set(frameworks) )