We are desperately trying to get the Actuators board working with BL0371 - we have tried the Demo Flowcode on you website BIT it is NOT compiling to chip (Arduino Uno R3 PDIP) ;
Code: Select all
Target folder: H:\Flowcode
Source name: \\college.ctksfc.local\ict\StaffHomeFolders\j.teigland\BTECNats\Unit 6\BL0127 - Actuators\BL0127 - Actuators\Arduino\BL0127 Actuators Demo Flowcode9.fcfx
Title:
Description:
Device: ARD.ATMEGA.ATMEGA328P
Generated by: Flowcode v9.2.0.33
Date: Wednesday, May 04, 2022 08:29:52
Users: 50
Registered to: ctksfc (98801268)
Licence key: E7JRY1
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\AVR\batchfiles\avra.bat "C:\Program Files (x86)\Flowcode\Compilers\avrv5\" atmega328p "H:\Flowcode\BL0127 Actuators Demo Flowcode9.elf" "H:\Flowcode\BL0127 Actuators Demo Flowcode9.c" "H:\Flowcode\BL0127 Actuators Demo Flowcode9.lst"
H:\Flowcode>REM CRC: EA277D0C7EF9B4E537B79187D0BE7A25FA6080B4B01BE48BAF713429E4B690411241251B4A05C2B5828F4452C9F7348705C640EF477B79E0C7881D2E5EEC9BD6FE0D8D4660AC0314F98C28BCA92AF856EFD1DB5B777140BC4D00059D7958998291880A09BBE74CF7BA3F4E37F13004EE3637760F1F0B7DA0CC623CD30E3C7D6BAB4C3FE6151D92B8EC0ADD55E96639DAC02472BDE3806EF43AE3A028BD32A5DAE68BB191DA97CB6883A66D3C41849952BB2DD264AF32733E2C3050DA273BE4EEFF12703F3DAF67B119A5A5B069403B38249A6C4D8A1304B09A437E7E2D43FD26DF891DB3086C82D6
H:\Flowcode>REM REVISION: 1.0
H:\Flowcode>REM GUID: EA0828B2-5C70-41A5-8C54-F359DD5CC88B
H:\Flowcode>REM DATE: 29\03\2021
H:\Flowcode>REM DIR: FCD\AVR\batchfiles\avra.bat
H:\Flowcode>"C:\Program Files (x86)\Flowcode\Compilers\avrv5\bin\avr-gcc.exe" -mmcu=atmega328p -Os -ffunction-sections -fdata-sections -funsigned-char -o "H:\Flowcode\BL0127 Actuators Demo Flowcode9.elf" "H:\Flowcode\BL0127 Actuators Demo Flowcode9.c" -lm -Wl,-gc-sections
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\includes.c:814:0,
from H:\Flowcode\BL0127 Actuators Demo Flowcode9.c:547:
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_PWM.c:110:5: warning: #warning "PWM Channel Uses Resource Timer 0" [-Wcpp]
#warning "PWM Channel Uses Resource Timer 0"
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_PWM.c:495:3: warning: #warning "Period control register not available on target device, period will default to 255 + 1" [-Wcpp]
#warning "Period control register not available on target device, period will default to 255 + 1"
^
In file included from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.c:43:0,
from C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\internals.c:431,
from H:\Flowcode\BL0127 Actuators Demo Flowcode9.c:45:
H:\Flowcode\BL0127 Actuators Demo Flowcode9.c: In function 'FCD_05261_switch_base__ReadState':
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:64:65: error: 'FCP_PIN_A' undeclared (first use in this function)
#define FCP_GET_B(Port, Mask, Shift) (FC_CAL_Port_In_DDR__x((&FCP_PIN##Port), (&FCP_TRIS##Port), (Mask), (Shift)))
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:61:42: note: in expansion of macro 'FCP_GET_B'
#define FCP_GET(Type, Port, Mask, Shift) FCP_GET_##Type(_##Port, Mask, Shift)
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:48:31: note: in expansion of macro 'FCP_GET'
#define GET_PORT_PIN(p,b) FCP_GET(B,p,(1<<b),b)
^
H:\Flowcode\BL0127 Actuators Demo Flowcode9.c:571:12: note: in expansion of macro 'GET_PORT_PIN'
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:64:65: note: each undeclared identifier is reported only once for each function it appears in
#define FCP_GET_B(Port, Mask, Shift) (FC_CAL_Port_In_DDR__x((&FCP_PIN##Port), (&FCP_TRIS##Port), (Mask), (Shift)))
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:61:42: note: in expansion of macro 'FCP_GET_B'
#define FCP_GET(Type, Port, Mask, Shift) FCP_GET_##Type(_##Port, Mask, Shift)
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:48:31: note: in expansion of macro 'FCP_GET'
#define GET_PORT_PIN(p,b) FCP_GET(B,p,(1<<b),b)
^
H:\Flowcode\BL0127 Actuators Demo Flowcode9.c:571:12: note: in expansion of macro 'GET_PORT_PIN'
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:64:83: error: 'FCP_TRIS_A' undeclared (first use in this function)
#define FCP_GET_B(Port, Mask, Shift) (FC_CAL_Port_In_DDR__x((&FCP_PIN##Port), (&FCP_TRIS##Port), (Mask), (Shift)))
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:61:42: note: in expansion of macro 'FCP_GET_B'
#define FCP_GET(Type, Port, Mask, Shift) FCP_GET_##Type(_##Port, Mask, Shift)
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:48:31: note: in expansion of macro 'FCP_GET'
#define GET_PORT_PIN(p,b) FCP_GET(B,p,(1<<b),b)
^
H:\Flowcode\BL0127 Actuators Demo Flowcode9.c:571:12: note: in expansion of macro 'GET_PORT_PIN'
H:\Flowcode\BL0127 Actuators Demo Flowcode9.c: In function 'FCD_05261_switch_base__WaitUntilHigh':
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:64:65: error: 'FCP_PIN_A' undeclared (first use in this function)
#define FCP_GET_B(Port, Mask, Shift) (FC_CAL_Port_In_DDR__x((&FCP_PIN##Port), (&FCP_TRIS##Port), (Mask), (Shift)))
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:61:42: note: in expansion of macro 'FCP_GET_B'
#define FCP_GET(Type, Port, Mask, Shift) FCP_GET_##Type(_##Port, Mask, Shift)
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:48:31: note: in expansion of macro 'FCP_GET'
#define GET_PORT_PIN(p,b) FCP_GET(B,p,(1<<b),b)
^
H:\Flowcode\BL0127 Actuators Demo Flowcode9.c:624:20: note: in expansion of macro 'GET_PORT_PIN'
#if (0) // 0 == 1
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:64:83: error: 'FCP_TRIS_A' undeclared (first use in this function)
#define FCP_GET_B(Port, Mask, Shift) (FC_CAL_Port_In_DDR__x((&FCP_PIN##Port), (&FCP_TRIS##Port), (Mask), (Shift)))
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:61:42: note: in expansion of macro 'FCP_GET_B'
#define FCP_GET(Type, Port, Mask, Shift) FCP_GET_##Type(_##Port, Mask, Shift)
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:48:31: note: in expansion of macro 'FCP_GET'
#define GET_PORT_PIN(p,b) FCP_GET(B,p,(1<<b),b)
^
H:\Flowcode\BL0127 Actuators Demo Flowcode9.c:624:20: note: in expansion of macro 'GET_PORT_PIN'
#if (0) // 0 == 1
^
H:\Flowcode\BL0127 Actuators Demo Flowcode9.c: In function 'FCD_05261_switch_base__WaitUntilLow':
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:64:65: error: 'FCP_PIN_A' undeclared (first use in this function)
#define FCP_GET_B(Port, Mask, Shift) (FC_CAL_Port_In_DDR__x((&FCP_PIN##Port), (&FCP_TRIS##Port), (Mask), (Shift)))
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:61:42: note: in expansion of macro 'FCP_GET_B'
#define FCP_GET(Type, Port, Mask, Shift) FCP_GET_##Type(_##Port, Mask, Shift)
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:48:31: note: in expansion of macro 'FCP_GET'
#define GET_PORT_PIN(p,b) FCP_GET(B,p,(1<<b),b)
^
H:\Flowcode\BL0127 Actuators Demo Flowcode9.c:675:20: note: in expansion of macro 'GET_PORT_PIN'
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:64:83: error: 'FCP_TRIS_A' undeclared (first use in this function)
#define FCP_GET_B(Port, Mask, Shift) (FC_CAL_Port_In_DDR__x((&FCP_PIN##Port), (&FCP_TRIS##Port), (Mask), (Shift)))
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:61:42: note: in expansion of macro 'FCP_GET_B'
#define FCP_GET(Type, Port, Mask, Shift) FCP_GET_##Type(_##Port, Mask, Shift)
^
C:\ProgramData\MatrixTSL\FlowcodeV9\CAL\AVR\AVR_CAL_IO.h:48:31: note: in expansion of macro 'FCP_GET'
#define GET_PORT_PIN(p,b) FCP_GET(B,p,(1<<b),b)
^
H:\Flowcode\BL0127 Actuators Demo Flowcode9.c:675:20: note: in expansion of macro 'GET_PORT_PIN'
Error returned from [avr-gcc.exe]
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\AVR\batchfiles\avra.bat reported error code 0x1
Autoclose turned off
FINISHED