Jump to content

Recommended Posts

Posted

Working on making klipper, a 3d printiing util like Marlin , work on a bpi5 running armbian, fully updated

Since the last update a day back, make has been broken. I think its now expecting windows line endings, which it won't find on a linux system.

The error message is consistent:

gene@bpi51:~/src/klipper$ make
/home/gene/src/klipper/.config:13: *** missing separator.  Stop.
Line 13 is the first non-comment line in the file.

The file uses $0A only as linefeeds, no CR's exist in it. The klipper Makefile uses file ".config" as its src of instructions:

A head -14 of that file:

gene@bpi51:~/src/klipper$ head -14 .config
# This file contains common pin mappings for MKS Robin Nano V3
# boards. To use this config, the firmware should be compiled for the
# stm32f407. When running "make menuconfig", select the 48KiB
# bootloader, and enable "USB for communication".

# The "make flash" command does not work on the MKS Robin. Instead,
# after running "make", copy the generated "out/klipper.bin" file to a
# file named "Robin_nano_v3.bin" on an SD card and then restart the
# MKS Robin with that SD card.

# See docs/Config_Reference.md for a description of parameters.

[stepper_x]
step_pin: PE3
 

There are two $0A's linefeeds  between the "parameters." and the "[" so even this copy/paste is broken. S/b a blank line there, and is

shown that way on screen but not here in the above paste

from hexedit of that file:

65 72 73 2E  0A 0A 5B 73  74 65 70 70  65 72 5F 78  5D 0A 73 74  65 70 5F 70  69 6E 3A 20  50 45 33 0A  ers...[stepper_x].step_pin: PE3.

                       ^^ ^^                                                                 ^^                                                                          ^^

So I am dead in the water until this is fixed.

 

Thank you

 

Cheers, Gene

 

Posted

I just did another octoprint and klipper install on another bpi5, and got the exact same error from an example .config file that had never seen a local editor.

You, SteeMan, have moved this, but you haven't indicated where to, will I still be notified of updates/replies?

Posted
1 hour ago, gene1934 said:

You, SteeMan, have moved this, but you haven't indicated where to

 

7 hours ago, SteeMan said:

this is reporting issues with userspace applications

 

1 hour ago, gene1934 said:

will I still be notified of updates/replies?

Yes.

  • Solution
Posted

I'm an id10t.  call in the St Bernards and drink the whisky yourselves.  It was the .config file it uses to make flash. Its not a pure text file. Blowing it away and doing a fresh make menuconfig fixed it

 

.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines