akajes / marlin-config Goto Github PK
View Code? Open in Web Editor NEWMarlin firmware instant configurator
License: GNU General Public License v3.0
Marlin firmware instant configurator
License: GNU General Public License v3.0
Please expand firmware upload on possibility export firmware.hex
I'm uploading firmware using OctoPrint.
I do not have a connected 3D printer locally.
Fresh install on Windows 10. Had to install python manually but everything else ok. Running standard ramps 1.4 EFB, COM4, atmega 2560 clone. Device shows up in devices as Atmega2560. All good so far.
Copied Anet A8 config.h and config_adv. h to Marlin, changed board to 2560. Click compile and log says "Done" immediately.
What am I doing wrong?
The desktop file is lacking a Categories=
entry in the *.desktop
file.
According to the menu spec,
By including one of the Main Categories in an application's desktop entry file, the application will be ensured that it will show up in a section of the application menu dedicated to this category. If multiple Main Categories are included in a single desktop entry file, the entry may appear more than once in the menu.
Hence, please add at least one of the following in the Categories=
key.
Main Category | Description | Notes |
---|---|---|
AudioVideo | Application for presenting, creating, or processing multimedia (audio/video) | |
Audio | An audio application | Desktop entry must include AudioVideo as well |
Video | A video application | Desktop entry must include AudioVideo as well |
Development | An application for development | |
Education | Educational software | |
Game | A game | |
Graphics | Application for viewing, creating, or processing graphics | |
Network | Network application such as a web browser | |
Office | An office type application | |
Science | Scientific software | |
Settings | Settings applications | Entries may appear in a separate menu or as part of a "Control Center" |
System | System application, "System Tools" such as say a log viewer or network monitor | |
Utility | Small utility application, "Accessories" |
In addition, you could specify one or more from the longer list of Additional Categories.
Please test the result with desktop-file-validate
and make sure it passes.
electron-builder offers native support for this since v19.22.1.
Reference: AppImage/appimage.github.io#2
STRING_SPLASH_LINE1 and STRING_SPLASH_LINE2 need to be placed in " insert string here".
If you do not do this, it will fail compiling.
Hi,
i'm having some problem with the marlin-configurator on Ubuntu 17.04:
I've installed the .deb package, all the installation gone fine, but the configurator never start...
If i try to start the marlin-configurator from command line i got:
luc4s@luc4s-N552VX:~$ marlin-conf marlin-conf: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
I've also try to use the AppImage, but from command line:
luc4s@luc4s-N552VX:~/Scaricati$ ./marlin-conf-2.8.1-i386.AppImage dlopen(): error loading libfuse.so.2 AppImages require FUSE to run. You might still be able to extract the contents of this AppImage if you run it with the --appimage-extract option. See https://github.com/AppImage/AppImageKit/wiki/FUSE for more information
FUSE is installed, i use AppImage for Slic3r and Cura...
If i try to use the -appimage-extract option:
Process: marlin-conf [8244]
Path: /Applications/marlin-conf.app/Contents/MacOS/marlin-conf
Identifier: com.akajes.marlin.conf
Version: 2.8.1 (2.8.1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: marlin-conf [8244]
User ID: 501
Date/Time: 2017-12-18 18:22:43.692 +0100
OS Version: Mac OS X 10.13.2 (17C88)
Report Version: 12
Bridge OS Version: 3.0 (14Y661)
Anonymous UUID: 505C0BB9-DFD7-155B-ECF3-BABC69BDD945
Sleep/Wake UUID: 1888F9CD-4197-4304-A181-93AAF9BD6787
Time Awake Since Boot: 270000 seconds
Time Since Wake: 13000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/Electron Framework.framework/Electron Framework
Referenced from: /Applications/marlin-conf.app/Contents/MacOS/marlin-conf
Reason: no suitable image found. Did find:
/Applications/marlin-conf.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
/Applications/marlin-conf.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1
Binary Images:
0x10be3b000 - 0x10be3bff7 +com.akajes.marlin.conf (2.8.1 - 2.8.1) /Applications/marlin-conf.app/Contents/MacOS/marlin-conf
0x118c32000 - 0x118c7c98f dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
I can select the Anet A8 to compile for, but I have the optiboot bootloader, so that doesn't work. I would like to see an option to flash to Anets with optiboot bootloader.
When running mct 2.7.16 in Chrome on Win8.1 tablet the fly-out to select the respective settings tab keeps popping out and sliding back whenever I touch the screen to scroll the page or select an option.
Over time this gets somewhat annoying ;-)
Keeping it hidden till it's actively touched would be fine for me.
platformio is installed and up to date yet when i try to compile the firmware it tells me that i need to install platform wtf do i do???????
Requirement already up-to-date: platformio in /Library/Python/2.7/site-packages
Requirement already up-to-date: lockfile<0.13,>=0.9.1 in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: requests<3,>=2.4.0 in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: bottle<0.13 in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: arrow<1 in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: click<6,>=5 in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: semantic-version>=2.5.0 in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: colorama in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: pyserial!=3.3,<4,>=3 in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: urllib3<1.22,>=1.21.1 in /Library/Python/2.7/site-packages (from requests<3,>=2.4.0->platformio)
Requirement already up-to-date: idna<2.6,>=2.5 in /Library/Python/2.7/site-packages (from requests<3,>=2.4.0->platformio)
Requirement already up-to-date: certifi>=2017.4.17 in /Library/Python/2.7/site-packages/certifi-2017.4.17-py2.7.egg (from requests<3,>=2.4.0->platformio)
Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in /Library/Python/2.7/site-packages (from requests<3,>=2.4.0->platformio)
Requirement already up-to-date: python-dateutil in /Library/Python/2.7/site-packages (from arrow<1->platformio)
Requirement already up-to-date: six>=1.5 in /Library/Python/2.7/site-packages/six-1.10.0-py2.7.egg (from python-dateutil->arrow<1->platformio)
So I like the idea of this tool very much, and I am trying to work on it on a windows pc. And I am having different results.
I now twice got it working with 1.1.4, but I can only get to 1.1.4 if I do a complete new firmware.
If I used a previous save (save always opens with 1.1.3) I get this warning:
Oh snap!
error: Your local changes to the following files would be overwritten by checkout: Marlin/Configuration.h Marlin/Configuration_adv.h Please commit your changes or stash them before you switch branches. Aborting
I did not even change anything from when I started. Last time I had it up and running I left my pc on the entire weekend :). So when it worked it worked good.
1.1.3 will not compile I get a lot of errors:
Verbose mode can be enabled via
-v, --verbose
option
ValueError: No escaped character:
File "C:\python27\lib\lib\site-packages\platformio\builder\main.py", line 155:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 541:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 250:
exec file in call_stack[-1].globals
File "C:\Users\Me.platformio\platforms\atmelavr\builder\main.py", line 217:
target_elf = env.BuildProgram()
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\python27\lib\lib\site-packages\platformio\builder\tools\platformio.py", line 58:
env.ProcessFlags(env.get("BUILD_FLAGS"))
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\python27\lib\lib\site-packages\platformio\builder\tools\platformio.py", line 116:
parsed_flags = env.ParseFlags(str(flags))
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 800:
do_parse(arg)
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 706:
params = shlex.split(arg)
File "c:\python27\lib\lib\shlex.py", line 279:
return list(lex)
File "c:\python27\lib\lib\shlex.py", line 269:
token = self.get_token()
File "c:\python27\lib\lib\shlex.py", line 96:
raw = self.read_token()
File "c:\python27\lib\lib\shlex.py", line 191:
raise ValueError, "No escaped character"
[ERROR] Took 0.75 secondsVerbose mode can be enabled via
-v, --verbose
option
ValueError: No escaped character:
File "C:\python27\lib\lib\site-packages\platformio\builder\main.py", line 155:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 541:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 250:
exec file in call_stack[-1].globals
File "C:\Users\Me.platformio\platforms\atmelavr\builder\main.py", line 217:
target_elf = env.BuildProgram()
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\python27\lib\lib\site-packages\platformio\builder\tools\platformio.py", line 58:
env.ProcessFlags(env.get("BUILD_FLAGS"))
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\python27\lib\lib\site-packages\platformio\builder\tools\platformio.py", line 116:
parsed_flags = env.ParseFlags(str(flags))
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 800:
do_parse(arg)
File "C:\Users\Me.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 706:
params = shlex.split(arg)
File "c:\python27\lib\lib\shlex.py", line 279:
return list(lex)
File "c:\python27\lib\lib\shlex.py", line 269:
token = self.get_token()
File "c:\python27\lib\lib\shlex.py", line 96:
raw = self.read_token()
File "c:\python27\lib\lib\shlex.py", line 191:
raise ValueError, "No escaped character"
[ERROR] Took 0.75 seconds
All dependency are running nice. I am using windows 10 pro.
Auto loading the Pins_boardname.h file associated with the board you have selected in your configuration.h would be super hand, especially for ramps users who tend to do a lot of custom pin configuration.
This project is awesome, and I've made a tutorial vid for my user groups on how to use it for updating their firmware https://www.youtube.com/watch?v=hUeMQfPTdac
Where is your donation button? Get a PayPal.me button or something on your profile page. I'd like to support this project.
What is the best way to add a custom board definition?
It's a truly elegant & powerful application. Bravo, akaJes!
Like others, I await the ability donate to the cause.
Thanks for all of your great efforts.
Hi,
I would love to try your config-tool. But: I have no idea at all how to install it with windows. I do have linux machines, but none with a graphical UI - only accesible via putty or of course webinterfaces.
Can you please give me a hint?
Regards
Christian
After changing the setting AXIS_RELATIVE_MODES in Configuration_adv to True I get te compile error:
from Marlin\Marlin_main.cpp:244:
Marlin\Configuration_adv.h:360:29: error: initializer fails to determine size of 'axis_relative_modes'
#define AXIS_RELATIVE_MODES true
It seems Marlin-conf is not aware of the array of values and saves the new setting as:
#define AXIS_RELATIVE_MODES true
Where is should be someting like;
#define AXIS_RELATIVE_MODES {true, true, true, true}
Hi,
Getting this error when running marlin-config on my mac.
Just built an ANET A8 printer and was told to start here first.
Have not connected the printer to the mac or installed drivers.
Advise if those are needed first.
Process: marlin-conf [88582]
Path: /private/var/folders/*/marlin-conf.app/Contents/MacOS/marlin-conf
Identifier: com.akajes.marlin.conf
Version: 2.8.2 (2.8.2)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: marlin-conf [88582]
User ID: 501
Date/Time: 2018-02-26 16:51:34.235 -0800
OS Version: Mac OS X 10.13.3 (17D47)
Report Version: 12
Anonymous UUID: 32B292E4-E7BC-2E64-134C-58ACBE83533F
Sleep/Wake UUID: EDDD8B4E-F8B5-497B-8B38-30C055372885
Time Awake Since Boot: 1100000 seconds
Time Since Wake: 3400 seconds
System Integrity Protection: enabled
Notes: Translocated Process
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Library not loaded: @rpath/Electron Framework.framework/Electron Framework
Referenced from: /private/var/folders/*/marlin-conf.app/Contents/MacOS/marlin-conf
Reason: no suitable image found. Did find:
/private/var/folders/br/26g_c02s6s56hlryb5650kww0000gn/T/AppTranslocation/76ABE0FE-0252-43FD-892C-448AA75957DD/d/marlin-conf.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
/private/var/folders/br/26g_c02s6s56hlryb5650kww0000gn/T/AppTranslocation/76ABE0FE-0252-43FD-892C-448AA75957DD/d/marlin-conf.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: stat() failed with errno=1
Binary Images:
0x10a45e000 - 0x10a45eff7 +com.akajes.marlin.conf (2.8.2 - 2.8.2) /var/folders/*/marlin-conf.app/Contents/MacOS/marlin-conf
0x10e02d000 - 0x10e07798f dyld (519.2.2) <6695F30B-4E88-3C0B-9867-7D738C44A3E6> /usr/lib/dyld
Model: MacBookPro8,2, BootROM MBP81.004D.B00, 4 processors, Intel Core i7, 2.2 GHz, 16 GB, SMC 1.69f4
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1 GB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D5341384758334D314131333333433920
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1333 MHz, 0x029E, 0x434D5341384758334D314131333333433920
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (5.106.98.102.30)
Bluetooth: Version 6.0.2f2, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Samsung SSD 850 PRO 512GB, 512.11 GB
Serial ATA Device: MATSHITADVD-R UJ-8A8
USB Device: USB 2.0 Bus
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: IR Receiver
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.1
I am trying to help someone install the configurator on a Windows 10 machine. We used the panel to install Github and PIO but every time we go to restart, it says uninstalled.
Now we are getting:
javascript error has occurred in the main process uncaught exception: type header cannot read property headers
I cant compile anything as it says PlatformIO HAS to be installed. This wouldn't normally bug me but I'm no programmer and the hoops you have to jump through to try and install the PlatformIO core are beyond me. I already had PlatformIO IDE installed and have used it for other projects but apparently that doesn't suffice, from my perspective it seems like the core needs installed separately which i just cant manage
It would be a nice feature if you could load different config files and get the differences higlighted
mct git results in 'fatal: Path 'Marlin/Configuration_adv' does not exist in '1.1.4'' and 'fatal: Path 'Marlin/Configuration' does not exist in '1.1.4'' on Windows.
Console output:
C:\Users\mauro\Desktop\work\mct\ODM-1\Marlin>mct git 1.1.4 json
Node v8.9.4 marlin-conf v 2.8.2
[gitRoot] C:/Users/mauro/Desktop/work/mct/ODM-1/Marlin
fatal: Path 'Marlin/Configuration_adv' does not exist in '1.1.4'
(node:1208) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): fatal: Path 'Marlin/Configu
ration_adv' does not exist in '1.1.4'
(node:1208) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections
that are not handled will terminate the Node.js process with a non-zero exit code.
[gitRoot] C:/Users/mauro/Desktop/work/mct/ODM-1/Marlin
fatal: Path 'Marlin/Configuration' does not exist in '1.1.4'
(node:1208) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): fatal: Path 'Marlin/Configu
ration' does not exist in '1.1.4'
Great tool, but do you plan to add support for Delta printers in the future?
TEMP_SENSOR_BED has no option to select Marlin Temperature Sensor of type, 75 : 100k Generic Silicon Heat Pad with NTC 100K MGB18-104F39050L32 thermistor.
Hi,
I'm quite new user of this excellent tool, and by mistake I overwritten entire config.
I was trying to share my config somehow and clicked something around [Upload] or [branch] buttons. All my configs were overwritten without any warning and I lost hours of configuration. I know, I should've save it before, but still this is dangerous situation.
I would suggest to add warning whenever user might overwrite anything that is not saved already or add some autosave feature.
Hey all,
I need to use OctoPrint to flash the config. Where can I find the compiled files?
Thanks
I'm using a personal fork of marlin with branches for each of my printers to handle all my configurations.
Would be nice to have the ability to commit my changes and and push them.
just a little thing as i 3 diffrent boards and wonder if a feature can be added for exporting the Configuration.h files and others that when they are exported they go into a directory structure like
\Marlin\Marlin.mct.bak\tags[Board Name]\1.1.8\2018-01-05 22-29-11
that way it will be easier to load back old files and picking the correct one not the wrong one.
platformio util.py assertion error
Line 23: assert isdir(home_dir)
Is it possible to use my local repo instead of remote?
Ho do I use this on a mac please?
is there a possibilite to have all the configurator in french language
great job the install works perfectly for me in debian 8
I used marlin-config several times, which works really good!
After update to v2.9 I cannot choose Anet_10 as target board in the compile option?!
Do I've to reinstall the target or do I've to choose another board?
Please, I need to configure a delta printer..
I can't set the delta option.. Can the developer help me?
Hoped to use marlin config to maintain my machine but as i now use Z_PROBE_ALLEN_KEY for a mechanical retracted Z probe i notice that this is ignored by marlin config.
Hope to see support added, examples of this can be found in marlin example configurations -> Delta -> Kossel mini
The default behavior of the program seems to expect me to start with a fresh marlin branch.
I would like to open a downloaded local marlin folder that has already been configured for further review and configuration using this program.
Trying to load Marlin on Anet A8, using marlin-config 2.8.1 both on Linux (Mint) and Win7 Pro I get the following report, and I can get no further... is there a work-around to correct the files?
Uncaught Exception:
TypeError: data.NewProtocol.toLowerCase is not a function
at /opt/marlin-conf/resources/app.asar/node_modules/nat-upnp/lib/nat-upnp/client.js:119:38
at /opt/marlin-conf/resources/app.asar/node_modules/nat-upnp/lib/nat-upnp/device.js:158:9
at Parser. (/opt/marlin-conf/resources/app.asar/node_modules/xml2js/lib/xml2js.js:199:18)
at emitOne (events.js:96:13)
at Parser.emit (events.js:191:7)
at SAXParser.saxParser.onclosetag (/opt/marlin-conf/resources/app.asar/node_modules/xml2js/lib/xml2js.js:183:24)
at emit (/opt/marlin-conf/resources/app.asar/node_modules/sax/lib/sax.js:624:35)
at emitNode (/opt/marlin-conf/resources/app.asar/node_modules/sax/lib/sax.js:629:5)
at closeTag (/opt/marlin-conf/resources/app.asar/node_modules/sax/lib/sax.js:889:7)
at SAXParser.write (/opt/marlin-conf/resources/app.asar/node_modules/sax/lib/sax.js:1436:13)
Under the bedlevel menu, the first GRID_MAX_POINTS_X and GRID_MAX_POINTS_Y should be disabled unless either AUTO_BED_LEVELING_LINEAR or AUTO_BED_LEVELING_BILINEAR are enabled. But the GRID_MAX_POINTS... seem to be always enabled. If you enable AUTO_BED_LEVELING_UBL, the proper GRID_MAX_POINTS_X and Y for that code block are then enabled, but changing them instead alters the variables in the linear and bilinear code block instead of the UBL code block.
trying to download windows version of the configurator an the best it gets is 13mb of 87mb
Any ideas or maybe another link to download from?
Hello
you will support Arduino Due + Ramps FD v1 and V2 ?
thank you
Hi, before I was able to compile and flash the firmware using marlin-config. I have changed the PC, followed the same steps for installation, however I am not able to flash. I have tried both from web based interface and the normal one. The error I am getting:
ReferenceError: sore is not defined
at C:\Users\dkirc\AppData\Roaming\npm\node_modules\marlin-conf\app\server.js:157:33
at Layer.handle [as handle_request] (C:\Users\dkirc\AppData\Roaming\npm\node_modules\marlin-conf\node_modules\express\lib\router\layer.js:95:5)
at next (C:\Users\dkirc\AppData\Roaming\npm\node_modules\marlin-conf\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (C:\Users\dkirc\AppData\Roaming\npm\node_modules\marlin-conf\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (C:\Users\dkirc\AppData\Roaming\npm\node_modules\marlin-conf\node_modules\express\lib\router\layer.js:95:5)
at C:\Users\dkirc\AppData\Roaming\npm\node_modules\marlin-conf\node_modules\express\lib\router\index.js:281:22
at param (C:\Users\dkirc\AppData\Roaming\npm\node_modules\marlin-conf\node_modules\express\lib\router\index.js:354:14)
at param (C:\Users\dkirc\AppData\Roaming\npm\node_modules\marlin-conf\node_modules\express\lib\router\index.js:365:14)
at param (C:\Users\dkirc\AppData\Roaming\npm\node_modules\marlin-conf\node_modules\express\lib\router\index.js:365:14)
at Function.process_params (C:\Users\dkirc\AppData\Roaming\npm\node_modules\marlin-conf\node_modules\express\lib\router\index.js:410:3)
What am I missing?
Still love using your configurator, great work that seems vastly under recognized.
I just upgraded my Ender 3 to a re-arm install and everything works great. Compiling is fine but I would love to have the option of build and upload to SD like in Atom or some way to define the save path so I can simply save the file to a location of my choice.
Thanks!
I use a Octopi setup with my printer, so I would like to be able to configure it on PC, then compile to .hex file, then use octopi's firmware uploader addon to flash it. I see no way to access a *.hex file.
When I try to compile I get lots of errors. I have installed Python2.7.14. I have already tried
pip install -U platformio
and
pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
Both seemed to work, but I am just getting this:
[11/08/17 00:05:15] Processing anet10 (platform: atmelavr; lib_deps: [email protected]; upload_speed: 57600; board: sanguino_atmega1284p; framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
Converting Marlin.ino
'avr-g++' is not recognized as an internal or external command,
operable program or batch file.
*** Error 1
AssertionError: :
File "C:\python27\lib\site-packages\platformio\builder\main.py", line 156:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\Witor.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 541:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\Witor.platformio\packages\tool-scons\script..\engine\SCons\Script\SConscript.py", line 250:
exec file in call_stack[-1].globals
File "C:\Users\Witor.platformio\platforms\atmelavr\builder\main.py", line 218:
target_elf = env.BuildProgram()
File "C:\Users\Witor.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\python27\lib\site-packages\platformio\builder\tools\platformio.py", line 58:
env.BuildFrameworks(env.get("PIOFRAMEWORK"))
File "C:\Users\Witor.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\python27\lib\site-packages\platformio\builder\tools\platformio.py", line 256:
env.ConvertInoToCpp()
File "C:\Users\Witor.platformio\packages\tool-scons\script..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\python27\lib\site-packages\platformio\builder\tools\piomisc.py", line 189:
out_file = c.convert(ino_nodes)
File "C:\python27\lib\site-packages\platformio\builder\tools\piomisc.py", line 54:
return self.process(contents)
File "C:\python27\lib\site-packages\platformio\builder\tools\piomisc.py", line 77:
assert self._gcc_preprocess(contents, out_file)
[ERROR] Took 0.87 seconds
[SUMMARY]
Environment megaatmega2560 [SKIP]
Environment megaatmega1280 [SKIP]
Environment printrboard [SKIP]
Environment anet10 [ERROR]
[ERROR] Took 0.87 seconds
Environment printrboard_revf [SKIP]
Environment brainwavepro [SKIP]
Environment rambo [SKIP]
Environment sanguino_atmega644p [SKIP]
Done.
Do you plan to support Marlin 2.0.x as well. If yes, when can it be expected?
I'm running mct
on Windows 8.1Pro 64bit but when I drag'n'drop or upload a file, I never see the respective file tabs appear in my browsers (Chrome 61.0.3163.100, FireFox 56.0.1 - IE 11 doesn't do anything at all - as expected ๐ )
This is the log in Chrome
jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.min.js:4
:3000/bs/custom Failed to load resource: the server responded with a status of 403 (Forbidden)
(unknown) Not found
check Failed to load resource: the server responded with a status of 403 (Forbidden)
Firewall is set up to allow access.
NodeJS v6.11.4
npm v5.5.1
I just published configuration on-line and despite the fact that my board is set properly, it isn't on the webpage. Board is MKS_SBASE - 1750.
Also help page is probably from 1.x branch, because I cannot se new boards added in 2.0 branch
Im trying to run it on my Mac and it just won't open.
Application Specific Information:
dyld: launch, loading dependent libraries
This is just part of the report, does it help?
"Dyld Error Message:
Library not loaded: @rpath/Electron Framework.framework/Electron Framework
Referenced from: /Applications/marlin-conf.app/Contents/MacOS/marlin-conf
Reason: no suitable image found. Did find:
/Applications/marlin-conf.app/Contents/MacOS/../Frameworks/Electron Framework.framework/Electron Framework: file too short
Binary Images:
0x7fff697e8000 - 0x7fff6981fa47 dyld (360.22) /usr/lib/dyld"
I believe this is why I keep getting "Error: The program size (69756 bytes) is greater than maximum allowed (64512 bytes)" during upload. The 1284P should have more space then 64512 bytes. The only choice on the compile list is 'sanguino_atmega644P'. What am I missing?
I use mct on my rasberry with octoprint (disabled eeprom and i use this tool as a profile manager sort of)
it seems to be lacking a daemon mode, that would be nice in this setup
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.