[an error occurred while processing this directive]
|
rezident посоветовал переопределить putchar:
http://www.telesys.ru/wwwboards/mcontrol/1341/messages/253967.shtml
Переопределил:
void putchar (char c)
{
AT91F_US_PutChar(AT91C_BASE_US0, c);
}получаю две "желтые карточки:"
Warning[w6]: Type conflict for external/entry "putchar", in module ?iostream against
external/entry in module main; function return types are different; different basic types
Warning[w6]: Type conflict for external/entry "printf", in module main against
external/entry in module ?printf; prototyped function vs K&R functionВ порт выводиться "VP3o66vTekt air wate heve0. best!"
на вызов printf("Vovka the best!\n");
Или можно выводить только "Hello word", а остальное через fprintf? ;-)
E-mail: info@telesys.ru