Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pymakr.conf #32

Open
amotl opened this issue Nov 13, 2019 · 4 comments
Open

Add pymakr.conf #32

amotl opened this issue Nov 13, 2019 · 4 comments

Comments

@amotl
Copy link
Member

amotl commented Nov 13, 2019

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
Copy link
Member Author

amotl commented Dec 10, 2019

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
}

-- pycom/pycom-micropython-sigfox#376

@amotl
Copy link
Member Author

amotl commented Mar 6, 2020

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
Copy link
Member Author

amotl commented May 17, 2020

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

@poesel
Copy link
Collaborator

poesel commented Jun 1, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants