Add -M to the LDFLAGS += will produce a (really huge) map.

Use:

grep -B1 main.c.o M311041523.map |\
grep -v 0x0000000000000000| sed "s/0x00000000//"|grep -v ' .debug_' |\
sed "s'_build/                  +ruuvi_firmware_main.c.o'';s/000//"|grep -v - \-\-| grep -v \.comment|grep -v LOAD|sed "s/.str1.4//"

to extract symbols related to the main

static Data items i.e. .data.

For example:

 .text.sd_app_evt_wait
                2405c        0x4 
 .text.sd_temp_get
                24060        0x4 
 .text.nrf_delay_us
                24064       0x88 
 .text.accelerometer_scheduler_event_handler
                240ec       0x1c 
 .text.main_timer_handler
                24108      0x26c 
 .text.button_press_handler
                24374       0x20 
 .text.lis2dh12_int2_handler
                24394       0x20 
 .text.reinit_nfc
                243b4        0x4 
 .text.app_nfc_callback
                243b8       0x5c 
 .text.change_format
                24414      0x53c 
 .text.startup.main
                24950      0x4f4 


 .rodata.accelerometer_scheduler_event_handler
                356b4       0x30 
 .rodata.app_nfc_callback
                356e4       0x6b 
 .rodata.change_format
                35750       0x80 
 .rodata.main
                357d0      0x1e2 
 .rodata.main_timer_handler
                359b4       0xbe 


 .data.fast_advetising.12407
                22da0        0x1 
 .data.highres  22da1        0x1 
 .data.url_buffer
                22da4       0x12 

 .bss.acceleration_events
                245d4        0x2 
 .bss.advertising_interval
                245d6        0x2 
 .bss.data      245d8        0xe 
 .bss.data_buffer
                245e8       0x18 
 .bss.debounce  24600        0x8 
 .bss.format    24608        0x1 
 .bss.init_status
                2460a        0x2 
 .bss.main_loop_interval
                2460c        0x4 
 .bss.main_timer_id_data
                24610       0x20 
 .bss.model_plus
                24630        0x1 
 .bss.resets    24631        0x1 
 .bss.vbat      24632        0x2 

 .ARM.attributes
                007b6       0x39 
                00970       0x70 
                                      0x6d8a1 (size before relaxing)