It’s time to deal with mbedTLS again. This time from a different angle. Rather than use the lwIP/mbedTLS integration using application layered TCP (altcp_*
functions), maybe I can use mbedTLS functions backed by lwIP sockets. We’ll see.
Raspberry Pi Pico with FreeRTOS
FreeRTOS on Raspberry Pi Pico?
After spending many hours trying to get coreMQTT to work with lwIP and BearSSL, I finally gave up. The problem was incompatible APIs. coreMQTT doesn’t really work with asynchronous functions (sending N bytes and being told that M have been sent via an asynchronous callback).
Raspberry Pi Pico W: HTTP Client Part III - Mbed TLS
Secure connections using Mbed TLS. I thought it would just be a case of some #define
, but it took a lot more effort to get it to work.
There are still many open questions, and a few more experiments, but overall it is possible to make an HTTP/TLS request on the Raspberry Pi Pico.
Raspberry Pi Pico W: HTTP Client Part II - SNTP
Before moving on to HTTPS, a small diversion - SNTP.
Raspberry Pi Pico W: HTTP Client Part I - Simple Client
Time to try some networking with Raspberry Pi Pico W. This example from the documentation works for me:
Music Player (Part I)
Overview
The plan is to build a music player from existing components.
Pico Green Clock (Part I)
This post is about this clock:
https://thepihut.com/products/electronic-clock-for-raspberry-pi-pico
Part I is a running commentary about the hardware.
Controlling the RGB LED on pico display
The pico display pack is a small LCD with four buttons and an RGB LED. The LED can be controlled using PWM for which the Raspberry Pi Pico has hardward support.
For this attempt I’m trying to combine a few things:
- Not use include files
- Use look-up tables
- Call functions
Rome wasn’t built in a day…
ARM assembly: blink
So I got myself a Raspberry Pi Pico and downloaded the C/C++ SDK.