mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Replace native with linux_arm platform for Raspberry Pi
This commit is contained in:
@ -19,6 +19,17 @@ For more detailed information please visit `vendor site <http://wiringpi.com>`_.
|
|||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
Platforms
|
||||||
|
---------
|
||||||
|
.. list-table::
|
||||||
|
:header-rows: 1
|
||||||
|
|
||||||
|
* - Name
|
||||||
|
- Description
|
||||||
|
|
||||||
|
* - :ref:`platform_linux_arm`
|
||||||
|
- Linux ARM is a Unix-like and mostly POSIX-compliant computer operating system (OS) assembled under the model of free and open-source software development and distribution. Using host OS (Mac OS X, Linux ARM) you can build native application for Linux ARM platform.
|
||||||
|
|
||||||
Boards
|
Boards
|
||||||
------
|
------
|
||||||
|
|
||||||
|
@ -86,6 +86,9 @@ Packages
|
|||||||
* - ``framework-spl``
|
* - ``framework-spl``
|
||||||
- `Standard Peripheral Library for STM32 MCUs <http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF257890>`_
|
- `Standard Peripheral Library for STM32 MCUs <http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF257890>`_
|
||||||
|
|
||||||
|
* - ``framework-wiringpi``
|
||||||
|
- `GPIO Interface library for the Raspberry Pi <http://wiringpi.com>`_
|
||||||
|
|
||||||
* - ``ldscripts``
|
* - ``ldscripts``
|
||||||
- `Linker Scripts <https://sourceware.org/binutils/docs/ld/Scripts.html>`_
|
- `Linker Scripts <https://sourceware.org/binutils/docs/ld/Scripts.html>`_
|
||||||
|
|
||||||
@ -440,3 +443,4 @@ and copy there two files:
|
|||||||
|
|
||||||
Now, we should see ``ststm32gdb`` platform using :ref:`cmd_platforms_search` command output
|
Now, we should see ``ststm32gdb`` platform using :ref:`cmd_platforms_search` command output
|
||||||
and can install it via :ref:`platformio platforms install ststm32gdb <cmd_platforms_install>` command.
|
and can install it via :ref:`platformio platforms install ststm32gdb <cmd_platforms_install>` command.
|
||||||
|
|
||||||
|
@ -28,5 +28,62 @@ Packages
|
|||||||
* - Name
|
* - Name
|
||||||
- Contents
|
- Contents
|
||||||
|
|
||||||
|
* - ``framework-wiringpi``
|
||||||
|
- `GPIO Interface library for the Raspberry Pi <http://wiringpi.com>`_
|
||||||
|
|
||||||
* - ``toolchain-gccarmlinuxgnueabi``
|
* - ``toolchain-gccarmlinuxgnueabi``
|
||||||
- `GCC for Linux ARM GNU EABI <https://gcc.gnu.org>`_, `GDB <http://www.gnu.org/software/gdb/>`_
|
- `GCC for Linux ARM GNU EABI <https://gcc.gnu.org>`_, `GDB <http://www.gnu.org/software/gdb/>`_
|
||||||
|
|
||||||
|
Frameworks
|
||||||
|
----------
|
||||||
|
.. list-table::
|
||||||
|
:header-rows: 1
|
||||||
|
|
||||||
|
* - Name
|
||||||
|
- Description
|
||||||
|
|
||||||
|
* - :ref:`framework_wiringpi`
|
||||||
|
- WiringPi is a GPIO access library written in C for the BCM2835 used in the Raspberry Pi. It's designed to be familiar to people who have used the Arduino "wiring" system.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
Raspberry Pi
|
||||||
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. list-table::
|
||||||
|
:header-rows: 1
|
||||||
|
|
||||||
|
* - Type ``board``
|
||||||
|
- Name
|
||||||
|
- Microcontroller
|
||||||
|
- Frequency
|
||||||
|
- Flash
|
||||||
|
- RAM
|
||||||
|
|
||||||
|
* - ``raspberrypi_1b``
|
||||||
|
- `Raspberry Pi 1 Model B <https://www.raspberrypi.org>`_
|
||||||
|
- BCM2835
|
||||||
|
- 700 MHz
|
||||||
|
- 524288 Kb
|
||||||
|
- 524288 Kb
|
||||||
|
|
||||||
|
* - ``raspberrypi_2b``
|
||||||
|
- `Raspberry Pi 2 Model B <https://www.raspberrypi.org>`_
|
||||||
|
- BCM2836
|
||||||
|
- 900 MHz
|
||||||
|
- 1048576 Kb
|
||||||
|
- 1048576 Kb
|
||||||
|
|
||||||
|
* - ``raspberrypi_zero``
|
||||||
|
- `Raspberry Pi Zero <https://www.raspberrypi.org>`_
|
||||||
|
- BCM2835
|
||||||
|
- 1000 MHz
|
||||||
|
- 524288 Kb
|
||||||
|
- 524288 Kb
|
||||||
|
@ -17,47 +17,4 @@ Native development platform is intended to be used for desktop OS. This platform
|
|||||||
|
|
||||||
For more detailed information please visit `vendor site <http://platformio.org/#!/platforms/native>`_.
|
For more detailed information please visit `vendor site <http://platformio.org/#!/platforms/native>`_.
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
Raspberry Pi
|
|
||||||
~~~~~~~~~~~~
|
|
||||||
|
|
||||||
.. list-table::
|
|
||||||
:header-rows: 1
|
|
||||||
|
|
||||||
* - Type ``board``
|
|
||||||
- Name
|
|
||||||
- Microcontroller
|
|
||||||
- Frequency
|
|
||||||
- Flash
|
|
||||||
- RAM
|
|
||||||
|
|
||||||
* - ``raspberrypi_1b``
|
|
||||||
- `Raspberry Pi 1 Model B <https://www.raspberrypi.org>`_
|
|
||||||
- BCM2835
|
|
||||||
- 700 MHz
|
|
||||||
- 524288 Kb
|
|
||||||
- 524288 Kb
|
|
||||||
|
|
||||||
* - ``raspberrypi_2b``
|
|
||||||
- `Raspberry Pi 2 Model B <https://www.raspberrypi.org>`_
|
|
||||||
- BCM2836
|
|
||||||
- 900 MHz
|
|
||||||
- 1048576 Kb
|
|
||||||
- 1048576 Kb
|
|
||||||
|
|
||||||
* - ``raspberrypi_zero``
|
|
||||||
- `Raspberry Pi Zero <https://www.raspberrypi.org>`_
|
|
||||||
- BCM2835
|
|
||||||
- 1000 MHz
|
|
||||||
- 524288 Kb
|
|
||||||
- 524288 Kb
|
|
@ -18,6 +18,6 @@
|
|||||||
# targets = upload
|
# targets = upload
|
||||||
|
|
||||||
[env:raspberrypi_2b]
|
[env:raspberrypi_2b]
|
||||||
platform = native
|
platform = linux_arm
|
||||||
framework = wiringpi
|
framework = wiringpi
|
||||||
board = raspberrypi_2b
|
board = raspberrypi_2b
|
||||||
|
@ -18,6 +18,6 @@
|
|||||||
# targets = upload
|
# targets = upload
|
||||||
|
|
||||||
[env:raspberrypi_2b]
|
[env:raspberrypi_2b]
|
||||||
platform = native
|
platform = linux_arm
|
||||||
framework = wiringpi
|
framework = wiringpi
|
||||||
board = raspberrypi_2b
|
board = raspberrypi_2b
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
},
|
},
|
||||||
"frameworks": ["wiringpi"],
|
"frameworks": ["wiringpi"],
|
||||||
"name": "Raspberry Pi 1 Model B",
|
"name": "Raspberry Pi 1 Model B",
|
||||||
"platform": "native",
|
"platform": "linux_arm",
|
||||||
"upload": {
|
"upload": {
|
||||||
"maximum_ram_size": 536870912,
|
"maximum_ram_size": 536870912,
|
||||||
"maximum_size": 536870912
|
"maximum_size": 536870912
|
||||||
@ -25,7 +25,7 @@
|
|||||||
},
|
},
|
||||||
"frameworks": ["wiringpi"],
|
"frameworks": ["wiringpi"],
|
||||||
"name": "Raspberry Pi 2 Model B",
|
"name": "Raspberry Pi 2 Model B",
|
||||||
"platform": "native",
|
"platform": "linux_arm",
|
||||||
"upload": {
|
"upload": {
|
||||||
"maximum_ram_size": 1073741824,
|
"maximum_ram_size": 1073741824,
|
||||||
"maximum_size": 1073741824
|
"maximum_size": 1073741824
|
||||||
@ -42,7 +42,7 @@
|
|||||||
},
|
},
|
||||||
"frameworks": ["wiringpi"],
|
"frameworks": ["wiringpi"],
|
||||||
"name": "Raspberry Pi Zero",
|
"name": "Raspberry Pi Zero",
|
||||||
"platform": "native",
|
"platform": "linux_arm",
|
||||||
"upload": {
|
"upload": {
|
||||||
"maximum_ram_size": 536870912,
|
"maximum_ram_size": 536870912,
|
||||||
"maximum_size": 536870912
|
"maximum_size": 536870912
|
||||||
|
Reference in New Issue
Block a user