application.fam 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. "!./lib/micropython",
  17. ],
  18. fap_private_libs=[
  19. Lib(
  20. name="micropython",
  21. cflags=[
  22. "-Wno-error",
  23. "-w",
  24. #
  25. # required for floating point support
  26. #
  27. "-mcpu=cortex-m4",
  28. "-mfloat-abi=hard",
  29. "-mfpu=fpv4-sp-d16",
  30. "-mthumb",
  31. "-fsingle-precision-constant",
  32. "-fno-math-errno",
  33. ],
  34. cincludes=["."]
  35. ),
  36. Lib(
  37. name="micropython-port",
  38. cflags=[
  39. "-Wno-error",
  40. "-w",
  41. #
  42. # required for floating point support
  43. #
  44. "-mcpu=cortex-m4",
  45. "-mfloat-abi=hard",
  46. "-mfpu=fpv4-sp-d16",
  47. "-mthumb",
  48. "-fsingle-precision-constant",
  49. "-fno-math-errno",
  50. ],
  51. cincludes=["."]
  52. ),
  53. ]
  54. )