[QBS] Customization for Embedded platforms that has no OS.

Christian Kandeler christian.kandeler at digia.com
Mon Jul 22 12:00:49 CEST 2013


On 07/22/2013 11:35 AM, Oswald Buddenhagen wrote:
>> the device has to boot into *something*, and that something would
>> constitute an operating system. Perhaps you mean "no mainstream OS"?
>>
> actually, no. there is *no* os. we are talking about 8-bit
> microcontrollers with 2kb of ROM and 128 bytes (!) of RAM in the minimal
> configuration.

How many bytes would it need to have to call the thing that runs on it 
an OS?

>>> 2. What you can give recommendations for implementation?
>>
>> What you need is basically the addition of a new toolchain module to
>> support your compiler.
>>
> it's not really a different type of toolchain.
> it's a normal x-build gcc with a (rather minimal) sysroot (typically
> hard-wired into the executable).
> one speciality is that after linking the executable there is a
> post-processing step that produces a ROM image.
> so basically, this thing would be a derivation of the Cpp module
> (actually, plain C is "a tad" more appropriate), and add a new target
> type AvrImage or something like that.

Or, in other words, a new toolchain module.


Christian



More information about the Qbs mailing list