Commit 3117296f authored by Simon Duquennoy's avatar Simon Duquennoy
Browse files

Make viewconf: pretty printing

parent 11de95ef
......@@ -62,16 +62,16 @@ savedefines:
@echo >Makefile.$(TARGET).defines "DEFINES = $(DEFINES)"
viewconf:
@echo "---------- Make variables: ----------"
@echo "##### \"TARGET\": $(TARGET)"
@echo "##### \"BOARD\": $(BOARD)"
@echo "##### \"MAKE_MAC\": $(MAKE_MAC)"
@echo "##### \"MAKE_NET\": $(MAKE_NET)"
@echo "##### \"CONTIKI_WITH_RPL\": $(CONTIKI_WITH_RPL)"
@echo "##### \"CONTIKI_WITH_RPL_LITE\": $(CONTIKI_WITH_RPL_LITE)"
@echo "----------- C variables: ------------"
@echo "----------------- Make variables: --------------"
@echo "##### \"TARGET\": ________________________________ $(TARGET)"
@echo "##### \"BOARD\": _________________________________ $(BOARD)"
@echo "##### \"MAKE_MAC\": ______________________________ $(MAKE_MAC)"
@echo "##### \"MAKE_NET\": ______________________________ $(MAKE_NET)"
@echo "##### \"CONTIKI_WITH_RPL\": ______________________ $(CONTIKI_WITH_RPL)"
@echo "##### \"CONTIKI_WITH_RPL_LITE\": _________________ $(CONTIKI_WITH_RPL_LITE)"
@echo "----------------- C variables: -----------------"
$(Q)$(CC) $(CFLAGS) -E $(CONTIKI)/tools/viewconf.c | grep \#\#\#\#\#
@echo "-------------------------------------"
@echo "------------------------------------------------"
@echo "To view more Make variables, edit $(CONTIKI)/Makefile.include, rule 'viewconf'"
@echo "To view more C variables, edit $(CONTIKI)/tools/viewconf.c"
......
#include "contiki.h"
##### "PROJECT_CONF_PATH": PROJECT_CONF_PATH
##### "MAC_CONF_WITH_NULLMAC": MAC_CONF_WITH_NULLMAC
##### "MAC_CONF_WITH_CSMA": MAC_CONF_WITH_CSMA
##### "MAC_CONF_WITH_TSCH": MAC_CONF_WITH_TSCH
##### "MAC_CONF_WITH_OTHER": MAC_CONF_WITH_OTHER
##### "NETSTACK_CONF_WITH_NULLNET": NETSTACK_CONF_WITH_NULLNET
##### "NETSTACK_CONF_WITH_IPV6": NETSTACK_CONF_WITH_IPV6
##### "NETSTACK_CONF_WITH_OTHER": NETSTACK_CONF_WITH_OTHER
##### "CONTIKI_VERSION_STRING": CONTIKI_VERSION_STRING
##### "AUTOSTART_ENABLE": AUTOSTART_ENABLE
##### "QUEUEBUF_CONF_NUM": QUEUEBUF_CONF_NUM
##### "NBR_TABLE_CONF_MAX_NEIGHBORS": NBR_TABLE_CONF_MAX_NEIGHBORS
##### "NETSTACK_MAX_ROUTE_ENTRIES": NETSTACK_MAX_ROUTE_ENTRIES
##### "UIP_CONF_BUFFER_SIZE": UIP_CONF_BUFFER_SIZE
##### "UIP_CONF_ROUTER": UIP_CONF_ROUTER
##### "NBR_TABLE_FIND_REMOVABLE": NBR_TABLE_FIND_REMOVABLE
##### "UIP_CONF_UDP": UIP_CONF_UDP
##### "UIP_CONF_UDP_CONNS": UIP_CONF_UDP_CONNS
##### "UIP_CONF_TCP": UIP_CONF_TCP
##### "UIP_CONF_TCP_CONNS": UIP_CONF_TCP_CONNS
##### "UIP_CONF_ND6_SEND_RA": UIP_CONF_ND6_SEND_RA
##### "UIP_CONF_ND6_SEND_NS": UIP_CONF_ND6_SEND_NS
##### "UIP_CONF_ND6_AUTOFILL_NBR_CACHE": UIP_CONF_ND6_AUTOFILL_NBR_CACHE
##### "UIP_CONF_ND6_SEND_NA": UIP_CONF_ND6_SEND_NA
##### "SICSLOWPAN_CONF_FRAG": SICSLOWPAN_CONF_FRAG
##### "SICSLOWPAN_CONF_MAC_MAX_PAYLOAD": SICSLOWPAN_CONF_MAC_MAX_PAYLOAD
##### "SICSLOWPAN_CONF_COMPRESSION": SICSLOWPAN_CONF_COMPRESSION
##### "PROJECT_CONF_PATH": _____________________ PROJECT_CONF_PATH
##### "MAC_CONF_WITH_NULLMAC": _________________ MAC_CONF_WITH_NULLMAC
##### "MAC_CONF_WITH_CSMA": ____________________ MAC_CONF_WITH_CSMA
##### "MAC_CONF_WITH_TSCH": ____________________ MAC_CONF_WITH_TSCH
##### "MAC_CONF_WITH_OTHER": ___________________ MAC_CONF_WITH_OTHER
##### "NETSTACK_CONF_WITH_NULLNET": ____________ NETSTACK_CONF_WITH_NULLNET
##### "NETSTACK_CONF_WITH_IPV6": _______________ NETSTACK_CONF_WITH_IPV6
##### "NETSTACK_CONF_WITH_OTHER": ______________ NETSTACK_CONF_WITH_OTHER
##### "CONTIKI_VERSION_STRING": ________________ CONTIKI_VERSION_STRING
##### "AUTOSTART_ENABLE": ______________________ AUTOSTART_ENABLE
##### "QUEUEBUF_CONF_NUM": _____________________ QUEUEBUF_CONF_NUM
##### "NBR_TABLE_CONF_MAX_NEIGHBORS": __________ NBR_TABLE_CONF_MAX_NEIGHBORS
##### "NETSTACK_MAX_ROUTE_ENTRIES": ____________ NETSTACK_MAX_ROUTE_ENTRIES
##### "UIP_CONF_BUFFER_SIZE": __________________ UIP_CONF_BUFFER_SIZE
##### "UIP_CONF_ROUTER": _______________________ UIP_CONF_ROUTER
##### "NBR_TABLE_FIND_REMOVABLE": ______________ NBR_TABLE_FIND_REMOVABLE
##### "UIP_CONF_UDP": __________________________ UIP_CONF_UDP
##### "UIP_CONF_UDP_CONNS": ____________________ UIP_CONF_UDP_CONNS
##### "UIP_CONF_TCP": __________________________ UIP_CONF_TCP
##### "UIP_CONF_TCP_CONNS": ____________________ UIP_CONF_TCP_CONNS
##### "UIP_CONF_ND6_SEND_RA": __________________ UIP_CONF_ND6_SEND_RA
##### "UIP_CONF_ND6_SEND_NS": __________________ UIP_CONF_ND6_SEND_NS
##### "UIP_CONF_ND6_AUTOFILL_NBR_CACHE": _______ UIP_CONF_ND6_AUTOFILL_NBR_CACHE
##### "UIP_CONF_ND6_SEND_NA": __________________ UIP_CONF_ND6_SEND_NA
##### "SICSLOWPAN_CONF_FRAG": __________________ SICSLOWPAN_CONF_FRAG
##### "SICSLOWPAN_CONF_MAC_MAX_PAYLOAD": _______ SICSLOWPAN_CONF_MAC_MAX_PAYLOAD
##### "SICSLOWPAN_CONF_COMPRESSION": ___________ SICSLOWPAN_CONF_COMPRESSION
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment