mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-09 23:54:32 +00:00
- Use `nm -aP` for parsing both addres and size information - Use symbol section information for parsing
58 lines
2.8 KiB
Plaintext
58 lines
2.8 KiB
Plaintext
PATH_CONTIKI = ../../..
|
|
PATH_COOJA_CORE_RELATIVE = /platform/cooja
|
|
PATH_MAKE = make
|
|
PATH_LINKER = ld
|
|
PATH_AR = ar
|
|
PATH_SHELL = sh
|
|
PATH_C_COMPILER = gcc
|
|
PATH_OBJDUMP=objdump
|
|
PATH_OBJCOPY=objcopy
|
|
OBJDUMP_ARGS=-h
|
|
CMD_GREP_PROCESSES = grep "^PROCESS_THREAD[ ]*([^,]*,[^,]*,[^)]*)" -o -H
|
|
REGEXP_PARSE_PROCESSES = ([^/]*.c):PROCESS_THREAD[ ]*\\(([^,]*),[^,]*,[^)]*\\)
|
|
CMD_GREP_INTERFACES = grep "^SIM_INTERFACE([^,]*," -o -d skip -D skip -H -r
|
|
REGEXP_PARSE_INTERFACES = ([^/]*.c):SIM_INTERFACE\\(([^,]*),
|
|
CMD_GREP_SENSORS = grep "^SENSORS_SENSOR([^,]*," -o -d skip -D skip -H -r
|
|
REGEXP_PARSE_SENSORS = ([^/]*.c):SENSORS_SENSOR\\(([^,]*),
|
|
COMPILER_ARGS = -I'$(JAVA_HOME)/include' -I'$(JAVA_HOME)/include/linux' -fno-builtin-printf
|
|
LINK_COMMAND_1 = gcc -I'$(JAVA_HOME)/include' -I'$(JAVA_HOME)/include/linux' -shared -Wl,-Map=$(MAPFILE) -o $(LIBFILE)
|
|
LINK_COMMAND_2 =
|
|
AR_COMMAND_1 = ar rcf $(ARFILE)
|
|
AR_COMMAND_2 =
|
|
CONTIKI_STANDARD_PROCESSES = sensors_process;etimer_process
|
|
CORECOMM_TEMPLATE_FILENAME = corecomm_template.java
|
|
PATH_JAVAC = javac
|
|
DEFAULT_PROJECTDIRS = [CONTIKI_DIR]/tools/cooja/apps/mrm;[CONTIKI_DIR]/tools/cooja/apps/mspsim;[CONTIKI_DIR]/tools/cooja/apps/avrora;[CONTIKI_DIR]/tools/cooja/apps/serial_socket;[CONTIKI_DIR]/tools/cooja/apps/collect-view;[CONTIKI_DIR]/tools/cooja/apps/powertracker
|
|
|
|
PARSE_WITH_COMMAND=false
|
|
MAPFILE_DATA_START = ^.data[ \t]*0x([0-9A-Fa-f]*)[ \t]*0x[0-9A-Fa-f]*[ \t]*$
|
|
MAPFILE_DATA_SIZE = ^.data[ \t]*0x[0-9A-Fa-f]*[ \t]*0x([0-9A-Fa-f]*)[ \t]*$
|
|
MAPFILE_BSS_START = ^.bss[ \t]*0x([0-9A-Fa-f]*)[ \t]*0x[0-9A-Fa-f]*[ \t]*$
|
|
MAPFILE_BSS_SIZE = ^.bss[ \t]*0x[0-9A-Fa-f]*[ \t]*0x([0-9A-Fa-f]*)[ \t]*$
|
|
MAPFILE_VAR_NAME = ^[ \t]*(0x[0-9A-Fa-f]*)[ \t]*([^ ]*)[ \t]*$
|
|
MAPFILE_VAR_ADDRESS_1 = ^[ \t]*0x([0-9A-Fa-f]*)[ \t]*
|
|
MAPFILE_VAR_ADDRESS_2 = [ \t]*$
|
|
MAPFILE_VAR_SIZE_1 = ^
|
|
MAPFILE_VAR_SIZE_2 = [ \t]*(0x[0-9A-Fa-f]*)[ \t]*[^ ]*[ \t]*$
|
|
|
|
PARSE_COMMAND=nm -aP $(LIBFILE)
|
|
COMMAND_VAR_NAME_ADDRESS_SIZE = ^([^.].*?) <SECTION> ([0-9a-fA-F]+) ([0-9a-fA-F])*
|
|
COMMAND_VAR_SEC_DATA = [DdGg]
|
|
COMMAND_VAR_SEC_BSS = [Bb]
|
|
COMMAND_VAR_SEC_COMMON = [C]
|
|
COMMAND_VAR_SEC_READONLY = [Rr]
|
|
COMMAND_DATA_START = ^.data[ \t]d[ \t]([0-9A-Fa-f]*)[ \t]*$
|
|
COMMAND_DATA_END = ^_edata[ \t]A[ \t]([0-9A-Fa-f]*)[ \t]*$
|
|
COMMAND_BSS_START = ^__bss_start[ \t]A[ \t]([0-9A-Fa-f]*)[ \t]*$
|
|
COMMAND_BSS_END = ^_end[ \t]A[ \t]([0-9A-Fa-f]*)[ \t]*$
|
|
COMMAND_READONLY_START = ^.rodata[ \t]r[ \t]([0-9A-Fa-f]*)[ \t]*$
|
|
COMMAND_READONLY_END = ^.eh_frame_hdr[ \t]r[ \t]([0-9A-Fa-f]*)[ \t]*$
|
|
|
|
VISUALIZER_DEFAULT_SKINS=\
|
|
org.contikios.cooja.plugins.skins.IDVisualizerSkin;\
|
|
org.contikios.cooja.plugins.skins.GridVisualizerSkin;\
|
|
org.contikios.cooja.plugins.skins.DGRMVisualizerSkin;\
|
|
org.contikios.cooja.plugins.skins.TrafficVisualizerSkin;\
|
|
org.contikios.cooja.plugins.skins.UDGMVisualizerSkin;\
|
|
org.contikios.mrm.MRMVisualizerSkin
|