From c81583c1285cc38aaf7e4fd9dd97d961db9244c3 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Sat, 14 Aug 2021 19:34:12 +1000 Subject: [PATCH] makefile: Check environment for MEMORY_SIZE/RAM_INIT_FILE Signed-off-by: Anton Blanchard --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 46bfdaa..9f308ba 100644 --- a/Makefile +++ b/Makefile @@ -141,8 +141,8 @@ $(soc_dram_tbs): %: $(soc_dram_files) $(soc_dram_sim_files) $(soc_dram_sim_obj_f endif # Hello world -MEMORY_SIZE=8192 -RAM_INIT_FILE=hello_world/hello_world.hex +MEMORY_SIZE ?=8192 +RAM_INIT_FILE ?=hello_world/hello_world.hex # Micropython #MEMORY_SIZE=393216