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'
SPI Slave Compiler gives an error
-
Osta
- Posts: 60
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 1:12 pm
- Has thanked: 1 time
- Been thanked: 5 times
SPI Slave Compiler gives an error
- Attachments
-
- Set inter.jpg (36.51 KiB) Viewed 8144 times
-
- TEST.fcfx
- Test
- (9.47 KiB) Downloaded 708 times
- (view online)
-
BenR
- Matrix Staff
- Posts: 2305
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 637 times
- Been thanked: 847 times
Re: SPI Slave Compiler gives an error
Hello and Happy new year 
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.
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.
-
BenR
- Matrix Staff
- Posts: 2305
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 637 times
- Been thanked: 847 times
Re: SPI Slave Compiler gives an error
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.
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
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 !!!
But after the use of macros Flowcode, the compiler began to issue an error!
As a result, neither macros do not work С code !!!
- Attachments
-
- SPI.fcfx
- (14.48 KiB) Downloaded 644 times
- (view online)
-
medelec35
- Valued Contributor
- Posts: 2426
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 778 times
- Been thanked: 839 times
Re: SPI Slave Compiler gives an error
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.
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.
Martin