Page 1 of 1

SPI Slave Compiler gives an error

Posted: Wed Jan 05, 2022 6:36 pm
by Osta
Happy New Year everyone!!!
I use ATMEGA 128 controller.
When using interrupts and the SPI Slave macro compiler gives an error.
TEST.c:(.text.FCM_SSP+0x0): undefined reference to `FC_CAL_SPI_Slave_RxByte_1'

Re: SPI Slave Compiler gives an error

Posted: Fri Jan 07, 2022 9:50 am
by BenR
Hello and Happy new year :D

It looks like SPI slave functionality is not currently impemented on the AVR target devices.

I'll have a look for you now and see if I can add it in for you.

Re: SPI Slave Compiler gives an error

Posted: Fri Jan 07, 2022 10:23 am
by BenR
Hello again,

Right it's compiling correctly now and I've pushed the update to the library update system.

Let us know how you get on.

Re: SPI Slave Compiler gives an error

Posted: Fri Jan 07, 2022 2:09 pm
by Osta
Thanks a lot !!!!!!!
I updated the libraries and everything worked!
Best wishes to you and your team! ;)

Re: SPI Slave Compiler gives an error

Posted: Fri Jan 07, 2022 7:14 pm
by Osta
Again, error, but in another project with ATMEGA 128
Interrupts do not work ....

Re: SPI Slave Compiler gives an error

Posted: Sat Jan 08, 2022 12:23 pm
by Osta
Before using the Flowcode macros, the С code was written,
But after the use of macros Flowcode, the compiler began to issue an error!
As a result, neither macros do not work С code !!!

Re: SPI Slave Compiler gives an error

Posted: Sat Jan 08, 2022 12:32 pm
by Osta
I do not know what to do...
How to return to the scene when did you work with the code?

Re: SPI Slave Compiler gives an error

Posted: Sat Jan 08, 2022 1:35 pm
by medelec35
Hi.
The compiler is complaining that you have got the same interrupts enabled in Main and COXPAH.
If you remove one it should compile for you.

Re: SPI Slave Compiler gives an error

Posted: Sat Jan 08, 2022 3:33 pm
by Osta
Right!!!
Thanks a lot!!!