And here is my problem: I want to transfer a program from an ATMEGA328P to an ATTINY4313. I use a simple UART transfer in the program. when I compile the project now I get the following error:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_UART.c: In function 'FC_CAL_UART_Init_1':
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR\AVR_CAL_UART.c:661:24: error: 'URSEL' undeclared (first use in this function)
UCSR0C = ((1 << URSEL) | (1 << UCSZ01) | (1 << UCSZ00)); // configuration for 8 data bits (Combined UBRRHx/UCSRCx)
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR\AVR_CAL_UART.c:661:24: note: each undeclared identifier is reported only once for each function it appears in
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR\AVR_CAL_UART.c: In function 'FC_CAL_UART_Send_1':
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR\AVR_CAL_UART.c
Can anyone give me a tip? Thank you very much! Greetings Chris