Martin,
I don't want to constantly lean on you guys, but I don't know what to do with this error. I added in the ws2812 object to 3d panel. The command dout to pin16. Up to this point, fc will compile the project. Once a component is inserted to the flowchart, the compiler chokes on something to do with the nop's used in the timing. Only need to add the initialize component to get this. When I compared it against moodLightStrip2 example, and it doesn't look any different.
uc is rp2040 with wiznet w5100s-evb-pico. At first, I thought the nop count generated was too high, but throttling back the cpu clockspeed didn't do anything. here's the compiler message:
Target folder: C:\Users\Oxy6\Documents\onyxIndustries\projects\flowcode_9\rpi2040
Source name: C:\Users\Oxy6\Documents\onyxIndustries\projects\flowcode_9\rpi2040\rpi2040_test001.fcfx
Title: rpi2040_test001
Description:
Device: PICO.PICO.Raspberry_Pi_RP2040
Generated by: Flowcode v9.2.0.33
Date: Monday, February 21, 2022 18:21:42
Users: 1
Registered to: oi18ct (86909100)
Licence key: RK4D6M
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PICO\Batch\pico_build.bat "C:\Users\Oxy6\Downloads\pico-sdk\" "rpi2040_test001" "C:\Users\Oxy6\Documents\onyxIndustries\projects\flowcode_9\rpi2040\"
C:\Users\Oxy6\Documents\onyxIndustries\projects\flowcode_9\rpi2040>REM CRC: 11E85D0BF540A03612B9D5AB8A950728A3654FDC084B783F85B503651504FC6E8DA967745A187CF8FECF9115B25085A2774D1D3D69D8A99EE7320EAE740A5DB66BD212DE98DE91D9E3564078A19D1616A5C2ACA5856A86664D00059D79589982019B1EBDA9F75E245824CF181DE22D23B9DE25CDF0E36405D9066202E94705CBBDB038842E43FA4AAC72934211FD4B5DCC661788BEC7C91A063848616D51551DB978AC1A4BAF29AD4517DCDD22FC70DE135D32748FB3D1732C3050DA273BE4EE39DD52E8224900600B1F9528E97AB0BA001B0922CEB719397C7C0C9FABE651313F9A05C84301D1C0
C:\Users\Oxy6\Documents\onyxIndustries\projects\flowcode_9\rpi2040>REM REVISION: 2.0
C:\Users\Oxy6\Documents\onyxIndustries\projects\flowcode_9\rpi2040>REM GUID: 9EF5601F-D979-495F-89EB-F1C4F35D9212
C:\Users\Oxy6\Documents\onyxIndustries\projects\flowcode_9\rpi2040>REM DATE: 30\07\2021
C:\Users\Oxy6\Documents\onyxIndustries\projects\flowcode_9\rpi2040>REM DIR: FCD\PICO\batch\pico_build.bat
.
Building rpi2040_test001 ...
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.9.17
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
PICO_SDK_PATH is C:/Users/Oxy6/Downloads/pico-sdk
PICO platform is rp2040.
PICO target board is pico.
Using board configuration from C:/Users/Oxy6/Downloads/pico-sdk/src/boards/include/boards/pico.h
TinyUSB available at C:/Users/Oxy6/Downloads/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB.
-- Configuring done
. .
-- Generating done
-- Build files have been written to: C:/Users/Oxy6/Documents/onyxIndustries/projects/flowcode_9/rpi2040/rpi2040_test001
Microsoft (R) Program Maintenance Utility Version 14.28.29921.0
Copyright (C) Microsoft Corporation. All rights reserved.
[ 1%] Performing build step for 'ELF2UF2Build'
Microsoft (R) Program Maintenance Utility Version 14.28.29921.0
Copyright (C) Microsoft Corporation. All rights reserved.
[100%] Built target elf2uf2
[ 3%] No install step for 'ELF2UF2Build'
[ 4%] Completed 'ELF2UF2Build'
[ 12%] Built target ELF2UF2Build
Scanning dependencies of target bs2_default
[ 16%] Built target bs2_default
[ 19%] Built target bs2_default_padded_checksummed_asm
Scanning dependencies of target flowcode
Consolidate compiler generated dependencies of target flowcode
[ 20%] Building C object CMakeFiles/flowcode.dir/flowcode.c.obj
.
C:\Users\Oxy6\Documents\onyxIndustries\projects\flowcode_9\rpi2040\rpi2040_test001\flowcode.c: In function 'FCD_06621_LED_WS2811__Refresh':
C:\Users\Oxy6\Documents\onyxIndustries\projects\flowcode_9\rpi2040\rpi2040_test001\flowcode.c:126:44: warning: implicit declaration of function 'nop' [-Wimplicit-function-declaration]
126 | #define FCD_06621_LED_WS2811__Delay_T1H() nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop(); nop();
| ^~~
C:\Users\Oxy6\Documents\onyxIndustries\projects\flowcode_9\rpi2040\rpi2040_test001\flowcode.c:939:6: note: in expansion of macro 'FCD_06621_LED_WS2811__Delay_T1H'
939 | FCD_06621_LED_WS2811__Delay_T1H();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 22%] Linking CXX executable flowcode.elf
c:/progra~2/gnuarm~1/102021~1.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: CMakeFiles/flowcode.dir/flowcode.c.obj: in function `FCD_06621_LED_WS2811__Refresh':
flowcode.c:(.text.FCD_06621_LED_WS2811__Refresh+0x54): undefined reference to `nop'
c:/progra~2/gnuarm~1/102021~1.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: flowcode.c:(.text.FCD_06621_LED_WS2811__Refresh+0x58): undefined reference to `nop'
c:/progra~2/gnuarm~1/102021~1.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: flowcode.c:(.text.FCD_06621_LED_WS2811__Refresh+0x5c): undefined reference to `nop'
c:/progra~2/gnuarm~1/102021~1.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: flowcode.c:(.text.FCD_06621_LED_WS2811__Refresh+0x60): undefined reference to `nop'
c:/progra~2/gnuarm~1/102021~1.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: flowcode.c:(.text.FCD_06621_LED_WS2811__Refresh+0x64): undefined reference to `nop'
c:/progra~2/gnuarm~1/102021~1.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld.exe: CMakeFiles/flowcode.dir/flowcode.c.obj:flowcode.c:(.text.FCD_06621_LED_WS2811__Refresh+0x68): more undefined references to `nop' follow
collect2.exe: error: ld returned 1 exit status
NMAKE : fatal error U1077: 'C:\PROGRA~2\GNUARM~1\102021~1.10\bin\AR10B2~1.EXE' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x86\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x86\nmake.exe"' : return code '0x2'
Stop.
Build Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PICO\Batch\pico_build.bat reported error code 0x1
Autoclose turned off
FINISHED