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
-
- Posts: 53
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 1:12 pm
- Has thanked: 1 time
- Been thanked: 3 times
SPI Slave Compiler gives an error
- Attachments
-
- Set inter.jpg (36.51 KiB) Viewed 3145 times
-
- TEST.fcfx
- Test
- (9.47 KiB) Downloaded 89 times
-
- Matrix Staff
- Posts: 1747
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 444 times
- Been thanked: 604 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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1747
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 444 times
- Been thanked: 604 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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
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 95 times
-
- Matrix Staff
- Posts: 1457
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 513 times
- Been thanked: 473 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