* memory managment calls now forwarded to freertos heap * memory managment tests * local target test compability * rename heap.c file to heap_4.c for local target and explicity init heap in single thread context * rebase BlockLink_t struct * check mutex in local heap Co-authored-by: aanper <mail@s3f.ru>
		
			
				
	
	
		
			22 lines
		
	
	
		
			512 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			512 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
TOOLCHAIN = x86
 | 
						|
 | 
						|
# Sources
 | 
						|
C_SOURCES += $(TARGET_DIR)/Src/main.c
 | 
						|
C_SOURCES += $(TARGET_DIR)/Src/flipper_hal.c
 | 
						|
C_SOURCES += $(TARGET_DIR)/Src/lo_os.c
 | 
						|
C_SOURCES += $(TARGET_DIR)/Src/lo_hal.c
 | 
						|
 | 
						|
# CFLAGS += -DFURI_DEBUG
 | 
						|
CFLAGS += -I$(TARGET_DIR)/Inc
 | 
						|
CFLAGS += -Wall -fdata-sections -ffunction-sections -pthread
 | 
						|
LDFLAGS += -pthread
 | 
						|
 | 
						|
# FatFs library
 | 
						|
CFLAGS += -I$(TARGET_DIR)/fatfs
 | 
						|
C_SOURCES += $(TARGET_DIR)/fatfs/syscall.c
 | 
						|
 | 
						|
# memory manager
 | 
						|
C_SOURCES += $(TARGET_DIR)/Src/heap_4.c
 | 
						|
 | 
						|
run: all
 | 
						|
	$(OBJ_DIR)/$(PROJECT).elf
 |