SConscript 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Import("env")
  2. env.Append(
  3. LINT_SOURCES=[
  4. "lib/app-scened-template",
  5. "lib/digital_signal",
  6. "lib/drivers",
  7. "lib/flipper_format",
  8. "lib/infrared",
  9. "lib/nfc",
  10. "lib/one_wire",
  11. "lib/ST25RFAL002",
  12. "lib/subghz",
  13. "lib/toolbox",
  14. "lib/u8g2",
  15. "lib/update_util",
  16. "lib/print",
  17. ]
  18. )
  19. env.Append(
  20. CPPPATH=[
  21. "#/",
  22. "#/lib", # TODO: remove!
  23. "#/lib/mlib",
  24. # Ugly hack
  25. "${BUILD_DIR}/assets/compiled",
  26. ],
  27. CPPDEFINES=[
  28. '"M_MEMORY_FULL(x)=abort()"',
  29. ],
  30. )
  31. # drivers
  32. # fatfs
  33. # flipper_format
  34. # infrared
  35. # littlefs
  36. # subghz
  37. # toolbox
  38. # misc
  39. # digital_signal
  40. # fnv1a-hash
  41. # micro-ecc
  42. # microtar
  43. # nfc
  44. # one_wire
  45. # qrcode
  46. # u8g2
  47. # update_util
  48. # heatshrink
  49. # nanopb
  50. # apps
  51. # app-scened-template
  52. # callback-connector
  53. # app-template
  54. libs = env.BuildModules(
  55. [
  56. "STM32CubeWB",
  57. "freertos",
  58. "print",
  59. "microtar",
  60. "toolbox",
  61. "ST25RFAL002",
  62. "libusb_stm32",
  63. "drivers",
  64. "fatfs",
  65. "flipper_format",
  66. "infrared",
  67. "littlefs",
  68. "mbedtls",
  69. "subghz",
  70. "nfc",
  71. "appframe",
  72. "misc",
  73. "loclass",
  74. "lfrfid",
  75. ],
  76. )
  77. Return("libs")