diff src/cs/os/nucleus/nucleus.def @ 0:92470e5d0b9e

src: partial import from FC Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 01:28:16 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cs/os/nucleus/nucleus.def	Fri May 15 01:28:16 2020 +0000
@@ -0,0 +1,22 @@
+########################################
+# LIBRARIES / MODULES definition       #
+########################################
+
+# to avoid multiple nucleus.def (import + include) 
+ifndef NUCLEUS_DEF
+   NUCLEUS_DEF = 1
+
+### Nucleus libraries
+###########################
+
+  ifeq ($(OP_L1_STANDALONE),1)
+    OUT_OS_LIB_DIR = $(OUT_LIB_DIR)
+  endif
+
+  export OS_FLASH_LIB     = $(OUT_OS_LIB_DIR)/nucleus_flash.lib
+  export OS_INT_RAM_LIB   = $(OUT_OS_LIB_DIR)/nucleus_int_ram.lib
+  export OS_LIB          := $(OS_FLASH_LIB) $(OS_INT_RAM_LIB)
+
+  MODULES     += $(OS_NUC_DIR)
+
+endif