Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 2831

newbee to platformio, need initial startup to configure for board only in imports file. (1 reply)

$
0
0
Greetings all;

linux only house here, nearly all debian bullseye (this machine) or a bunch of bpi5's running the arm64 version of testing known as Armbion.

I've not seen platformio until yesterday so I'm totally lost trying to build Marlin-2.1.3 for an MKS Robin Nano 3.1 board which amazon shipped me 3 of
when I ordered what I thought was V1.2 boards to replace a blown 1.2 board in a two trees SP-5 Plus printer.

I can only find this board in the "import" configuration collection, and have copied those two configs to where the README.md suggests I put them.
Then I find the board in the boards listing which takes bout an hour since the search function doesn't work even when I narrow the search terms to "Robin Nano"
which ought to show all variations.

Finding the board, and clicking on inspect apparently does not use my edited file but the original. and this is the result of inspect:

PIO Core Call Error: "Processing mks_robin_nano_v3_1 (board: marlin_STM32F407VET6_CCM; platform: ststm32@~12.1; framework: arduino)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via `-v, --verbose` option\n\n\n\nIn file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39,\n from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,\n from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:23:2: error: #error \"Don't build with import-2.1.x configurations!\"\n 23 | #error \"Don't build with import-2.1.x configurations!\"\n | ^~~~~\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:24:2: error: #error \"Use the 'bugfix...' or 'release...' configurations matching your Marlin version.\"\n 24 | #error \"Use the 'bugfix...' or 'release...' configurations matching your Marlin version.\"\n | ^~~~~\nIn file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:34,\n from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../pins/pins.h:888:6: error: #error \"Unknown MOTHERBOARD value set in Configuration.h.\"\n 888 | #error \"Unknown MOTHERBOARD value set in Configuration.h.\"\n | ^~~~~\nIn file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../pins/pins.h:926,\n from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:34,\n from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../pins/pins_postprocess.h:949:8: error: #error \"No E stepper plug left for Z2!\"\n 949 | #error \"No E stepper plug left for Z2!\"\n | ^~~~~\nError: Failed to parse Marlin features. See previous error messages.\n========================== [FAILED] Took 0.38 seconds ==========================\nEnvironment Status Duration\n------------------- -------- ------------\nmks_robin_nano_v3_1 FAILED 00:00:00.377\n==================== 1 failed, 0 succeeded in 00:00:00.377 ===================="

The main diff between the original V1.2 board and this V3.1 board seems to be that the V1.2 board two trees stole the E1 socket to drive Z2, whereas this V3.1 board, which came with TMC2209 drivers, has two motor sockets attached to the 3rd driver socket, apparently paralleling the 2 motors, And the 3.1 board has a usb key socket I won't use, and a wifi radio module I won't plug in since I cannot config it for my local ipv4 network, no biggie since I'll drive it with octoprint running on a bpi5 anyway.

So, what do I do next to eliminate the errors and get it to build marlin for this newer V3.1 board? Keeping in mind I'm brand new at this.

Thank you all.
Cheers, Gene

Viewing all articles
Browse latest Browse all 2831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>