Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

An example on how to use ESP-MDF with PlatformIO

Notifications You must be signed in to change notification settings

maxgerhardt/pio-mdf-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlatformIO ESP-MDF example

Description

This project provides a base example for the usage of ESP-MDF within PlatformIO.

Configuring

Refer to esp-mdf. This is the "get started" example, which lets two or more nodes communicate with each other. There is one root node and 1 or more non-root nodes.

To configure a device to be a root or non-root device, look into the platformio.ini regarding the macro CONFIG_DEVICE_TYPE (either 0 for root of 1 for non-root).

All other configurable settings for the components reside there, too, for the moment. The settings there are all default settings from the several Kconfig files (mcommon, mwifi)

Default configuration flag for other components are still underway, but the 'get started' example compiles.

More examples / refactor ?

This project has all libraries locally in lib/ and doesn't use globally-registered libraries. This will be refactored so that these libraries are registered with PlatformIO's library registry. Then this repository will also contain multiple example folders (every example provided in esp-mdf).

Enable PSRAM?

For examples which may need more RAM and boards which have PSRAM, add the needed PSRAM flags from here.

Caveats

When creating a new project based from this, don't forget to add import sdkconfig.h overrides as e.g. seen in https://github.com/espressif/esp-mdf/blob/master/examples/get-started/sdkconfig.defaults, as this may drastically change the behaviour / stability of the code.

Codebase

All ESP-MDF code present is a momentary snapshot at esp-mdf@67a0a5b (09 May 2019).

License

All ESP-MDF code has the 'ESPRESSIF MIT License'.

About

An example on how to use ESP-MDF with PlatformIO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages