- 08 May, 2020 2 commits
-
-
per1234 authored
Comments added to the .proto files are included in the generated gRPC interface documentation.
-
Martino Facchin authored
* Fix mixed code precompiled libraries This patch restores some functionalities broken by https://github.com/arduino/arduino-cli/pull/512 . It introduces a BREAKING CHANGE to "precompiled" field If merged, "precompiled" means that the library ONLY contains a precompiled library and its headers. No file containing implementation will be compiled if the library is specified as such. Fixes https://github.com/arduino/arduino-builder/issues/353 Tested with * https://github.com/arduino/arduino-cli/pull/512#issuecomment-565070453 (Nano33BLE and generic MKR board) * https://github.com/BoschSensortec/BSEC-Arduino-library (works after removing precompiled=true directive in library.properties) * https://github.com/vidor-libraries/USBBlaster (MKRVidor, fully precompiled) * Added test-build for Arduino_TensorFlowLite * Added another test for Bosch Sensor lib * Fallback search for precompiled libraries in non-fpu specific directories * variable renamed * Moved fixLDFLAG inside compileLibraries * Inlined FixLDflags * Using more paths helpers to simplify code * Added support for "precompiled=full" in library.properties This flag allow the deployment of a pure precompiled library that ships also the source code of the precompiled part. This allows to possibly compile-from-source as a fallback if the library does not provide a precompiled build for the current architecture. The "precompiled=true" instead has been ported back to the old behaviour (for libraries that ships a precompiled binary and support source code that wraps/uses the precompiled part). * Updated tests * Fixed test compile-build on very long paths on Windows * Removed constants.BUILD_PROPERTIES_COMPILER_LIBRARIES_LDFLAGS * Add space before "-L" gcc flag to allow multiple precompiled libs to be included Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
-
- 07 May, 2020 3 commits
-
-
Cristian Maglie authored
Sketch path can now be specified by folder (path/to/sketch/) or by file (path/to/sketch/sketch.ino) (#690) * Added test for different cases of sketch path case 1: /path/to/sketch case 2: /path/to/sketch/sketch.ino in the case 2 a compile+upload combo gives the following error: Error during Upload: cannot open sketch: stat /tmp/pytest-of-megabug/pytest-35/ArduinoTest1/CompileAndUploadIntegrationTest/CompileAndUploadIntegrationTest.ino/CompileAndUploadIntegrationTest.ino.arduino.samd.mkr1000.bin: not a directory * Fix sketch loading with different kind of input paths * Added unit-test for sketches module * Small test fix for Windows Paths are converted to \ when extracting Parent(). === RUN TestSketchLoadingFromFolderOrMainFile testdata/Sketch1 == testdata/Sketch1 testdata\Sketch1 == testdata/Sketch1
-
Roberto Sora authored
-
Cristian Maglie authored
* Added FQBN.StringWithoutConfig() method * Removed useless local variables * Use fqbn.StringWithoutConfig() specific function * Added some more verbosity on upload
-
- 04 May, 2020 2 commits
-
-
Roberto Sora authored
-
Roberto Sora authored
* Update Arduino CLI logo * Resize logo * Resize logo again * Resize logo very small * Add resized logo * Add resized logo to 1/2
-
- 24 Apr, 2020 1 commit
-
-
Roberto Sora authored
* Add properties to board details printing * Add usb IdentificationPrefs * Add more details * refactor board id * Add help and Package name * Inject package URL in package structs * Add tool release unroll * Prettify commands code * Polish struct usage * Add board details test * Reformat proto * Make linter happy * Add table printing * Make linter happy again * Add missing sizes to gold details json test * Add search for external package tool dependencies * Add --full flag and test table print comestics
-
- 23 Apr, 2020 3 commits
-
-
Roberto Sora authored
-
Roberto Sora authored
-
Massimiliano Pippi authored
-
- 22 Apr, 2020 3 commits
-
-
Massimiliano Pippi authored
-
Massimiliano Pippi authored
* add stats script * send metrics * add failure event and comments * confusing languages * testing failures * revert, failures reporting works ok * rename file, remove test clause
-
Roberto Sora authored
* [skip changelog] Add stats fetching from Arduino CDN using AWS Athena * Fix path typo for athena stats * Fix path typo for athena stats again * Add sh * Add checkout step * Add STATS_ prefix to stats secret and env vars * Use latest version of jq * Use latest version of jq inside fetch action * Use PATH override to use latest version of jq inside fetch action * Fix path typo * Remove push event
-
- 17 Apr, 2020 1 commit
-
-
per1234 authored
The documentation imported from the arduino/Arduino wiki was mostly written when Arduino's only official development software was the Arduino IDE. This resulted in many statements that mentioned the Arduino IDE specifically, when they actually apply to other development software as well. Conversely, there were Arduino-IDE specific statements which were not qualified as such.
-
- 16 Apr, 2020 4 commits
-
-
per1234 authored
The documentation already contains the Arduino library and platform specifications, but was missing an Arduino sketch specification.
-
Roberto Sora authored
-
Cristian Maglie authored
* Use downloader.SetDefaultConfig() to set user-agent for the arduino-cli This change allows to not pass-trough the downloader configuration from function to function everywhere (and sometime we forget to pass it for example in the "core update-index" command). * Add support for network proxy configuration * Cosmetic: added blank space in configuration/defaults.go * Update go-downloader to 1.2.0 * Refactored function to generate user-agent * Added a TODO for missing proxy usage in board list API query * Partially revert global network configuration. It's better to read the network configuration before each http request so in case it is changed using "Settings" functions in daemon mode the changes are immediately applied.
-
Cristian Maglie authored
-
- 15 Apr, 2020 2 commits
-
-
per1234 authored
-
Cristian Maglie authored
It happened on MacOSX, but I do not exclude it may happen in other OS too: when building some large sketch for Arduino Due, the system libsam_xxx.a library is transformed to relative path, in particular the path /Users/cmaglie/Library/Arduino15/packages/arduino/hardware/sam/1.6.12/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a is made relative to the build folder /var/folder/x8/ttjf_wrd63823894128467832/T/arduino_build_988374/ but since both paths resides in different partitions the result is: ../../../../../../Users/cmaglie/Library/Arduino15/packages/arduino/hardware/sam/1.6.12/variants/arduino_due_x/libsam_sam3x8e_gcc_rel.a so it traverse from /var/..../arduino_buil_988374 to the root and descend back into /Users This is bad for two reasons: 1) the resulting "relative" path is longer than the original "absolute" path, defeating the purpose of the transformation. 2) for some weird reason gcc is unable to find the libsam file using the relative path. It seems that when running inside /var/... it cannot "escape" to /Users/... This patch avoid the situation above by adding a check for the presence of ".." in the resulting path (basically avoiding path relativization outside of the build folder) and by checking that the resulting path is shorter than the original absolute path.
-
- 14 Apr, 2020 2 commits
-
-
Roberto Sora authored
-
per1234 authored
-
- 09 Apr, 2020 1 commit
-
-
Vinay Lanka authored
The sentence has been updated for the latest 6.15.1 release
-
- 08 Apr, 2020 3 commits
-
-
Cristian Maglie authored
* Removed legacy utils.PrettyOSName function * Removed some constants Possibly a container structure for build properties may be defined later with helper methods (like GetBuildCorePath() ... etc.) to help in retrieving these properties. * Removed unused Context parameter * upgrade github.com/arduino/go-properties-orderedmap to v1.0.0
-
Cristian Maglie authored
* Library install arguments are no more case sensitive This should make easier to install libraries from command line. * Moved lib args parsing functions in cli/lib * Factored ParseLibraryReferenceArgAndAdjustCase function Now the cli/lib module uses ParseLibraryReferenceArgAndAdjustCase so the cose-insensitive argument is allowed in all lib commands. * Added test for case sensitiveness in cli/lib params * Update test/test_lib.py Co-Authored-By: Roberto Sora <r.sora@arduino.cc>
-
Roberto Sora authored
* Replace $PWD with github actions workspace variable to solve invalid chars issue in container volume binding * Remove Tag step adding tag parse directly in notarization step * Add semver tool to enable pre-release flag in release creation
-
- 07 Apr, 2020 1 commit
-
-
Micael Jarniac authored
Changed the short description from "Installs one of more [...]" to "Installs one or more [...]", thus matching the long one.
-
- 03 Apr, 2020 2 commits
-
-
ilgiznurgaliev authored
* Update FAQ.md * Update docs/FAQ.md Co-Authored-By: per1234 <accounts@perglass.com> Co-authored-by: per1234 <accounts@perglass.com>
-
Roberto Sora authored
* Add default PR template * Update .github/PULL_REQUEST_TEMPLATE.md Co-Authored-By: per1234 <accounts@perglass.com> Co-authored-by: per1234 <accounts@perglass.com>
-
- 02 Apr, 2020 2 commits
-
-
Vinay Lanka authored
-
tuckerrrrrrrrrr authored
* Show similar library names in lib search * make similarity threshold for lib search a package variable * Add library search tests * Redo name asserts in TestSearchLibrary Just check that the library names have "Test" in them instead of checking the names at each index, which won't always be the same
-
- 26 Mar, 2020 1 commit
-
-
per1234 authored
-
- 25 Mar, 2020 1 commit
-
-
Matteo "triex" Suppo authored
Fixed faulty json because of new behaviour of encoding/json: > encoding/json > Number no longer accepts invalid numbers, to follow the documented behavior more closely. Signed-off-by: Matteo Suppo <matteo.suppo@gmail.com>
-
- 24 Mar, 2020 1 commit
-
-
Martino Facchin authored
This information can be used by the core to turn off certain heavyweight headers (that don't need to be discovered anyway)
-
- 20 Mar, 2020 2 commits
-
-
Akos Kitta authored
When matching against a Platform#ID, the match must be a case-insensitive exact match. Closes #612. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
-
Roberto Sora authored
* Remove hotfix adding --interpreter flag * Update client_example main file * Fix test import * Add interpreter resolution in debug test * Updated testdata debug tool name * Reintroduce hotfix to do not break debug support for samd core 1.8.5 and 1.8.6 * Add interpreter variable in hotfix * Fix interpreter bug
-
- 19 Mar, 2020 1 commit
-
-
per1234 authored
* Migrate relevant documentation from arduino/Arduino wiki * Trim trailing whitespace * Add newline to end of file * Increase heading levels so that the minimum level is h2 This is required for table of contents generation. * Use supported line break markup The backslash at end of line to cause line break is not supported by the documentation build system. * Update links to migrated pages * Fix list markup The documentation build system requires a blank line before the start of a list
-
- 18 Mar, 2020 1 commit
-
-
Cristian Maglie authored
* legacy: inline compileFilesWithExtensionWithRecipe function This will help for a better progress management in a next commit since now we know in advance how many file will be compiled in this task. * Added missing copyright header * Improved progress report during Compile
-
- 17 Mar, 2020 1 commit
-
-
Cristian Maglie authored
* legacy: use github.com/pkg/errors for error handling * legacy: updated ErrrofWithLogger to use github.com/pkg/errors * legacy: removed use of github.com/go-errors/errors in test helpers * legacy: removed github.com/go-errors/errors from deps
-