- 18 Nov, 2020 1 commit
-
-
Cristian Maglie authored
* Added Compile json output * Factored out methods to convert Libraries into their rpc counterpart * Give some more info in compiler json output * Added simple smoke-test for compile --format json * Output in json even in case of error * Added binary size to compile json output * lib list: always output rows in table output, even if the "library.Release" field is not set
-
- 17 Nov, 2020 1 commit
-
-
Silvano Cerza authored
-
- 16 Nov, 2020 3 commits
-
-
Silvano Cerza authored
-
Silvano Cerza authored
-
Silvano Cerza authored
* Libs and cores update is now correctly run only on first CLI execution * Enhance error messages when updating indexes or local index files are missing
-
- 13 Nov, 2020 2 commits
-
-
per1234 authored
If the certificates fail verification, a notification will be posted on the #team_tooling Slack channel. If the certificates expire in less than 30 days, a notification will be posted on the #team_tooling Slack channel.
-
Umberto Baldi authored
* update notarization job usable with p12 cert * Apply suggestions from code review Co-authored-by: per1234 <accounts@perglass.com> * update nightly.yaml to use p12 cert * replace third party action to handle keychain with shell code * revert to previous gon installation with homebrew tap is not possible to install an exact version of an app * forgot to modify step name Co-authored-by: per1234 <accounts@perglass.com>
-
- 12 Nov, 2020 3 commits
-
-
Cristian Maglie authored
* Improved comments * Show if debugging is supported in board details command * Update i18n * Added test for 'debugging_supported' field
-
Cristian Maglie authored
* legacy: output --preprocess result on ExecStdout * legacy: removed redundant argument filters * legacy: moving path-relativization code out of PrepareCommand * legacy: removed i18n on unneded message * legacy: replacing ParseCommandLine with the equivalent library call * legacy: removed parameter that happens to be always false * legacy: removed constants.MSG_PATTERN_MISSING from i18n * Let ExecRecipe return the command executed This prepares for building a compilation database later. The returned command is not currently used anywhere yet, so this commit should not change behaviour. * Fixed typo Co-authored-by: Matthijs Kooijman <matthijs@stdin.nl>
-
Cristian Maglie authored
builder: use ar-chives for linking big sketches (was: use the @ syntax to reduce command line length if needed) (#961) * Small cosmetic changes * Create an archive file if the number of object files is too big This should fix the command line too big issue on Windows. * fixed comments * When exploiting ar-chives make a .a file for each soruce subfolder This is required because gcc-ar checks if an object file is already in the archive by looking ONLY at the filename WITHOUT the path, so it may happens that, for example, an object file named "subdir/spi.o", already inside the archive, may be overwritten by an object file in "anotherdir/spi.o" only because they are both named spi.o and even if they are compiled on different directories. * using paths.PathList to keep objectFileList
-
- 11 Nov, 2020 1 commit
-
-
Silvano Cerza authored
-
- 09 Nov, 2020 1 commit
-
-
Silvano Cerza authored
-
- 05 Nov, 2020 2 commits
-
-
https://www.arduino.ccRoberto Sora authored
-
Silvano Cerza authored
* Add support for definitions containing quotes in compile --build-properties flag * Deprecate --build-properties flag in favor of --build-property * Fix some escaping issues on Windows * Simplify compile examples
-
- 04 Nov, 2020 1 commit
-
-
Vinay Lanka authored
* Add zip library imports * Add git library imports * Add tests for lib install with flags
-
- 03 Nov, 2020 6 commits
-
-
Martino Facchin authored
-
Cristian Maglie authored
Running command through "go run ..." will introduce artificial delayes.
-
Silvano Cerza authored
-
Silvano Cerza authored
-
Cristian Maglie authored
* Added 'debug --info/-I' flag to get debug metadata * Debugger: do not use anymore pre-made recipes * Added nicer color ouput for 'debug --info' * Removed deprecated field * Merged together DebugConfigReq protoc type It makes no sense to have two separate types to create a debug session or to create a debug configuration. * Debug: added programmer selection flag * debug: return error if debugging is not supported by the platform * debug: openocd server now require full path to openocd executable * debug: fixed test runner * debugger: Fixed command line tests * debugger: hotfix for samd platforms 1.8.8 and 1.8.9
-
Silvano Cerza authored
-
- 02 Nov, 2020 4 commits
-
-
Silvano Cerza authored
-
per1234 authored
The `core update-index` command was incorrectly written as "core update index".
-
Silvano Cerza authored
-
Silvano Cerza authored
-
- 28 Oct, 2020 1 commit
-
-
Cristian Maglie authored
* Added UploadUsingProgrammer gRPC call * fix indent
-
- 27 Oct, 2020 1 commit
-
-
Silvano Cerza authored
-
- 20 Oct, 2020 3 commits
-
-
Silvano Cerza authored
-
Cristian Maglie authored
* Added more tests for upload * Added test for upload without port * Added test for upload without programmer (with and w/o port) * Added test for burn bootloader * Added test for burn bootloader with bootloader.tool options override * Increased verbosity * Refactored upload procedure to correctly handle bootloader.tool property * Handle windows quirks on command output * Simplified tests
-
Silvano Cerza authored
-
- 19 Oct, 2020 1 commit
-
-
Cristian Maglie authored
-
- 16 Oct, 2020 3 commits
-
-
Cristian Maglie authored
[skip-changelog] Added `discovery.Discovery` object to handle communication with pluggable discoveries (#1029) * Pluggable Discovery handler: first implementation * Added 'discovery_client' (for debugging discoveries) * Added 'event' mode in PluggableDiscovery * discovery_client now supports multiple discoveries * Added ID to PluggableDiscovery * Added PluggableDiscovery.String() implementation * Fixed TestDiscoveryStdioHandling * Fixed discovery test run on Windows It really takes that long for messages to go back and forth. I don't know if there is a simpler way to reduce stdio buffering time.
-
Silvano Cerza authored
-
Silvano Cerza authored
-
- 15 Oct, 2020 1 commit
-
-
Silvano Cerza authored
Previously, release branch creation did not trigger documentation publishing. Co-authored-by: per1234 <accounts@perglass.com>
-
- 14 Oct, 2020 3 commits
-
-
Cristian Maglie authored
* Sligthly simplified upload test cases handling * Make --input-dir handle gracefully some rare cases Using `--input-dir path/to/firmware` with a directory containing: path/to/firmware/firmware.ino.bin path/to/firmware/some_other_firmware_name.ino.bin should not fail but select `firmware.ino.bin` for upload because the containing folder has the same name. See https://github.com/arduino/arduino-cli/issues/765#issuecomment-699678646
-
Silvano Cerza authored
Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
-
Silvano Cerza authored
-
- 12 Oct, 2020 2 commits
-
-
per1234 authored
* Fix platform tool dependency determination The platform tool dependency check was giving false negatives due to comparing pointers instead of version values. This caused tools to be removed during platform uninstallation even when another installed platform had a dependency on that tool. * Add integration test for tool removal during platform uninstall Tool dependency by `arduino-cli core uninstall` is somewhat complex because it must only uninstall the tools that no other platforms have a dependency on. If it doesn't, it breaks the other platform and the cause of this breakage would likely not be obvious to the user. So it's important to test to ensure this functionality continues to work correctly.
-
Silvano Cerza authored
This reverts commit 900654f4.
-