-placementsegments segments
The -placementsegments option supplies segments descriptions to the section placement file. You can use this rather than supplying a memory map file.
A simple memory map with FLASH and SRAM can be supplied as follows:
-placementsegments "FLASH RX 0x0 0x10000;SRAM RWX 0x20000000 0x10000" -placement flash.xml …