Welcome! Log In Create A New Profile

Advanced

FLSUN from AliExpres

Posted by LVD 
LVD
Re: FLSUN from AliExpres
April 07, 2017 03:25AM
Link was not working: here's the real one
LVD
Re: FLSUN from AliExpres
April 07, 2017 02:43PM
The files in 2 parts:
Attachments:
open | download - Marlin-1.1.0-RC8-AC (1).zip (508.2 KB)
open | download - Marlin-1.1.0-RC8-AC (2).zip (147.4 KB)
Re: FLSUN from AliExpres
April 09, 2017 12:51PM
Hey folks. New firmware working like a charm!
Don't forget to change settings if you have heated bed and your fans are located on the hotend. In other case you will have troubles like I have. Search for the AC-version in the comments winking smiley
wcp
Re: FLSUN from AliExpres
April 09, 2017 11:24PM
Hello,

That is good news indeed. I will try it out tonight.

Thanks for your hard work.
Re: FLSUN from AliExpres
April 10, 2017 12:39AM
Seams like setting Z offset doesn't work and height after calibration become increased.
So in other words, I've started autocalibration and after that Z heght increased. So I thought that I will correct it by Z-offset from menu or repetier, but no luck. I rolled beck to previous AC version.

Edited 1 time(s). Last edit at 04/10/2017 05:11AM by molotovec.
LVD
Re: FLSUN from AliExpres
April 10, 2017 08:20AM
This is a bug in RC8; it was fixed in RCBugFix; but here a quick fix for Marlin-AC:

Tip: after changing the z-offset, recalibrate with G33 C1 to take the change in height into account.

Edited 1 time(s). Last edit at 04/10/2017 08:21AM by LVD.
Attachments:
open | download - Marlin_main.cpp (339.1 KB)
Re: FLSUN from AliExpres
April 10, 2017 05:06PM
Hey Guys,

Ive been looking into getting one of the FLSUN printers and just noticed yesterday that there is a new printer in the FLSUN line-up!!

[www.aliexpress.com]

Has anyone ordered/received this new printer?
I would love to order it! tho not particularly excited about being the first to try it. I was thinking to get the delta kossel but the print bed is just big enough for what im planning to print, so shying away from it. I do prefer this style of printer over the i3, seems to be a great design for bed stability(plus huge print area).
Only things i can fault with this is the bed is not heated and the extruder is a bowden.
wcp
Re: FLSUN from AliExpres
April 10, 2017 07:14PM
No wonder. My prints are all being "pressed" down despite Z offset or even bed height adjustments. I will try the RCbugfix if that solves the problem. Thanks.
wcp
Re: FLSUN from AliExpres
April 11, 2017 05:58AM
Hi LVD,

After putting in marlin_main.cpp into the RC8, the printer does not respond to any G33 commands. Even the LCD panel is unresponsive to the Delta Calibration for auto-calibration, height calib, etc. Only auto-home works.
LVD
Re: FLSUN from AliExpres
April 11, 2017 08:14AM
Does this help?
Attachments:
open | download - Marlin-1.1.0-RC8-AC (1).zip (493.4 KB)
open | download - Marlin-1.1.0-RC8-AC (2).zip (248 KB)
wcp
Re: FLSUN from AliExpres
April 12, 2017 05:20AM
Quote
LVD
Does this help?



YES! This version is working!! I now, need to fine tune it a bit (my prints are all squished at 1st layer) so I will play around with it a bit more with print Z-offsets.

THANK YOU!!
Re: FLSUN from AliExpres
April 14, 2017 12:34PM
So the Arduino board died in mine, received the replacement yesterday and got it put together. I cant seem to find my backup of the older firmware I was using, so I downloaded the newest version LVD posted 3 days ago. I struggled with it for about an hour last night and gave up and went to bed. I havent had a chance to look at it today, and it may be something simple I just couldnt think of. When I look in the firmware it shows my Z height commented, and says to retrieve the number from auto calibration. When I run calibration my hot end only goes down about 5-10cm and runs through in open air, and I get the message "calibration OK" Any suggestions as to why my hot end will not go all the way to the bed?
LVD
Re: FLSUN from AliExpres
April 15, 2017 02:51AM
uncomment the delta_height and set to approximate value
Re: FLSUN from AliExpres
April 15, 2017 11:01AM
I have almost same problem my delta_height is 318,6 and is uncommented after homing get down to 271 it will be probably (DELTA_HOME_TO_SAFE_ZONE) but on display i have Z value around 5
LVD
Re: FLSUN from AliExpres
April 15, 2017 11:51AM
There is a more generic version now here that includes tower angles
Re: FLSUN from AliExpres
April 17, 2017 05:58AM
So I wiped the firmware, and reuploaded it and now the M665 commands seem to work and I can print again, sort of. I can only print with programs made with Repetier, when I prefer Cura. Cura and the auto calibrate both still seem to thing my zero is about 5-10cm from the top.

I will try uncommenting my delta_height and see if that makes any difference. I am really disappointed I didn't backup my marlin settings from before, I had my printer tuned in damn near perfect.
Re: FLSUN from AliExpres
April 18, 2017 04:35PM
Well that was interesting. Uncommented and ran the auto calibration, all seemed well, went to print and my print head slammed down so hard it broke 2 of my rods and my effector (was rather poorly printed).

Does anyone have the STL files for the new style effector/fan blocks flsun sells with these printers now? I will have my friend print them on his ultimaker while I wait for new rods in the mail.
Re: FLSUN from AliExpres
April 19, 2017 05:32PM
I cooked the original board in my FLSUN once I started to use the heated bed. Happen to anyone else? I switched to the MKS GEN 1.4 with drv8825 and getting overall much better results.

A tip. While I was at it, I found some LCD strips that just fit inside the slots in the frame. These can run off the 12v auxiliary pins on the new board. If you put them in the front two uprights, rather than all three, you get good illumination of the bed without them shining in your eyes. Makes a very neat lighting solution!
Re: FLSUN from AliExpres
April 20, 2017 06:15AM
My MKS mini failed after the first print. No idea why (maybe the heated bed). Replaced it with RADDS + RepRapFirmware - been using it about a year and still very happy (though next time might go for a Duet).
Re: FLSUN from AliExpres
April 30, 2017 12:32PM
hey i used the latest LVD firmware to my fulsun and after auto calibration i got a smaller delta radius and offset in both the x and y endstops of about -0.6 and -0.3 mm.
i printed some cubes and a delta calibration test from thinkiverse and got a problem with the dimension in the x tower direction.
was it the x end stop offset thet did that?
and also
should i recalibrate after adjusting the bed or sould i try twiching with each tower diagonal_rod prameter?
Re: FLSUN from AliExpres
June 20, 2017 10:49AM
Hello LVD,

I'm not an C++ programmer and there is a lot I don't understand so this question is for you.
Please, i hope to use my FLSun in the coming days but now the firmware is not working as wanted
After download and compiling your version, my first compilation went well, but after putting my active serial port it went wrong???

* Select which serial port on the board will be used for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port 0 is always used by the Arduino bootloader regardless of this setting.
*
* :[0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 5
The error report is as down;
Arduino: 1.8.3 (Windows 10), Board:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

sketch\MarlinSerial.cpp: In function 'void store_char(unsigned char)':

MarlinSerial.cpp:52: error: 'rx_buffer' was not declared in this scope

uint8_t h = rx_buffer.head;

^

In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:30:0,

from sketch\MarlinConfig.h:37,

from sketch\MarlinSerial.h:35,

from sketch\MarlinSerial.cpp:31:

sketch\MarlinSerial.cpp: In function 'void USART5_RX_vect()':

sketch\MarlinSerial.h:69:41: warning: 'USART5_RX_vect' appears to be a misspelled signal handler, missing __vector prefix [-Wmisspelled-isr]

#define M_USARTx_RX_vect SERIAL_REGNAME(USART,SERIAL_PORT,_RX_vect)

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:69:26: note: in expansion of macro 'SERIAL_REGNAME'

#define M_USARTx_RX_vect SERIAL_REGNAME(USART,SERIAL_PORT,_RX_vect)

^

sketch\MarlinSerial.cpp:101:7: note: in expansion of macro 'M_USARTx_RX_vect'

ISR(M_USARTx_RX_vect) {

^

In file included from sketch\MarlinSerial.cpp:31:0:

MarlinSerial.h:65: error: 'UDR5' was not declared in this scope

#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)

^

sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix

^

sketch\MarlinSerial.h:65:16: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:102:25: note: in expansion of macro 'M_UDRx'

unsigned char c = M_UDRx;

^

sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::begin(long int)':

MarlinSerial.h:57: error: 'UCSR5A' was not declared in this scope

#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number

^

sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix

^

sketch\MarlinSerial.h:57:18: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number

^

sketch\MarlinSerial.cpp:127:5: note: in expansion of macro 'M_UCSRxA'

M_UCSRxA = _BV(M_U2Xx);

^

In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,

from sketch\fastio.h:31,

from sketch\MarlinConfig.h:26,

from sketch\MarlinSerial.h:35,

from sketch\MarlinSerial.cpp:31:

MarlinSerial.h:70: error: 'U2X5' was not declared in this scope

#define M_U2Xx SERIAL_REGNAME(U2X,SERIAL_PORT,)

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:70:16: note: in expansion of macro 'SERIAL_REGNAME'

#define M_U2Xx SERIAL_REGNAME(U2X,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:127:20: note: in expansion of macro 'M_U2Xx'

M_UCSRxA = _BV(M_U2Xx);

^

In file included from sketch\MarlinSerial.cpp:31:0:

MarlinSerial.h:57: error: 'UCSR5A' was not declared in this scope

#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number

^

sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix

^

sketch\MarlinSerial.h:57:18: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number

^

sketch\MarlinSerial.cpp:131:5: note: in expansion of macro 'M_UCSRxA'

M_UCSRxA = 0;

^

MarlinSerial.h:66: error: 'UBRR5H' was not declared in this scope

#define M_UBRRxH SERIAL_REGNAME(UBRR,SERIAL_PORT,H)

^

sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix

^

sketch\MarlinSerial.h:66:18: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UBRRxH SERIAL_REGNAME(UBRR,SERIAL_PORT,H)

^

sketch\MarlinSerial.cpp:136:3: note: in expansion of macro 'M_UBRRxH'

M_UBRRxH = baud_setting >> 8;

^

MarlinSerial.h:67: error: 'UBRR5L' was not declared in this scope

#define M_UBRRxL SERIAL_REGNAME(UBRR,SERIAL_PORT,L)

^

sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix

^

sketch\MarlinSerial.h:67:18: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UBRRxL SERIAL_REGNAME(UBRR,SERIAL_PORT,L)

^

sketch\MarlinSerial.cpp:137:3: note: in expansion of macro 'M_UBRRxL'

M_UBRRxL = baud_setting;

^

In file included from sketch\MarlinConfig.h:27:0,

from sketch\MarlinSerial.h:35,

from sketch\MarlinSerial.cpp:31:

MarlinSerial.h:58: error: 'UCSR5B' was not declared in this scope

#define M_UCSRxB SERIAL_REGNAME(UCSR,SERIAL_PORT,cool smiley

^

sketch\macros.h:51:19: note: in definition of macro 'SBI'

#define SBI(n,b) (n |= _BV(b))

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:58:18: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UCSRxB SERIAL_REGNAME(UCSR,SERIAL_PORT,cool smiley

^

sketch\MarlinSerial.cpp:139:7: note: in expansion of macro 'M_UCSRxB'

SBI(M_UCSRxB, M_RXENx);

^

In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,

from sketch\fastio.h:31,

from sketch\MarlinConfig.h:26,

from sketch\MarlinSerial.h:35,

from sketch\MarlinSerial.cpp:31:

MarlinSerial.h:59: error: 'RXEN5' was not declared in this scope

#define M_RXENx SERIAL_REGNAME(RXEN,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:139:3: note: in expansion of macro 'SBI'

SBI(M_UCSRxB, M_RXENx);

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:59:17: note: in expansion of macro 'SERIAL_REGNAME'

#define M_RXENx SERIAL_REGNAME(RXEN,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:139:17: note: in expansion of macro 'M_RXENx'

SBI(M_UCSRxB, M_RXENx);

^

MarlinSerial.h:60: error: 'TXEN5' was not declared in this scope

#define M_TXENx SERIAL_REGNAME(TXEN,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:140:3: note: in expansion of macro 'SBI'

SBI(M_UCSRxB, M_TXENx);

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:60:17: note: in expansion of macro 'SERIAL_REGNAME'

#define M_TXENx SERIAL_REGNAME(TXEN,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:140:17: note: in expansion of macro 'M_TXENx'

SBI(M_UCSRxB, M_TXENx);

^

MarlinSerial.h:62: error: 'RXCIE5' was not declared in this scope

#define M_RXCIEx SERIAL_REGNAME(RXCIE,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:141:3: note: in expansion of macro 'SBI'

SBI(M_UCSRxB, M_RXCIEx);

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:62:18: note: in expansion of macro 'SERIAL_REGNAME'

#define M_RXCIEx SERIAL_REGNAME(RXCIE,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:141:17: note: in expansion of macro 'M_RXCIEx'

SBI(M_UCSRxB, M_RXCIEx);

^

In file included from sketch\MarlinConfig.h:27:0,

from sketch\MarlinSerial.h:35,

from sketch\MarlinSerial.cpp:31:

sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::end()':

MarlinSerial.h:58: error: 'UCSR5B' was not declared in this scope

#define M_UCSRxB SERIAL_REGNAME(UCSR,SERIAL_PORT,cool smiley

^

sketch\macros.h:52:19: note: in definition of macro 'CBI'

#define CBI(n,b) (n &= ~_BV(b))

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:58:18: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UCSRxB SERIAL_REGNAME(UCSR,SERIAL_PORT,cool smiley

^

sketch\MarlinSerial.cpp:149:7: note: in expansion of macro 'M_UCSRxB'

CBI(M_UCSRxB, M_RXENx);

^

In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,

from sketch\fastio.h:31,

from sketch\MarlinConfig.h:26,

from sketch\MarlinSerial.h:35,

from sketch\MarlinSerial.cpp:31:

MarlinSerial.h:59: error: 'RXEN5' was not declared in this scope

#define M_RXENx SERIAL_REGNAME(RXEN,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:149:3: note: in expansion of macro 'CBI'

CBI(M_UCSRxB, M_RXENx);

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:59:17: note: in expansion of macro 'SERIAL_REGNAME'

#define M_RXENx SERIAL_REGNAME(RXEN,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:149:17: note: in expansion of macro 'M_RXENx'

CBI(M_UCSRxB, M_RXENx);

^

MarlinSerial.h:60: error: 'TXEN5' was not declared in this scope

#define M_TXENx SERIAL_REGNAME(TXEN,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:150:3: note: in expansion of macro 'CBI'

CBI(M_UCSRxB, M_TXENx);

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:60:17: note: in expansion of macro 'SERIAL_REGNAME'

#define M_TXENx SERIAL_REGNAME(TXEN,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:150:17: note: in expansion of macro 'M_TXENx'

CBI(M_UCSRxB, M_TXENx);

^

MarlinSerial.h:62: error: 'RXCIE5' was not declared in this scope

#define M_RXCIEx SERIAL_REGNAME(RXCIE,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:151:3: note: in expansion of macro 'CBI'

CBI(M_UCSRxB, M_RXCIEx);

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:62:18: note: in expansion of macro 'SERIAL_REGNAME'

#define M_RXCIEx SERIAL_REGNAME(RXCIE,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:151:17: note: in expansion of macro 'M_RXCIEx'

CBI(M_UCSRxB, M_RXCIEx);

^

MarlinSerial.h:64: error: 'UDRIE5' was not declared in this scope

#define M_UDRIEx SERIAL_REGNAME(UDRIE,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:152:3: note: in expansion of macro 'CBI'

CBI(M_UCSRxB, M_UDRIEx);

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:64:18: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UDRIEx SERIAL_REGNAME(UDRIE,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:152:17: note: in expansion of macro 'M_UDRIEx'

CBI(M_UCSRxB, M_UDRIEx);

^

In file included from sketch\MarlinConfig.h:27:0,

from sketch\MarlinSerial.h:35,

from sketch\MarlinSerial.cpp:31:

sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::checkRx()':

MarlinSerial.h:57: error: 'UCSR5A' was not declared in this scope

#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number

^

sketch\macros.h:50:22: note: in definition of macro 'TEST'

#define TEST(n,b) (((n)&_BV(b))!=0)

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:57:18: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number

^

sketch\MarlinSerial.cpp:156:12: note: in expansion of macro 'M_UCSRxA'

if (TEST(M_UCSRxA, M_RXCx)) {

^

In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,

from sketch\fastio.h:31,

from sketch\MarlinConfig.h:26,

from sketch\MarlinSerial.h:35,

from sketch\MarlinSerial.cpp:31:

MarlinSerial.h:68: error: 'RXC5' was not declared in this scope

#define M_RXCx SERIAL_REGNAME(RXC,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:156:7: note: in expansion of macro 'TEST'

if (TEST(M_UCSRxA, M_RXCx)) {

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:68:16: note: in expansion of macro 'SERIAL_REGNAME'

#define M_RXCx SERIAL_REGNAME(RXC,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:156:22: note: in expansion of macro 'M_RXCx'

if (TEST(M_UCSRxA, M_RXCx)) {

^

In file included from sketch\MarlinSerial.cpp:31:0:

MarlinSerial.h:65: error: 'UDR5' was not declared in this scope

#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)

^

sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix

^

sketch\MarlinSerial.h:65:16: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:157:19: note: in expansion of macro 'M_UDRx'

uint8_t c = M_UDRx;

^

sketch\MarlinSerial.cpp: In static member function 'static int MarlinSerial::peek()':

MarlinSerial.cpp:164: error: 'rx_buffer' was not declared in this scope

int v = rx_buffer.head == rx_buffer.tail ? -1 : rx_buffer.buffer[rx_buffer.tail];

^

sketch\MarlinSerial.cpp: In static member function 'static int MarlinSerial::read()':

MarlinSerial.cpp:172: error: 'rx_buffer' was not declared in this scope

uint8_t t = rx_buffer.tail;

^

sketch\MarlinSerial.cpp: In static member function 'static uint8_t MarlinSerial::available()':

MarlinSerial.cpp:186: error: 'rx_buffer' was not declared in this scope

uint8_t h = rx_buffer.head,

^

MarlinSerial.cpp:189: error: 't' was not declared in this scope

return (uint8_t)(RX_BUFFER_SIZE + h - t) & (RX_BUFFER_SIZE - 1);

^

sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::flush()':

MarlinSerial.cpp:200: error: 'rx_buffer' was not declared in this scope

rx_buffer.head = rx_buffer.tail;

^

In file included from sketch\MarlinConfig.h:27:0,

from sketch\MarlinSerial.h:35,

from sketch\MarlinSerial.cpp:31:

sketch\MarlinSerial.cpp: In static member function 'static void MarlinSerial::write(uint8_t)':

MarlinSerial.h:57: error: 'UCSR5A' was not declared in this scope

#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number

^

sketch\macros.h:50:22: note: in definition of macro 'TEST'

#define TEST(n,b) (((n)&_BV(b))!=0)

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:57:18: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UCSRxA SERIAL_REGNAME(UCSR,SERIAL_PORT,A) // defines M_UCSRxA to be UCSRnA where n is the serial port number

^

sketch\MarlinSerial.cpp:277:18: note: in expansion of macro 'M_UCSRxA'

while (!TEST(M_UCSRxA, M_UDREx))

^

In file included from c:\program files (x86)\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,

from sketch\fastio.h:31,

from sketch\MarlinConfig.h:26,

from sketch\MarlinSerial.h:35,

from sketch\MarlinSerial.cpp:31:

MarlinSerial.h:63: error: 'UDRE5' was not declared in this scope

#define M_UDREx SERIAL_REGNAME(UDRE,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:277:13: note: in expansion of macro 'TEST'

while (!TEST(M_UCSRxA, M_UDREx))

^

sketch\MarlinSerial.h:48:52: note: in expansion of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME(registerbase,number,suffix) SERIAL_REGNAME_INTERNAL(registerbase,number,suffix)

^

sketch\MarlinSerial.h:63:17: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UDREx SERIAL_REGNAME(UDRE,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:277:28: note: in expansion of macro 'M_UDREx'

while (!TEST(M_UCSRxA, M_UDREx))

^

In file included from sketch\MarlinSerial.cpp:31:0:

MarlinSerial.h:65: error: 'UDR5' was not declared in this scope

#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)

^

sketch\MarlinSerial.h:52:63: note: in definition of macro 'SERIAL_REGNAME_INTERNAL'

#define SERIAL_REGNAME_INTERNAL(registerbase,number,suffix) registerbase##number##suffix

^

sketch\MarlinSerial.h:65:16: note: in expansion of macro 'SERIAL_REGNAME'

#define M_UDRx SERIAL_REGNAME(UDR,SERIAL_PORT,)

^

sketch\MarlinSerial.cpp:279:5: note: in expansion of macro 'M_UDRx'

M_UDRx = c;

^

exit status 1
'rx_buffer' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
LVD
Re: FLSUN from AliExpres
June 25, 2017 08:26AM
beats me
Re: FLSUN from AliExpres
July 25, 2017 11:22AM
On My FLSun printer board there are 2 Fan Connectors. One is controllable the other is not.
Dot
Re: FLSUN from AliExpres
August 09, 2017 07:19AM
Hi all!

I want update my flsun-delta to dual-filament, using TL-feeder system. I understand I need new motherboard to use this. So I would buy MKS Gen-L V1.0 to install another feeder-motor. And my question is: will Marlin-AC compatible with this board? What I need change inside firmware for this?

Sorry for my bad english...
Sorry, only registered users may post in this forum.

Click here to login