toolchain: added simple ftm library

example changed to match