Cortex-M4 STM32F407ZGT6
Multi 를 이용하여
제공한 소스를 keil -> iar 로 작업을 하고 있습니다.
(keil 에서는 st-link 연결이 되지 않아서 )
3. key
4. printf
부분에서
다음과 같은 error 가 출력이 되고 있습니다.
Error[Li005]: no definition for "Printf_Init" [referenced from C:\Users\FAMILY\Desktop\M4 STUDY\4.printf\Project\
해결방법이 있는지요.
그럼 수고하십시요.
Error[Pe020]: identifier "FILE" is undefined C:\Users\FAMILY\Desktop\M4 STUDY\4.printf\Utilities\STM32_EVAL\Common\Printf.c 114
PUTCHAR_PROTOTYPE
{
/* Place your implementation of fputc here */
/* e.g. write a character to the USART */
USART_SendData(EVAL_COM1, (uint8_t) ch);
/* Loop until the end of transmission */
while (USART_GetFlagStatus(EVAL_COM1, USART_FLAG_TC) == RESET)
{}
return ch;
}
외부에서 설정을 해주어야 하는 것 같은데..
__GNUC__ 부분을 해야하는 것인가요?
정확히 모르겠습니다.