Skip to content

Add a board level config upload.gpiostring - #664

Open
Miceuz wants to merge 1 commit into
platformio:developfrom
Miceuz:feature/add_gpio_controll_for_serial_upload
Open

Add a board level config upload.gpiostring#664
Miceuz wants to merge 1 commit into
platformio:developfrom
Miceuz:feature/add_gpio_controll_for_serial_upload

Conversation

@Miceuz

@Miceuz Miceuz commented Dec 15, 2022

Copy link
Copy Markdown

This config can be used to specify a custom reset method during serial upload.

Example:

  "upload": {
    "maximum_ram_size": 65536,
    "maximum_size": 262144,
    "protocol": "serial",
    "protocols": [
      "dfu",
      "serial",
      "jlink",
      "stlink",
      "blackmagic"
    ],
    "gpiostring": "-dtr,-rts,"

Fix #257

Also fix a small bug where 'False' would be inserted in case when tool-stm32duino package is not available.

@Miceuz
Miceuz force-pushed the feature/add_gpio_controll_for_serial_upload branch from dae433d to 51d17a3 Compare December 21, 2022 10:27
This config can be used to specify a custom reset method during serial upload.

Example:
```
  "upload": {
    "maximum_ram_size": 65536,
    "maximum_size": 262144,
    "protocol": "serial",
    "protocols": [
      "dfu",
      "serial",
      "jlink",
      "stlink",
      "blackmagic"
    ],
    "gpiostring": "-dtr,-rts,"
```

Fix platformio#257
@Miceuz
Miceuz force-pushed the feature/add_gpio_controll_for_serial_upload branch from 51d17a3 to ef52c37 Compare December 21, 2022 10:29
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

Successfully merging this pull request may close these issues.

Serial upload with custom reset methods

1 participant