WS2812 Sim OK but fails to built

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
RGV250
Posts: 264
http://meble-kuchenne.info.pl
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 23 times
Been thanked: 30 times

WS2812 Sim OK but fails to built

Post by RGV250 »

Hi,
I have just tried a simple demo for WS2812, it simulates OK but when i try to compile and download to the device I get an error
WS2812_Demo1.c:(.text+0x44c4): undefined reference to `nop' several times over.

Also not sure if I have WS2812 or WS2812B but I get the same error.
Target folder: C:\Users\Admin\Downloads
Source name: C:\Users\Admin\Downloads\WS2812_Demo1.fcfx
Title:
Description:
Device: RPI.RPI.RPI3B
Generated by: Flowcode v10.1.0.38
Date: Friday, December 15, 2023 17:27:43
Users: 1
Registered to: RGV250
Licence key:
NOT FOR COMMERCIAL USE
https://www.flowcode.co.uk
Using FCD settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\RPI\batch\rbuild.bat "WS2812_Demo1" "C:\Users\Admin\Downloads\" "C:\Program Files (x86)\Flowcode\Common\Compilers\rpi\\"

C:\Users\Admin\Downloads>REM CRC: 9CBAA20B02874D61C96DAE4FEC699BE787136EA47F741E26D6F846B5ABB246D896FAD8FDCAFB245061760799B64DDB929A0D46BD3B6AACB92DE4D84759EBB5079CA9DA2D2BBCDAE2A4D1C56CD1580BF5BE7E6799B63525A0CDB45CEDDB365F77CD3D7A5AF14A2BAC6613EC2BBBE3D39CD44F5379E4735FA01C82F6AB22C785E150FECF807FB33A9FC815CE7CB1BA9E5AC2D21F03E16554B9EBDB51055D309C1279A8C5D3CA58E18F2C3050DA273BE4EE73F41640DE3922C5629C45A17498EDEC0A8B3D681AF234BBB0330AA6FB05B88105A68DA3CE9026E5

C:\Users\Admin\Downloads>REM REVISION: 1.0

C:\Users\Admin\Downloads>REM GUID: 8C0879FE-99B8-41F1-BDB0-70BBBFD4CAC2

C:\Users\Admin\Downloads>REM DATE: 08\08\2022

C:\Users\Admin\Downloads>REM DIR: FCD\RPI\batch\rbuild.bat
Building WS2812_Demo1
C:\Users\Admin\AppData\Local\Temp\ccilNMd5.o: In function `FCD_06621_LED_WS2811__Refresh':
WS2812_Demo1.c:(.text+0x44c4): undefined reference to `nop'
WS2812_Demo1.c:(.text+0x44c8): undefined reference to `nop'
WS2812_Demo1.c:(.text+0x44cc): undefined reference to `nop'
WS2812_Demo1.c:(.text+0x44d0): undefined reference to `nop'
WS2812_Demo1.c:(.text+0x44d4): undefined reference to `nop'
C:\Users\Admin\AppData\Local\Temp\ccilNMd5.o:WS2812_Demo1.c:(.text+0x44d8): more undefined references to `nop' follow
collect2.exe: error: ld returned 1 exit status
Error(s) in build!

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\RPI\batch\rbuild.bat reported error code 0x1

Autoclose turned off


FINISHED
WS2812_Demo1.fcfx
(12.76 KiB) Downloaded 53 times
Bob

BenR
Matrix Staff
Posts: 1739
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 440 times
Been thanked: 603 times

Re: WS2812 Sim OK but fails to built

Post by BenR »

Hi Bob,

Thanks for letting us know. It looks like your the first to try this component on an rpi. Should work fine on an arduino or an esp32. I'll look into it for you and see if we can get it working.

RGV250
Posts: 264
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 23 times
Been thanked: 30 times

Re: WS2812 Sim OK but fails to built

Post by RGV250 »

Hi Ben, Any chance you might get a fix before you break up for Xmas.

Bob

Post Reply