mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 20:49:49 +04:00
* make infrared db unit tests * fix the tests, no assets are in asset folder oh no * fix formate * ship ir app along with unit_test pkg * libify ir signal and bruteforce parts * small cleanup * api: removed infrared methods (you can link with the lib if needed), unit_tests, infrared: adjusted to link with ir lib; api: added `__aeabi_f2d` --------- Co-authored-by: hedger <hedger@users.noreply.github.com> Co-authored-by: hedger <hedger@nanode.su>
31 lines
707 B
Python
31 lines
707 B
Python
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/infrared/encoder_decoder",
|
|
"#/lib/infrared/worker",
|
|
"#/lib/infrared/signal",
|
|
],
|
|
SDK_HEADERS=[
|
|
File("encoder_decoder/infrared.h"),
|
|
File("worker/infrared_worker.h"),
|
|
File("worker/infrared_transmit.h"),
|
|
File("signal/infrared_error_code.h"),
|
|
File("signal/infrared_signal.h"),
|
|
File("signal/infrared_brute_force.h"),
|
|
],
|
|
LINT_SOURCES=[
|
|
Dir("."),
|
|
],
|
|
)
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="infrared")
|
|
libenv.ApplyLibFlags()
|
|
|
|
sources = libenv.GlobRecursive("*.c")
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|