Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New RTOS and build Framework named "Simba" // Resolve #412
- Loading branch information
1 parent
ab48a2a
commit f7a0374
Showing
17 changed files
with
266 additions
and
14 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
|
@@ -22,5 +22,6 @@ Frameworks | |
energia | ||
libopencm3 | ||
mbed | ||
simba | ||
spl | ||
wiringpi |
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,166 @@ | ||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com> | ||
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. | ||
.. _framework_simba: | ||
|
||
Framework ``simba`` | ||
=================== | ||
Simba is an RTOS and build framework. It aims to make embedded programming easy and portable. | ||
|
||
For more detailed information please visit `vendor site <http://simba-os.readthedocs.org>`_. | ||
|
||
.. contents:: | ||
|
||
Platforms | ||
--------- | ||
.. list-table:: | ||
:header-rows: 1 | ||
|
||
* - Name | ||
- Description | ||
|
||
* - :ref:`platform_atmelavr` | ||
- Atmel AVR 8- and 32-bit MCUs deliver a unique combination of performance, power efficiency and design flexibility. Optimized to speed time to market-and easily adapt to new ones-they are based on the industrys most code-efficient architecture for C and assembly programming. | ||
|
||
* - :ref:`platform_atmelsam` | ||
- Atmel | SMART offers Flash- based ARM products based on the ARM Cortex-M0+, Cortex-M3 and Cortex-M4 architectures, ranging from 8KB to 2MB of Flash including a rich peripheral and feature mix. | ||
|
||
Boards | ||
------ | ||
|
||
.. note:: | ||
* You can list pre-configured boards by :ref:`cmd_boards` command or | ||
`PlatformIO Boards Explorer <http://platformio.org/boards>`_ | ||
* For more detailed ``board`` information please scroll tables below by horizontal. | ||
|
||
Adafruit | ||
~~~~~~~~ | ||
|
||
.. list-table:: | ||
:header-rows: 1 | ||
|
||
* - Type ``board`` | ||
- Name | ||
- Microcontroller | ||
- Frequency | ||
- Flash | ||
- RAM | ||
|
||
* - ``huzzah`` | ||
- `Adafruit HUZZAH ESP8266 <https://www.adafruit.com/products/2471>`_ | ||
- ESP8266 | ||
- 80 MHz | ||
- 4096 Kb | ||
- 80 Kb | ||
|
||
Arduino | ||
~~~~~~~ | ||
|
||
.. list-table:: | ||
:header-rows: 1 | ||
|
||
* - Type ``board`` | ||
- Name | ||
- Microcontroller | ||
- Frequency | ||
- Flash | ||
- RAM | ||
|
||
* - ``due`` | ||
- `Arduino Due (Programming Port) <http://arduino.cc/en/Main/arduinoBoardDue>`_ | ||
- SAM3X8E | ||
- 84 MHz | ||
- 512 Kb | ||
- 32 Kb | ||
|
||
* - ``megaatmega2560`` | ||
- `Arduino Mega or Mega 2560 ATmega2560 (Mega 2560) <http://arduino.cc/en/Main/arduinoBoardMega2560>`_ | ||
- ATMEGA2560 | ||
- 16 MHz | ||
- 256 Kb | ||
- 8 Kb | ||
|
||
* - ``nanoatmega328`` | ||
- `Arduino Nano ATmega328 <http://arduino.cc/en/Main/ArduinoBoardNano>`_ | ||
- ATMEGA328P | ||
- 16 MHz | ||
- 32 Kb | ||
- 2 Kb | ||
|
||
* - ``uno`` | ||
- `Arduino Uno <http://arduino.cc/en/Main/ArduinoBoardUno>`_ | ||
- ATMEGA328P | ||
- 16 MHz | ||
- 32 Kb | ||
- 2 Kb | ||
|
||
Espressif | ||
~~~~~~~~~ | ||
|
||
.. list-table:: | ||
:header-rows: 1 | ||
|
||
* - Type ``board`` | ||
- Name | ||
- Microcontroller | ||
- Frequency | ||
- Flash | ||
- RAM | ||
|
||
* - ``esp01`` | ||
- `Espressif Generic ESP8266 ESP-01 512k <http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family>`_ | ||
- ESP8266 | ||
- 80 MHz | ||
- 512 Kb | ||
- 80 Kb | ||
|
||
* - ``esp01_1m`` | ||
- `Espressif Generic ESP8266 ESP-01 1M <http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family>`_ | ||
- ESP8266 | ||
- 80 MHz | ||
- 1024 Kb | ||
- 80 Kb | ||
|
||
* - ``esp12e`` | ||
- `Espressif ESP8266 ESP-12E <http://www.esp8266.com/wiki/doku.php?id=esp8266-module-family>`_ | ||
- ESP8266 | ||
- 80 MHz | ||
- 4096 Kb | ||
- 80 Kb | ||
|
||
NodeMCU | ||
~~~~~~~ | ||
|
||
.. list-table:: | ||
:header-rows: 1 | ||
|
||
* - Type ``board`` | ||
- Name | ||
- Microcontroller | ||
- Frequency | ||
- Flash | ||
- RAM | ||
|
||
* - ``nodemcu`` | ||
- `NodeMCU 0.9 (ESP-12 Module) <http://www.nodemcu.com/>`_ | ||
- ESP8266 | ||
- 80 MHz | ||
- 4096 Kb | ||
- 80 Kb | ||
|
||
* - ``nodemcuv2`` | ||
- `NodeMCU 1.0 (ESP-12E Module) <http://www.nodemcu.com/>`_ | ||
- ESP8266 | ||
- 80 MHz | ||
- 4096 Kb | ||
- 80 Kb | ||
|
||
.. include:: simba_extra.rst |
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,18 @@ | ||
.. Copyright 2014-2016 Ivan Kravets <me@ikravets.com> | ||
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. | ||
Examples | ||
-------- | ||
|
||
All project examples are located in PlatformIO repository | ||
`Examples for Simba framework <https://github.com/platformio/platformio-examples/tree/develop/examples/simba>`_. | ||
|
||
* `Blink <https://github.com/platformio/platformio-examples/tree/develop/simba/blink>`_ |
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
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
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
Submodule examples
updated
12 files
+3 −0 | simba/blink/.gitignore | |
+65 −0 | simba/blink/.travis.yml | |
+42 −0 | simba/blink/README.rst | |
+38 −0 | simba/blink/lib/readme.txt | |
+17 −0 | simba/blink/platformio.ini | |
+42 −0 | simba/blink/src/main.c | |
+3 −0 | simba/hello_world/.gitignore | |
+65 −0 | simba/hello_world/.travis.yml | |
+40 −0 | simba/hello_world/README.rst | |
+38 −0 | simba/hello_world/lib/readme.txt | |
+12 −0 | simba/hello_world/platformio.ini | |
+37 −0 | simba/hello_world/src/main.c |
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
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
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,34 @@ | ||
# Copyright 2014-2016 Ivan Kravets <me@ikravets.com> | ||
# | ||
# 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 | ||
|
||
from SCons.Script import DefaultEnvironment, SConscript | ||
|
||
env = DefaultEnvironment() | ||
|
||
env.Replace( | ||
PLATFORMFW_DIR=join("$PIOPACKAGES_DIR", "framework-simba") | ||
) | ||
|
||
SConscript([env.subst(join("$PLATFORMFW_DIR", "make", "platformio.sconscript"))]) |
Oops, something went wrong.