Ported libraries

This is a list of commonly-used C libraries that are supported in BlocksDS but not installed by default. Some of them are provided by Wonderful Toolchain itself, others are provided by BlocksDS. You can install them with wf-pacman.

libpng

libpng is the official PNG reference library. It supports almost all PNG features, is extensible, and has been extensively tested for over 30 years

Install it with:

wf-pacman -Sy toolchain-gcc-arm-none-eabi-libpng16

Link it with:

LIBS += -lpng -lz

zlib

zlib is designed to be a free, general-purpose, legally unencumbered – that is, not covered by any patents – lossless data-compression library for use on virtually any computer hardware and operating system.

Install it with:

wf-pacman -Sy toolchain-gcc-arm-none-eabi-zlib

Link it with:

LIBS += -lz

FreeType

FreeType is a freely available software library to render fonts. It is written in C, designed to be small, efficient, highly customizable, and portable while capable of producing high-quality output (glyph images) of most vector and bitmap font formats.

Install it with:

wf-pacman -Sy toolchain-gcc-arm-none-eabi-freetype

Link it with:

LIBS += -lfreetype

Mbed TLS

Mbed TLS is a C library that implements X.509 certificate manipulation and the TLS and DTLS protocols. Its small code footprint makes it suitable for embedded systems.

Install it with:

wf-pacman -Sy blocksds-mbedtls

Link it with:

LIBS    += -lmbedcrypto -lmbedtls -lmbedx509
LIBDIRS += $(BLOCKSDSEXT)/mbedtls

libcurl

libcurl is a free and easy-to-use client-side URL transfer library, supporting many protocols and features. It is highly portable, thread-safe, IPv6 compatible, well documented and widely used by many companies.

Install it with:

wf-pacman -Sy blocksds-libcurl

Link it with:

LIBS    += -lmbedcrypto -lmbedtls -lmbedx509 -lcurl -lz
LIBDIRS += $(BLOCKSDSEXT)/mbedtls $(BLOCKSDSEXT)/libcurl