Oscar Software Framework Manual Runtime DSP Library Module
Go to Table of Contents.
This module wraps the Blackfin DSP Runtime library from AnalogDevices. Its methods use exactly the same parameters and return values as the functions from the library. The target implementation therefore simply reroutes the call to the actual DSP library, i.e. the target code simply consists of defines renaming the functions. On the host, all the supported functions need to be written manually, since most of the content exists only as assembler code. Not all of the DSP runtime library functions are supported this way. Nonetheless on the target all functions can be accessed directly with their original name. See this page for a full list of functions.
None.
None.
a = OscRtlCAbsFr16(c); /* (1) */
- Use a function from the DSP library, but with the name from the framework to make it work on the host as well.
TARGET_LDFLAGS = -Wl,-elf2flt="-s 1048576" -lbfdsp -lm
Since the library is already part of the cross-compilation toolchain, no additional library path has to be declared.