Espressif: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
Line 14: Line 14:
Right now it's a blob in my mind so I am here writing this to sort it out. I got some nRF52840's and that's just added to the confusion.
Right now it's a blob in my mind so I am here writing this to sort it out. I got some nRF52840's and that's just added to the confusion.


Arduino, Espressif IDF, FreeRTOS
Arduino, Espressif IDF, [https://www.freertos.org/ FreeRTOS]
Visual Studio Code, PlatformIO
Visual Studio Code, PlatformIO



Revision as of 02:15, 26 December 2020

Espressif modules and boards

M5 hardware

M5StickC orange and wearable. Also has an 80x160 OLED display, a 6-axis accelerometer, and a microphone

Atom Matrix grey with 5x5 Neopixel LED matrix and a 6-axis IMU

[Atom Echo] white, with a speaker and microphone. It also has a Neopixel

Toolchains

Right now it's a blob in my mind so I am here writing this to sort it out. I got some nRF52840's and that's just added to the confusion.

Arduino, Espressif IDF, FreeRTOS Visual Studio Code, PlatformIO

I have been using Arduino but I really want to try out working with RTOS and I want to use VSCode as my IDE, I am getting comfortable with it at work.

There is a tutorial here: https://randomnerdtutorials.com/vs-code-platformio-ide-esp32-esp8266-arduino/

  • Visual Studio Code (VSCode) is an IDE. It is far more useful than Arduino's IDE.
  • PlatformIO is an extension for VSCode.
  • There is also an Espressif IDF extension.
  • PlatformIO adds the "alien" icon in the left bar.
  • ESP-IDF adds a bunch of tools to the blue bar at the bottom.

When creating a project with PlatformIO you can pick Arduino as the Framework if you don't need the ESP-IDF platform. I put all my source code in ~/source/repos/

JTAG debugging

Example of JTAG debugging

JTAG debugging

https://mcuoneclipse.com/2019/10/20/jtag-debugging-the-esp32-with-ft2232-and-openocd/


Books and resources

Neil Kolban

Random Nerd