Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
configuring-smoothie [2017/11/10 09:55]
86.61.79.139 Added warning that config file on the SD card you get with the Smoothieboard is not always current
configuring-smoothie [2019/02/05 16:55] (current)
arthur
Line 118: Line 118:
 And now, when configuration is read, Smoothie will read both files, and take their options into account as if they were a single file. And now, when configuration is read, Smoothie will read both files, and take their options into account as if they were a single file.
  
-If you have a long and complex configuration,​ this can be helpful to orginize ​better.+If you have a long and complex configuration,​ this can be helpful to organize ​better.
  
 == Encoding == Encoding
Line 132: Line 132:
 Do not use Notepad++ to edit the configuration file, it thinks it's smarter than everybody and modifies the file in invisible ways that can make it unreadable or confusing to Smoothie. Do not use Notepad++ to edit the configuration file, it thinks it's smarter than everybody and modifies the file in invisible ways that can make it unreadable or confusing to Smoothie.
  
-Looking for a good simple text editor that runs Windows and will edit Smoothie config files no problem ​? Try https://​wiki.gnome.org/​Apps/​Gedit+Looking for a good simple text editor that runs under Windows and will edit Smoothie config files with no problems? Try https://​wiki.gnome.org/​Apps/​Gedit
  
 In more detail : Notepad++ will change the encoding to UTF8 by default but you can force it to use ANSI and it will be fine. In more detail : Notepad++ will change the encoding to UTF8 by default but you can force it to use ANSI and it will be fine.
Line 220: Line 220:
  
 {{page>​pin-configuration}} {{page>​pin-configuration}}
 +
 +== Hard setting configuration
 +
 +You can do away with an editable configuration file altogether if that makes sense in your setup. For example if you don't want users do have an easy way to edit he configuration by editing the configuration file on the SD card.
 +
 +To do this, remove the configuration file from the SD card. Then follow the instructions at http://​smoothieware.org/​compiling-smoothie but before compiling, edit the file named "​config.default"​ to contain the values you want. Then compile, and flash to the board. ​
 +
 +Now the firmware will be configured with the values you set, but users won't be able to edit them using the SD card, and modifying values will require compiling and reflashing.
 +
 +This is useful for example if you are an OEM selling machines where users are not meant to play around with configuration.