[an error occurred while processing this directive]
В документации же есть:
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено Бендер++ 19 июля 2006 г. 12:29
В ответ на: Как в IAR линкуру сказать, чтоб он бинарный файл при сборке подключил, а компилятору как сказать адрес начала этого файла? отправлено <font color=gray>~ВМФ~</font> 19 июля 2006 г. 12:13

--image_input --image_input=filename,symbol,segment,alignment
Use this option to link pure binary files in addition to the ordinary input files.
The file’s entire contents is placed in the segment, which means it can only contain pure
binary data (for instance, the raw-binary output format, see Single output file, page 53).
The segment part where the contents of the filename file is placed, is only included if
the symbol symbol is required by your application. Use the -g option if you want to
force a reference to the segment part, see -g, page 30.
Example
--image_input=bootstrap.rnn,Bootstrap,CSTARTUPCODE,4
The contents of the pure binary file bootstrap.rnn is placed in the segment
CSTARTUPCODE. The segment part where the contents is placed will be 4-byte aligned
and will only be included if your application (or the command line option -g) includes
a reference to the symbol Bootstrap.
This option corresponds to the Raw binary image option in the linker category in the
IAR Embedded Workbench IDE.
Доступ из Си можно произвести через __segment_begin

Составить ответ  |||  Конференция  |||  Архив

Ответы


Отправка ответа

Имя (обязательно): 
Пароль: 
E-mail: 

Тема (обязательно):
Сообщение:

Ссылка на URL: 
Название ссылки: 

URL изображения: 


Rambler's Top100 Рейтинг@Mail.ru
Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание