terkin-datalogger
terkin-datalogger copied to clipboard
Add pymakr.conf
Dear @ClemensGruber,
just recently, I found an extensive blueprint for a pymakr.conf
settings file at [1]. It would be cool if we could include a respective file here which reflects the directory layout.
As you know already that I'm a command line guy, I am humbly asking if you could dedicate yourself to this.
Thanks already and with kind regards, Andreas.
[1] https://forum.pycom.io/topic/5360/fipy-v1-2-problems
Global settings
{
"address": "COM15",
"username": "micro",
"password": "python",
"sync_folder": "",
"open_on_start": true,
"safe_boot_on_upload": false,
"py_ignore": [
"pymakr.conf",
".vscode",
".gitignore",
".git",
"project.pymakr",
"env",
"venv"
],
"fast_upload": false,
"sync_file_types": "py,txt,log,json,xml,html,js,css,mpy",
"ctrl_c_on_connect": false,
"sync_all_file_types": false,
"auto_connect": false,
"autoconnect_comport_manufacturers": [
"Pycom",
"Pycom Ltd.",
"FTDI",
"Microsoft",
"Microchip Technology, Inc."
]
}
Project settings
{
"address": "COM15",
"username": "micro",
"password": "python",
"sync_folder": "",
"open_on_start": true,
"safe_boot_on_upload": false,
"py_ignore": [
"pymakr.conf",
".vscode",
".gitignore",
".git",
"project.pymakr",
"env",
"venv"
],
"fast_upload": false
}
Another pymakr.conf
:
{
"address": "192.168.4.1",
"username": "micro",
"password": "python",
"sync_folder": "",
"open_on_start": true,
"safe_boot_on_upload": false,
"py_ignore": [
"pymakr.conf",
".vscode",
".gitignore",
".git",
"project.pymakr",
"env",
"venv",
"README.md",
"Not_Included"
],
"fast_upload": false
}
-- https://github.com/pycom/pycom-micropython-sigfox/issues/376
Yet another pymakr.conf
:
{
"address": "192.168.4.1",
"username": "micro",
"password": "python",
"sync_folder": "src",
"sync_file_types": [
"py",
"txt",
"log",
"json",
"xml",
"html",
"js",
"css",
"mpy",
"pem",
"cet",
"crt",
"key"
],
"sync_all_file_types": false,
"open_on_start": true,
"safe_boot_on_upload": true,
"py_ignore": [
"pymakr.conf",
"env",
"venv",
"project.pymakr"
],
"fast_upload": false
}
-- https://github.com/ubirch/example-micropython/blob/master/pymakr.conf
Yet another one:
{
"address": "/dev/ttyUSB0",
"username": "micro",
"password": "python",
"sync_folder": "",
"open_on_start": true,
"sync_file_types": "py,txt,log,json,xml",
"ctrl_c_on_connect": false
}
-- https://github.com/teusH/MySense/blob/master/PyCom/WiPy/firmware/pymakr.conf
My experience is that it works out of the box if everything is in one directory. The standard settings are ok.
IMHO we should close this.