Page 1 of 1

Flowcode V9 WS2812 Bug

Posted: Fri Dec 04, 2020 5:12 pm
by Alan_37
Hi

WS2812 not compiling, just a very simple code INIT and Set brightnes.


Flowcode1.o: In function `FCD_06621_LED_WS2811__Refresh':
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x32): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x4a): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x6e): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x84): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0xbc): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0xd4): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0xf8): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x10e): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x148): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x160): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x182): undefined reference to `FCD_06621_LED_WS2811__OutputHigh'
Flowcode1.c:(.text.FCD_06621_LED_WS2811__Refresh+0x198): undefined reference to `FCD_06621_LED_WS2811__OutputLow'
collect2.exe: error: ld returned 1 exit status
Error(s) in build

Re: Flowcode V9 WS2812 Bug

Posted: Fri Dec 04, 2020 7:28 pm
by mnf
Hi Alan,

What target are you aiming for?

As downloaded (and nothing changed apart from connection pin) (so ARM ....) - all compiled well apart from a (rather oddly) - can't open avr/io.h error (which is an AVR header file - so not really expected?)

Changing target to Arduino Nano and compiled AOK though.

Martin

Re: Flowcode V9 WS2812 Bug

Posted: Fri Dec 04, 2020 7:44 pm
by Alan_37
Target stm32f407zG With flowcode 9

Re: Flowcode V9 WS2812 Bug

Posted: Fri Dec 04, 2020 9:37 pm
by jgu1
Hi Martin!

Have you seen that the st7789 display is on the componentlist :wink: Have you test it?

I will perform a test tomorrow.

Br Jorgen

Re: Flowcode V9 WS2812 Bug

Posted: Fri Dec 04, 2020 9:51 pm
by mnf
Hi Jorgen,

Not yet - but will try.

Martin