 95c1585df6
			
		
	
	
		95c1585df6
		
			
		
	
	
	
	
		
			
			* Music player: move music_worker to library * Music player: drop cli * Debug: speaker debug app * Debug: baudrate arg in uart_echo app * Libs: add music_worker to api * Libs: add music_worker to targets linker_dependencies Co-authored-by: あく <alleteam@gmail.com>
		
			
				
	
	
		
			109 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			109 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| Import("env")
 | |
| 
 | |
| env.Append(
 | |
|     LINT_SOURCES=[
 | |
|         Dir("app-scened-template"),
 | |
|         Dir("digital_signal"),
 | |
|         Dir("pulse_reader"),
 | |
|         Dir("drivers"),
 | |
|         Dir("flipper_format"),
 | |
|         Dir("infrared"),
 | |
|         Dir("nfc"),
 | |
|         Dir("ST25RFAL002"),
 | |
|         Dir("subghz"),
 | |
|         Dir("toolbox"),
 | |
|         Dir("u8g2"),
 | |
|         Dir("update_util"),
 | |
|         Dir("print"),
 | |
|         Dir("music_worker"),
 | |
|     ],
 | |
| )
 | |
| 
 | |
| 
 | |
| env.Append(
 | |
|     CPPPATH=[
 | |
|         "#/",
 | |
|         "#/lib",  # TODO: remove!
 | |
|         "#/lib/mlib",
 | |
|         # Ugly hack
 | |
|         Dir("../assets/compiled"),
 | |
|     ],
 | |
|     SDK_HEADERS=[
 | |
|         *(
 | |
|             File(f"#/lib/mlib/m-{name}.h")
 | |
|             for name in (
 | |
|                 "algo",
 | |
|                 "array",
 | |
|                 "bptree",
 | |
|                 "core",
 | |
|                 "deque",
 | |
|                 "dict",
 | |
|                 "list",
 | |
|                 "rbtree",
 | |
|                 "tuple",
 | |
|                 "variant",
 | |
|             )
 | |
|         ),
 | |
|     ],
 | |
|     CPPDEFINES=[
 | |
|         '"M_MEMORY_FULL(x)=abort()"',
 | |
|     ],
 | |
| )
 | |
| 
 | |
| 
 | |
| # drivers
 | |
| # fatfs
 | |
| # flipper_format
 | |
| # infrared
 | |
| # littlefs
 | |
| # subghz
 | |
| # toolbox
 | |
| # one_wire
 | |
| # micro-ecc
 | |
| # misc
 | |
| #    digital_signal
 | |
| #    fnv1a_hash
 | |
| #    microtar
 | |
| #    nfc
 | |
| #    qrcode
 | |
| #    u8g2
 | |
| #    update_util
 | |
| #    heatshrink
 | |
| #    nanopb
 | |
| # apps
 | |
| #    app-scened-template
 | |
| #    callback-connector
 | |
| #    app-template
 | |
| 
 | |
| 
 | |
| libs = env.BuildModules(
 | |
|     [
 | |
|         "stm32wb",
 | |
|         "freertos",
 | |
|         "print",
 | |
|         "microtar",
 | |
|         "toolbox",
 | |
|         "ST25RFAL002",
 | |
|         "libusb_stm32",
 | |
|         "drivers",
 | |
|         "fatfs",
 | |
|         "flipper_format",
 | |
|         "one_wire",
 | |
|         "ibutton",
 | |
|         "infrared",
 | |
|         "littlefs",
 | |
|         "mbedtls",
 | |
|         "subghz",
 | |
|         "nfc",
 | |
|         "digital_signal",
 | |
|         "pulse_reader",
 | |
|         "appframe",
 | |
|         "misc",
 | |
|         "lfrfid",
 | |
|         "flipper_application",
 | |
|         "music_worker",
 | |
|     ],
 | |
| )
 | |
| 
 | |
| Return("libs")
 |