Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yaricom/rp2040-multitasking
The research on simple multitasking with RP2040 to emulate RTOS
https://github.com/yaricom/rp2040-multitasking
Last synced: 11 days ago
JSON representation
The research on simple multitasking with RP2040 to emulate RTOS
- Host: GitHub
- URL: https://github.com/yaricom/rp2040-multitasking
- Owner: yaricom
- License: mit
- Created: 2024-03-14T18:11:27.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-14T19:08:08.000Z (10 months ago)
- Last Synced: 2024-11-05T15:51:46.311Z (about 2 months ago)
- Language: C++
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rp2040-multitasking
The research on simple multitasking with RP2040 to emulate RTOS# Arduino IDE setup
It was made for [LiLyGO T-Display RP2040](https://github.com/Xinyuan-LilyGO/LILYGO-T-display-RP2040/tree/main)
using [TFT_eSPI](https://github.com/Bodmer/TFT_eSPI/tree/master) library as a display driver.The following dependecies should be installed:
1. [Pico board package](https://github.com/earlephilhower/arduino-pico) by Earle Philhower
2. [TFT_eSPI](https://github.com/Bodmer/TFT_eSPI/tree/master) library by Bodmer
3. [SafeString](https://github.com/PowerBroker2/SafeString) library by Matthew FordThe 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:
```shell
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
```
3. Go `Tools->Boards manager` in the IDE menu
4. Type 'pico' in the search box and select "Add"
5. 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](https://github.com/Bodmer/TFT_eSPI/tree/master) 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 `
- comment out the line `#include `.### SafeString library
Can be installed using `Tools->Manage Libraries..` and search for `SafeString`.