summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-10-11 09:46:29 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2021-10-11 09:46:29 +0200
commitbfea211b190d5dfe06d0ab88ba1b5bfc0781e57b (patch)
tree94f6a782510a940f59bbbae384ed26600886e108
parentd29c615741006cce3c49f64b4ba23534534e5526 (diff)
add nfpvalues and nfpkeys make targets
-rw-r--r--Makefile5
-rw-r--r--src/arch/arduino-nano/Makefile.inc3
-rw-r--r--src/arch/atmega2560/Makefile.inc3
-rw-r--r--src/arch/blinkenrocket/Makefile.inc3
-rw-r--r--src/arch/esp8266/Makefile.inc3
-rw-r--r--src/arch/lm4f120h5qr-stellaris/Makefile.inc3
-rw-r--r--src/arch/lora32u4ii/Makefile.inc6
-rw-r--r--src/arch/msp430fr5969lp/Makefile.inc3
-rw-r--r--src/arch/msp430fr5994lp/Makefile.inc4
-rw-r--r--src/arch/posix/Makefile.inc3
-rw-r--r--src/arch/stm32f446re-nucleo/Makefile.inc3
11 files changed, 38 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bf74aff..a443344 100644
--- a/Makefile
+++ b/Makefile
@@ -321,4 +321,7 @@ info: arch_info
@echo "CXXFLAGS: ${CXXFLAGS}"
@echo "Selected (common/arch) drivers: ${drivers} / ${arch_drivers}"
-.PHONY: clean config default randconfig stack stackm help info
+nfpkeys:
+ @echo '{"OS Image": {"ROM": {"unit": "B", "description": "ROM size", "minimize": true}, "RAM": {"unit": "B", "description": "RAM size", "minimize": true}}}'
+
+.PHONY: clean config default randconfig stack stackm help info nfpkeys
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc
index 0ce2ef7..82c3a28 100644
--- a/src/arch/arduino-nano/Makefile.inc
+++ b/src/arch/arduino-nano/Makefile.inc
@@ -187,4 +187,7 @@ arch_info:
attributes: build/system.elf
${QUIET}script/size.py avr-size text,data data,bss
+nfpvalues: build/system.elf
+ ${QUIET}script/nfpvalues.py avr-size text,data data,bss
+
.PHONY: arch_clean arch_help arch_info attributes cat monitor program size
diff --git a/src/arch/atmega2560/Makefile.inc b/src/arch/atmega2560/Makefile.inc
index acfd65a..29e6453 100644
--- a/src/arch/atmega2560/Makefile.inc
+++ b/src/arch/atmega2560/Makefile.inc
@@ -182,4 +182,7 @@ arch_info:
attributes: build/system.elf
${QUIET}script/size.py avr-size text,data data,bss
+nfpvalues: build/system.elf
+ ${QUIET}script/nfpvalues.py avr-size text,data data,bss
+
.PHONY: arch_clean arch_help arch_info attributes cat monitor program size
diff --git a/src/arch/blinkenrocket/Makefile.inc b/src/arch/blinkenrocket/Makefile.inc
index 64e87f5..af8795c 100644
--- a/src/arch/blinkenrocket/Makefile.inc
+++ b/src/arch/blinkenrocket/Makefile.inc
@@ -91,4 +91,7 @@ arch_info:
attributes: build/system.elf
${QUIET}script/size.py avr-size text,data data,bss
+nfpvalues: build/system.elf
+ ${QUIET}script/nfpvalues.py avr-size text,data data,bss
+
.PHONY: arch_clean arch_help arch_info attributes monitor program
diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc
index b796bc4..51106b1 100644
--- a/src/arch/esp8266/Makefile.inc
+++ b/src/arch/esp8266/Makefile.inc
@@ -121,4 +121,7 @@ arch_info:
attributes: build/system.elf
${QUIET}script/size.py ${SIZE} text,irom0.text data,bss
+nfpvalues: build/system.elf
+ ${QUIET}script/nfpvalues.py ${SIZE} text,irom0.text data,bss
+
.PHONY: arch_clean arch_help arch_info attributes cat monitor program
diff --git a/src/arch/lm4f120h5qr-stellaris/Makefile.inc b/src/arch/lm4f120h5qr-stellaris/Makefile.inc
index 7d1e5e9..38f799f 100644
--- a/src/arch/lm4f120h5qr-stellaris/Makefile.inc
+++ b/src/arch/lm4f120h5qr-stellaris/Makefile.inc
@@ -127,4 +127,7 @@ arch_info:
attributes: build/system.elf
${QUIET}script/size.py ${SIZE} text,data data,bss
+nfpvalues: build/system.elf
+ ${QUIET}script/nfpvalues.py ${SIZE} text,data data,bss
+
.PHONY: arch_clean arch_help arch_info attributes cat monitor program
diff --git a/src/arch/lora32u4ii/Makefile.inc b/src/arch/lora32u4ii/Makefile.inc
index f14bc8c..2cb2411 100644
--- a/src/arch/lora32u4ii/Makefile.inc
+++ b/src/arch/lora32u4ii/Makefile.inc
@@ -134,4 +134,10 @@ arch_info:
@echo "Counter Overflow: 65536/255"
@echo "Monitor: ${SERIAL_PORT} ${uart_baud}"
+attributes: build/system.elf
+ ${QUIET}script/size.py avr-size text,data data,bss
+
+nfpvalues: build/system.elf
+ ${QUIET}script/nfpvalues.py avr-size text,data data,bss
+
.PHONY: arch_clean arch_help arch_info monitor program
diff --git a/src/arch/msp430fr5969lp/Makefile.inc b/src/arch/msp430fr5969lp/Makefile.inc
index a67a950..411e296 100644
--- a/src/arch/msp430fr5969lp/Makefile.inc
+++ b/src/arch/msp430fr5969lp/Makefile.inc
@@ -165,4 +165,7 @@ arch_info:
attributes: build/system.elf
${QUIET}script/size.py ${SIZE} text,data data,bss
+nfpvalues: build/system.elf
+ ${QUIET}script/nfpvalues.py ${SIZE} text,data data,bss
+
.PHONY: arch_clean arch_help arch_info attributes monitor program
diff --git a/src/arch/msp430fr5994lp/Makefile.inc b/src/arch/msp430fr5994lp/Makefile.inc
index 56038bc..aecf6fa 100644
--- a/src/arch/msp430fr5994lp/Makefile.inc
+++ b/src/arch/msp430fr5994lp/Makefile.inc
@@ -215,9 +215,13 @@ gdb:
ifdef CONFIG_arch_msp430fr5994lp_large_mode
attributes: build/system.elf
${QUIET}script/size.py ${SIZE} text,lower.text,upper.text,data,lower.data,upper.data data,lower.data,upper.data,bss,lower.bss,upper.bss
+nfpvalues: build/system.elf
+ ${QUIET}script/nfpvalues.py ${SIZE} text,lower.text,upper.text,data,lower.data,upper.data data,lower.data,upper.data,bss,lower.bss,upper.bss
else
attributes: build/system.elf
${QUIET}script/size.py ${SIZE} text,data data,bss
+nfpvalues: build/system.elf
+ ${QUIET}script/nfpvalues.py ${SIZE} text,data data,bss
endif
.PHONY: arch_clean arch_help arch_info attributes cat monitor program
diff --git a/src/arch/posix/Makefile.inc b/src/arch/posix/Makefile.inc
index 5e7e7ee..2f938a8 100644
--- a/src/arch/posix/Makefile.inc
+++ b/src/arch/posix/Makefile.inc
@@ -77,4 +77,7 @@ arch_info:
attributes: build/system.elf
${QUIET}script/size.py size text data,bss
+nfpvalues: build/system.elf
+ ${QUIET}script/nfpvalues.py size text data,bss
+
.PHONY: arch_clean arch_help arch_info attributes monitor program run
diff --git a/src/arch/stm32f446re-nucleo/Makefile.inc b/src/arch/stm32f446re-nucleo/Makefile.inc
index 9524f5a..2b39d62 100644
--- a/src/arch/stm32f446re-nucleo/Makefile.inc
+++ b/src/arch/stm32f446re-nucleo/Makefile.inc
@@ -134,4 +134,7 @@ arch_info:
attributes: build/system.elf
${QUIET}script/size.py ${SIZE} text,data data,bss
+nfpvalues: build/system.elf
+ ${QUIET}script/nfpvalues.py ${SIZE} text,data data,bss
+
.PHONY: arch_clean arch_help arch_info attributes cat monitor program