This demo has been derived from Microsoft Azure RTOS example available here and extended to support e-Ink display.
Please refer to the original source code location for prerequisites, environment setup, build and deployment instructions.
- This repo uses submodules, to clone execute:
git clone --recursive https://github.com/tdjastrzebski/B-L4S5I-IOT01A_AZURE-RTOS
- Copy
/app/azure_config-template.h
to/app/azure_config.h
, provide settings like WiFi password, IoT hostname etc.
- Visual Studio or VS Code with C/C++ tools
- ST B-L4S5I-IOT01A board
- 2.66" Waveshare e-Ink Display (optional)
From PowerShell run:
git clone --recursive https://github.com/tdjastrzebski/B-L4S5I-IOT01A_AZURE-RTOS
cd .\B-L4S5I-IOT01A_AZURE-RTOS
iex (iwr -useb https://aka.ms/vcpkg-init.ps1)
vcpkg activate
Start-Process devenv .
More info: Embedded Software Development in Visual Studio by Marc Goodner
Note: Visual Studio Preview version is no longer required.
- Waveshare user guide
- Waveshare specification
- demo code
- SSD1680Z e-Paper controller
- ST e-Paper driver
- https://github.com/lvgl/lv_font_conv (font converter as npm package!)
- https://lvgl.io/tools/fontconverter (online font converter)
- install:
npm i lv_font_conv -g
- run:
lv_font_conv --font ./liberation-mono.regular.ttf --symbols ° --range 0x20-0x7F --size 20 --format lvgl --bpp 1 --no-compress -o ./app/liberation_mono_20.c
- https://github.com/liberationfonts/liberation-fonts (Liberation Mono)
- https://www.1001fonts.com/liberation-mono-font.html
- https://github.com/fcambus/spleen
- https://www.freetype.org/ + https://gitlab.freedesktop.org/freetype
- http://www.angelcode.com/products/bmfont
- https://sourceforge.net/projects/terminus-font (Terminus font)
Note: e-Ink display is optional