Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Pico SDK build via CMake

Use this directory to build using CMake for PicoSDK. You simply point a cmake compatible IDE at this directory and it should be able to load the project structure. Disclaimer only tried with CLion and VSCode with the pico plugin and the cmake plugins respectivly.

To use you'll need to set the following variables.

The Coders Corner libraries

TcMenu organisation made this library available for you to use. It takes significant effort to keep all our libraries current and working on a wide range of boards. Please consider making at least a one off donation via the sponsor button if you find it useful. In forks, please keep text to here intact.

License

This build is Apache license. Consult each library for their license.

Using our libraries in Arduino and PlatformIO

Use the top level platformio.ini file for that purpose.

Working with Native tool chains in production

Commercial users: Before asking any questions in the tcMenu discussion board about this project, please make a donation commensurate with your companies funds. This configuration will not be maintained unless we get enough donations.

We can support this toolchain on RP2040 PicoSDK, ESP-IDF, STM32Cube, Atmel AVR and SAMD. Please the the above link for more information.

Environment variables needed for PicoSDK: PICO_SDK_PATH=<your picosdk path> PICO_TOOLCHAIN_PATH=<path of arm toolchain>

How to use these libraries

Here are the links to the libraries needed in the lib directory

Using in PicoSDK

As per all other PicoSDK applications, you need to set up the environment variables and ensure these libraries are available in the path.

Current state of play for direct pico-sdk / outside Arduino use

Working

  • IoAbstraction rotary encoders and switches without interrupts
  • Wire I2C interface with IoAbstraction for PicoSDK
  • SPI interface within IoAbstraction for PicoSDK
  • TaskManagerIO fully working with PicoSDK
  • SimpleCollections fully working with PicoSDK
  • SCCircular buffer tested with interrupts on PicoSDK.
  • Unicode helper library fully working with PicoSDK
  • Liquid Crystal including I2C backpack is working
  • SPI Wrapper is working
  • Adafruit Fork I2C OLED working with PicoSDK
  • SPI Adafruit fork test with PicoSDK
  • PWM and Analog Input are working properly.

To Test

  • Copy libraries.cmake to your project
  • Add the following to your CMakeLists.txt after pico_sdk_init()
    include(libraries.cmake)
    includeLibraries()
    
  • Add the following to your CMakeLists.txt in the target_link_libraries
    tcMenu
    IoAbstraction
    TaskManagerIO
    tcUnicodeHelper
    TcMenuLog
    SimpleCollections
    AdafruitGFXNativePort
    
    Leave AdafruitGFXNativePort out if not needed.
  • Build.
  • The libraries will be in build/_deps.

Todo short term

  • Test rotary encoders and switches with interrupts not working on PicoSDK
  • Test rotary encoders/switches/LCD on other than 8574 IoExpanders and with interrupts.
  • USB remote support for PicoSDK
  • WiFi/LwIP remote support for PicoSDK
  • Adafruit Fork I2C/SPI retest with mbed.
  • Better way to create fonts
Morty Proxy This is a proxified and sanitized view of the page, visit original site.