diff --git a/Makefile b/Makefile index bf74aff8a6181813fe2c90b1023911cbae667723..a4433447fde598b02011a4a1a2617af8a11097a4 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 0ce2ef79b8396d2641c85fc6cb91e29bcfd581c5..82c3a285b6bd1a3d4c87c722c6234c93957b42d6 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 acfd65a5615ba6c93d797f719da9ed63a96be00e..29e64536a10edec2f1e536ecbe67d2f8d801bedf 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 64e87f54340460836550ed64717776374cf8b87b..af8795ce1754a660a742d1d7da2554266af3ec49 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 b796bc4b62025b76f371a7e4e397cb948577a24e..51106b16c84e3fb545425259d0980bc55e89498c 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 7d1e5e9f64fa0eae31db8e548a3c711e63b94ea3..38f799fdc332c977cfc6becfde2dd51fad72d315 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 f14bc8c975adcaac487a3b5c6db6cccab9b1f1c3..2cb2411297c4e73ddb10d62efe447e0fcb880ca3 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 a67a9506c0e6bba6f169d1399ec5f62f436d3332..411e2963bf3951600a86edfbe73ddbd686686150 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 56038bc346bc20ccf6a24b76004c3a04f3888081..aecf6fa778c55b9f4e4e4a35da962040daa4540e 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 5e7e7eed0f83588ed34e6811cb39e612d62abc91..2f938a826a20bedf4ef10bcbddb0a04991f16f70 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 9524f5a97c0a66a70ee8d1dbeb535ba6394c29e6..2b39d6251561925a4c11103a012407e45801fc7b 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