terkin-datalogger icon indicating copy to clipboard operation
terkin-datalogger copied to clipboard

Add pymakr.conf

Open amotl opened this issue 5 years ago • 4 comments

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
}

amotl avatar Nov 13 '19 12:11 amotl

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

amotl avatar Dec 10 '19 12:12 amotl

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

amotl avatar Mar 06 '20 09:03 amotl

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

amotl avatar May 17 '20 00:05 amotl

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.

poesel avatar Jun 01 '20 07:06 poesel