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

Implement "require_upload_port" option to "upload" section per board #107

Closed
2 tasks
ivankravets opened this issue Mar 3, 2015 · 1 comment
Closed
2 tasks
Labels
Milestone

Comments

@ivankravets
Copy link
Member

  • Add require_upload_port option to boards which require $UPLOAD_PORT for uploading process (avrdude and etc).
  • Check require_upload_port in def BeforeUpload(target, source, env):

For example,

    "uno": {
        "build": {
            "core": "arduino",
            "extra_flags": "-DARDUINO_ARCH_AVR -DARDUINO_AVR_UNO",
            "f_cpu": "16000000L",
            "mcu": "atmega328p",
            "variant": "standard"
        },
        "framework": "arduino",
        "name": "Arduino Uno",
        "platform": "atmelavr",
        "upload": {
            "maximum_ram_size": 2048,
            "maximum_size": 32256,
            "protocol": "arduino",
            "require_upload_port" : true,
            "speed": 115200
        }
    },

WARNING! require_upload_port option should have all boards which use avrdude, but don't use usbtiny protocol. raspduino board also requires require_upload_port.

@ivankravets ivankravets added the bug label Mar 3, 2015
@ivankravets ivankravets added this to the 1.1.0 milestone Mar 3, 2015
@ivankravets
Copy link
Member Author

This bug blocks #106

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

No branches or pull requests

2 participants