Skip to content

The research on simple multitasking with RP2040 to emulate RTOS

License

Notifications You must be signed in to change notification settings

yaricom/rp2040-multitasking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rp2040-multitasking

The research on simple multitasking with RP2040 to emulate RTOS

Arduino IDE setup

It was made for LiLyGO T-Display RP2040 using TFT_eSPI library as a display driver.

The following dependecies should be installed:

  1. Pico board package by Earle Philhower
  2. TFT_eSPI library by Bodmer
  3. SafeString library by Matthew Ford

The installation instructions for each dependency provided below.

Earle Philhower's board package

You can install Earle Philhower's board package using additional boards manager of Arduino IDE as following (MacOS):

  1. Start the Arduino IDE and go to Arduino IDE->Settings.
  2. At the bottom in the "Additional boards manager URLs" field type link to the board package repository:
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
  1. Go Tools->Boards manager in the IDE menu
  2. Type 'pico' in the search box and select "Add"
  3. Make sure to install version 3.2.2 not higher, because the latest versions doesn't work properly with TFT_eSPI library

TFT_eSPI library

  1. Clone TFT_eSPI repository
  2. Copy files from repository into libraries/TFT_eSPI directory inside of the Arduino sketches directory
  3. Edit the file libraries/TFT_eSPI/User_Setup_Select.h to use correct driver for the Lilygo T-Display RP2040 (ST7789 on SPI bus with 135x240 TFT) as following:
  • uncomment the line #include <User_Setups/Setup137_LilyGo_TDisplay_RP2040.h>
  • comment out the line #include <User_Setup.h>.

SafeString library

Can be installed using Tools->Manage Libraries.. and search for SafeString.

About

The research on simple multitasking with RP2040 to emulate RTOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published