> On 29 May 2015, at 12:11, Igor Mammedov <imamm...@redhat.com> wrote:
> 
> On Fri, 29 May 2015 01:11:30 +0300
> Liviu Ionescu <i...@livius.net> wrote:
> 
>> for more flexibility, in the new Cortex-M implementation I'm working on, I 
>> can overwrite the vendor defined MCU internal SRAM size by using: 
>> 
>>      -m sizeK
>> 
>> I'm trying to find a way to also overwrite the internal flash size and the 
>> first idea I had was to extend the "-m" command like:
>> 
>>      -m sizeK,flash=sizeK
>> 
>> would this be ok? 
>> 
>> for more readability I would prefer something like:
>> 
>>      --memory ram=sizeK,flash=sizeK
>> 
>> any other suggestions?
> it looks to me like -machine option

-machine? in other words board? the ram-size is not a characteristic of the 
board, Cortex-M MCUs have both RAM & flash internally, so if --memory is not 
ok, probably ram & flash should be an extensions of --cpu?

regards,

Liviu


Reply via email to