Merge pull request #357 from keyboardio/f/builder/max-size-workaround

kaleidoscope-builder: Support boards with multiple max sizes
pull/302/merge v1.92.0
Jesse Vincent 6 years ago committed by GitHub
commit 19b47984f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,7 +34,7 @@ find_max_prog_size() {
-tools "${ARDUINO_PATH}/tools-builder" \
-fqbn "${FQBN}" \
-dump-prefs | grep "upload\.maximum_size=")
MAX_PROG_SIZE=${MAX_PROG_SIZE:-$(echo "${VPIDS}" | grep upload.maximum_size | cut -d= -f2)}
MAX_PROG_SIZE=${MAX_PROG_SIZE:-$(echo "${VPIDS}" | grep upload.maximum_size | head -n 1 | cut -d= -f2)}
}
find_device_vid_pid() {

Loading…
Cancel
Save