Cargo Features

[dependencies]
tmledkey-hal-drv = { version = "0.1.1", default-features = false, features = ["galloc", "keys", "clkdio", "clkdiostb", "fx", "demo"] }
default = clkdio, clkdiostb

Features that require global_allocator are not enabled by default. If you need smaller binary you can use flag default-features = false and manually choose features you need.

galloc fx?

Global allocator functions

Affects utils::double_bytes

keys demo?

Enable key scan functionality (reading data)

Affects tmledkey-hal-drv::tm_read_byte_2wire, tmledkey-hal-drv::tm_read_bytes_3wire

clkdio default demo?

Enable 2 wire inteface CLK + DIO

Affects tmledkey-hal-drv::tm_send_bytes_2wire, tmledkey-hal-drv::tm_read_byte_2wire

clkdiostb default demo?

Enable 3 wire inteface CLK + DIO + STB

Affects tmledkey-hal-drv::tm_send_bytes_3wire, tmledkey-hal-drv::tm_read_bytes_3wire

fx demo? = galloc

Add animation effects helpers

Affects tmledkey-hal-drv::fx

demo = clkdio, clkdiostb, fx, keys

Demo code that you probably would not be needeed for production code

Affects tmledkey-hal-drv::demo