SConscript 1.2 KB

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