Commit Graph

156 Commits (83a9606140aabe6ab0276c85539d187e3dec7ca2)

Author SHA1 Message Date
George Psimenos df5baf6031 USB public APIs cleanup (#11034)
The contents of the usb directory were moved to appropriate locations and the usb directory removed.

* Public USB headers moved under drivers/
* Internal USB headers moved under drivers/internal/
* USB Source code moved under drivers/source/usb/
* Moved usb/device/hal/ under hal/usb/
* Moved usb/device/USBPhy/ under hal/usb/
* Merged usb/device/targets/ into targets/
* Separated public and private USB API documentation under Doxygen groups drivers-public-api and drivers-internal-api.
2019-08-02 12:23:47 +01:00
Hugues Kamba bfa1b4dd84 Drivers/Events/RTOS Public and internal APIs cleanup (#10955)
Separate drivers, events, and rtos internal APIs from public APIs.

* Move source files to source subdirs
* Move internal headers to internal subdirs
* Add Doxygen comments for documenting internal and public APIs
* Remove source code from header files in order to remove include pre-processor directives
that included header files not directly used by said header files
* Explicitly include header files instead of implicit inclusions via third-party header files.

Release Notes

This will break user code that was using an internal API as the internal header files have been moved.
This will only break if the user was including the header file using a namespace (i.e #include "foo/bar.h" instead of #include "bar.h"
2019-08-02 12:23:47 +01:00
Qinghao Shi 2f6078d829 TRAVIS: turn off upload python test code coverage 2019-05-02 14:31:49 +01:00
Cruz Monrreal II 17dcbd1dc0 Made typo to unblock final check 2019-04-11 11:10:30 -05:00
Cruz Monrreal II 260c97a116 Cleaned up LittleFS and Event Queue tests.
Added {} around each variable.
Ported python invocations for simple math opts to coreutil commands
2019-04-08 10:45:07 -05:00
Cruz Monrreal II 397ee3074a Removed nearly all usage of 'apt-get'.
Primary cause of false Travis CI failures was running 'apt-get update'.
Refactored all instances where this was needed with manually fetching and installing dependencies in S3 instace.

This also includes GCC installation.
2019-04-08 10:45:07 -05:00
Cruz Monrreal II 5f40538c59 Re-enabled PR status reporting.
Added external bash file to source functions from
2019-04-08 10:45:07 -05:00
Cruz Monrreal II f9f9b60d7e Grouped jobs into build stages 2019-04-08 10:45:07 -05:00
Cruz Monrreal II c703ad7cfb Removed status reporting.
Re-enabled in later commit.
2019-04-08 10:39:38 -05:00
Cruz Monrreal II d0f4dc4d20 Changed default language to shell.
Not every VM needs the setup overhead that 'language: python' was providing
2019-04-08 10:39:38 -05:00
Cruz Monrreal II‰ 6c9c7f1483 Updated AWS url for astyle.
The original one is no longer appropriate
2019-03-29 12:18:39 -05:00
Cruz Monrreal II 034096dcd0 Updated astyle to work with updated .astyleignore file
fgrep === grep -F
-F treats lines as fixed strings (aka, the '^' isn't expanded)
2019-03-25 19:43:34 -05:00
Oren Cohen f234a1dc5b
Unify PSA code generators 2019-03-03 21:15:49 +02:00
Russ Butler b7eb7820e3 Remove the USB directory from mbed 2 travis
Don't include the USB directory when testing mbed 2 on travis.
2019-02-22 10:52:34 -06:00
Michael Schwarcz 4a45c16a21 Update .travis.yml psa_autogen job with TF-M code generation tool 2019-02-19 15:19:07 +02:00
Michael Schwarcz 516af50cb7 Consolidating tools/tfm and tools/spm into tools/psa 2019-02-19 15:19:06 +02:00
Cruz Monrreal II 861816c20b Enable xenail dist for only Py37 job
Other jobs will follow with other PR
2019-01-28 13:54:28 -06:00
Cruz Monrreal II d582451469 Enabled Py3.{5,6,7} in Travis CI 2019-01-28 13:02:37 -06:00
Cruz Monrreal II e28bf5ae11 Replaced '|' with '>' (affects how newlines are parsed) 2019-01-24 16:56:05 -06:00
Cruz Monrreal II 50a99a0572 Updated license_check to work a bit better across line boundries.
Swapped out 'git grep' for 'grep' since it can take in a --max-count flag.
The license _header_ will always be at the top.

Also enabled output so that PR authors can know what the problem files are.
2019-01-24 16:14:50 -06:00
Cruz Monrreal II‰ 31ab61ed80 Fix for license check job.
Somehow, having the '!' before a single command in a single line parses out the '!'.
2019-01-24 16:14:50 -06:00
Martin Kojtal cf75dc4b43
Merge pull request #9286 from alekla01/alekla01-include_check-patch-1
travis: Add include_check job
2019-01-22 09:33:20 +01:00
Aleksi Klasila fc41ea90d2 Add Travis include mbed.h check 2019-01-21 16:47:44 +02:00
Cruz Monrreal II e5fecaf899 Shuffled around version checks to be more useful in case of failure 2019-01-17 12:39:52 -06:00
Cruz Monrreal II 2d23e4c6f0 Added specific versions of Travis-only modules
Use requirements.txt to install specific versions of Travis CI python modules.
2019-01-17 12:39:52 -06:00
Martin Kojtal 32c9c3ac46
Merge pull request #8970 from kegilbert/spell-checker-travisjob
Add doxygen spellcheck job to Travis
2019-01-16 09:30:46 +01:00
Cruz Monrreal 41ecde9c30
Merge pull request #9371 from 0xc0170/test_travis_master
travis: set hypothesis to v3.88
2019-01-14 10:50:42 -06:00
Martin Kojtal be9f9f7610 travis: set hypothesis to 3.88 version
Update to v4.x breaks tools, will need to be addressed separately.
2019-01-14 16:00:36 +00:00
kegilbert 70b9b753db Add doxygen spellcheck jobs to Travis
Currently tests
    - drivers
    - platform
    - rtos
    - events
    - features/netsocket
2019-01-11 10:22:15 -06:00
Cruz Monrreal II 84469e1b6f Corrected simplified astyle job behavior when base branch is not master
Consolidated efforts from PR #9336.

Previous job's env vars would not be populated correctly if the base branch of a PR was not master.
Corected by pulling remaining respository information to perform comparison between read-only instance of PR and base branch.
2019-01-10 22:28:51 -06:00
Martin Kojtal 3305565164 travis: add keys for ubuntu - workaround 2019-01-08 13:29:13 +00:00
Oren Cohen 05f4a1867f Fix travis astyle usage of .astyleignore 2019-01-06 14:23:22 +02:00
Cruz Monrreal II 2ef6fe314f Add back statements adding ppa repos... 2019-01-04 10:21:17 -06:00
Cruz Monrreal II fd5607f914 Skip files that were deleted 2019-01-03 18:49:26 -06:00
Cruz Monrreal II af4af430a2 Simplified astyle travis test to be easier to reason about 2019-01-03 18:49:26 -06:00
Olli-Pekka Puolitaival bfeab27e4a More static place for astyle 2018-12-28 14:38:34 +02:00
Martin Kojtal e3b03e0404
Merge pull request #9055 from 0xc0170/dev_travis_astyle_https
travis: use https for fetching astyle package
2018-12-12 14:46:51 +01:00
Martin Kojtal 7c5cffb78a
Merge pull request #9047 from 0xc0170/dev_travis_license
travis: add license
2018-12-12 14:46:32 +01:00
Martin Kojtal dba7f6eacc travis: use https for fetching astyle package 2018-12-11 13:43:56 +00:00
Martin Kojtal 49a8cb809d travis: add license 2018-12-11 09:16:12 +00:00
Cruz Monrreal II 36790d6856 Removed rabbitmq fix from travis.yml
Upstream fix has been applied by Travis CI
2018-12-10 21:48:19 -06:00
Martin Kojtal 9b4be1b540 travis: rabbitmq signature update
Fix comes from rabbitmq:

> On December 1st, 2018 (GMT) all repositories under the RabbitMQ account on PackageCloud
will be switched to use the new signing keys. RabbitMQ users who install packages
from PackageCloud must import the new signing keys before the migration.
The recommended way of doing that is by re-running PackageCloud setup
scripts (RabbitMQ, Erlang). Signing keys can be downloaded and imported directly
as well (RabbitMQ, Erlang). If the new keys are not imported, package installation
will start failing with a signature verification error.
2018-12-03 10:31:57 +00:00
Martin Kojtal 13822a4ef4 travis: mangodb key update not needed anymore 2018-12-03 10:31:30 +00:00
Oren Cohen 45bd4f305a Add SPM code generation test to Travis-CI 2018-11-28 14:38:44 +02:00
Martin Kojtal a5e8df25a1 travis: astyle anchor fix
Missing $ for after_success, same fix as previously done for PR code changes
2018-11-20 14:50:10 +00:00
Martin Kojtal 5299017553
travis: anchor grep for astyle
Should not pick up .cmake files (just .c files)
2018-11-16 13:38:36 +00:00
Teppo Järvelin f5ad355854 travis: exclude deleted files for astyle. 2018-11-16 13:58:04 +02:00
Martin Kojtal cbdd6324ed travis: echo failure if astyle fails 2018-11-15 07:20:13 +00:00
Martin Kojtal 70b5772dc4 travis: add after_failure for astyle
To get to failure, we need to exit with 1
2018-11-15 07:20:13 +00:00
Martin Kojtal edef49b5fd travis: astyle error leads to the pull request error
As our codebase is 0 styling errors, we should start treating astyle errors as
pull request blockers. Time to follow our coding style.
2018-11-15 07:20:11 +00:00