application.fam 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # For details & more options, see documentation/AppManifests.md in firmware repo
  2. App(
  3. appid="mp_flipper_app", # Must be unique
  4. name="uPython", # Displayed in menus
  5. apptype=FlipperAppType.EXTERNAL,
  6. entry_point="mp_flipper_app",
  7. stack_size=4 * 1024,
  8. fap_category="Examples",
  9. fap_icon="icon.png", # 10x10 1-bit PNG
  10. fap_author="Oliver Fabel",
  11. fap_file_assets="examples",
  12. # fap_weburl="https://github.com/user/funky_flipper_app",
  13. # fap_icon_assets="images", # Image assets to compile for this application
  14. sources=[
  15. "*.c*",
  16. "!./build-embed",
  17. "!./lib/micropython",
  18. ],
  19. fap_private_libs=[
  20. Lib(
  21. name="micropython-build",
  22. cflags=[
  23. "-Wno-error",
  24. "-w",
  25. #
  26. # required for floating point support
  27. #
  28. "-mcpu=cortex-m4",
  29. "-mfloat-abi=hard",
  30. "-mfpu=fpv4-sp-d16",
  31. "-mthumb",
  32. "-fsingle-precision-constant",
  33. "-fno-math-errno",
  34. ],
  35. cincludes=["."]
  36. ),
  37. Lib(
  38. name="micropython-port",
  39. cflags=[
  40. "-Wno-error",
  41. "-w",
  42. #
  43. # required for floating point support
  44. #
  45. "-mcpu=cortex-m4",
  46. "-mfloat-abi=hard",
  47. "-mfpu=fpv4-sp-d16",
  48. "-mthumb",
  49. "-fsingle-precision-constant",
  50. "-fno-math-errno",
  51. ],
  52. cincludes=["."]
  53. ),
  54. ]
  55. )