# Native

Configuration

  platform = `native`

Native development platform is intended to be used for desktop OS. This platform uses built-in toolchains (preferable based on GCC), frameworks, libs from particular OS where it will be run.

For more detailed information please visit vendor site.

Contents

- Examples

- Stable and upstream versions

## Examples

Examples are listed from Native development platform repository:

- hello-world

## Stable and upstream versions

You can switch between stable releases of Native development platform and the latest upstream version using platform option in “platformio.ini” (Project Configuration File) as described below.

### Stable

    ; Latest stable version
    [env:latest_stable]
    platform = native
    board = ...

    ; Custom stable version
    [env:custom_stable]
    platform = native@x.y.z
    board = ...

### Upstream

    [env:upstream_develop]
    platform = https://github.com/platformio/platform-native.git
    board = ...