MBED port: using MEMORY_MEASURE and MEMORY_MEASURE_ADV as two separate options