Commit Graph

193 Commits (98beadde454d8ce57330d5e554ef4da311d40fbf)

Author SHA1 Message Date
Hugues Kamba 834e530abd CMSIS: Restructure ported CMSIS_5
See docs/adr/0001_cmsis_component_source_structure_recommendations.md
For details information.
2020-09-01 15:55:13 +01:00
Martin Kojtal 08ef04d027
Merge pull request #13468 from urutva/add-ccache-to-travis
Add ccache to travis
2020-08-24 08:47:27 +01:00
Devaraj Ranganna fef4454359 ci: Enable `ccache` in Travis
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-08-21 14:17:13 +01:00
Lingkai Dong 15914d9354 .travis.yml: apply ignore list to spell checker 2020-08-20 17:23:19 +01:00
Lingkai Dong e00d6feb37 Rename .astyleignore -> .codecheckignore for spell check 2020-08-20 17:16:02 +01:00
Martin Kojtal ead1cec065
Merge pull request #13349 from Patater/reject-tool-changes
travis: Reject changes to tools
2020-08-11 09:39:28 +01:00
Ashok Rao a36718d5fb Fixing Travis failure 2020-08-05 16:57:50 +01:00
Anna Bridge 1d362c8a7a
Merge pull request #13371 from gpsimenos/gp-lwip-restruct
Restructure lwipstack directory
2020-08-05 11:56:12 +01:00
Jaeden Amero a18a7391a5 travis: Reject changes to tools
As part of freezing the current tools, reject any changes to tools that
would require a re-release of the tools for the online compiler. This is
to free up our effort on existing tool releases which are very error
prone, time consuming, and labor intensive, so we can focus on
developing a far more maintainable set of tools.

As the online compiler contains a copy of the whole mbed-os folder, it
is not clear which parts of mbed-os are actually used. This change
estimates the dependency between the online compiler, online IDE, and
Mbed OS by searching for "from tools" in Python code in the os.mbed.com
repo
(https://github.com/ARMmbed/os.mbed.com/search?q=%22from+tools%22&unscoped_q=%22from+tools%22)

For further context and explanation on why we've frozen the legacy
tools, please see the blog post at
https://os.mbed.com/blog/entry/Introducing-the-new-Mbed-Tools/
2020-08-04 17:32:13 +01:00
George Psimenos bcb5c10d62 Update lwipstack paths 2020-07-31 10:19:52 +01:00
George Psimenos 973c1dc2ff Move drivers unit tests 2020-07-31 10:04:36 +01:00
George Psimenos fe7ae8a50f Remove deprecated local unit tests 2020-07-28 09:17:19 +01:00
George Psimenos d480fab08b CI & local unit test fixes 2020-07-28 09:17:19 +01:00
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +01:00
Jaeden Amero 5ea51596ac travis: Fix spelling errors 2020-07-24 15:29:40 +01:00
Jaeden Amero fc146cd641 travis: Remove trailing whitespace 2020-07-24 15:29:40 +01:00
Rajkumar Kanagaraj ea6a7ddbaa Refactor features/netsocket and move to connectivity/netsocket 2020-07-23 06:15:09 -07:00
Lingkai Dong 88192530d7 .travis.yml: delete cellular drivers during no-RTOS test 2020-07-22 11:12:02 +01:00
Lingkai Dong 2b24a7a31e Update paths to cellular framework 2020-07-22 11:06:23 +01:00
Martin Kojtal 7592d702b2
Merge pull request #13284 from LDong-Arm/move_ppp
Refactor PPP library
2020-07-21 14:12:05 +01:00
Martin Kojtal 0d8342e7b9 Travis: fix scandcode failure
This is workaround for https://github.com/ARMmbed/mbed-os/issues/13322. We can remove
this line once they fix the dependency.
2020-07-21 10:57:14 +01:00
Lingkai Dong ac7389de58 .travis.yml: exclude ppp from no-RTOS test 2020-07-17 15:30:53 +01:00
Anna Bridge 640da338f9
Merge pull request #13229 from jeromecoutant/PR_TARGET2
STM32 custom target: create MCU_STM32xx for each family
2020-07-17 10:55:43 +01:00
Rajkumar Kanagaraj 3f080dfd65 update the path in license, readme markdown, astyleignore 2020-07-13 05:24:45 -07:00
jeromecoutant 686d4c797e TRAVIS update for non rtos compilation
travis needs to compile a target which doesn't support FLASHIAP
2020-07-09 13:48:44 +02:00
jeromecoutant dd46dfccb2 STM32F4 code cleaning 2020-05-14 13:55:22 +02:00
Veijo Pesonen 8760a56907 astyle: stops whitelisting .sh-files 2020-05-05 14:24:44 +03:00
Devaraj Ranganna fd74d678a7 psa: Remove PSA secure binary building tools
The PSA-implementing secure binary is not built using Mbed OS build
tools anymore. Instead, the TrustedFirmware-M (TF-M) build system is
used to produce the secure binary. As such, we remove PSA related hooks
from the build system, remove PSA related scripts from tools/test
folder, and also remove the psa-autogen job from travis which was
running the now unecessary and removed generate_partition_code.py.

Remove the ability to generate new PSA binaries in the old manner, where
Mbed OS implements PSA. We don't yet remove any PSA binaries or break
the currently checked-in Mbed-implemented PSA support. PSA targets
integrated in the old manner will continue working at this point.

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-27 09:51:14 +01:00
Evelyne Donnaes d1882e42e3 Fixed travis-ci/events 2020-03-16 16:55:21 +00:00
Martin Kojtal 92711bdcde travis: fix scancode status if all OK 2020-03-03 14:27:52 +00:00
Martin Kojtal 3c441eb763 travis: scancode check log instead
Fix to properly evaluate the findings - read the logs to get how many files there are reported.
2020-02-28 09:54:40 +00:00
Martin Kojtal 9266ed10ae travis: ignore grep return value for scancode
The file is not always present in changed files, thus we need to just ignore the
return status.
2020-02-25 07:32:46 +00:00
Martin Kojtal a0248c17ef scancode: print files if any found 2020-02-24 12:03:01 +00:00
Martin Kojtal 1b4ad98787 scancode: add logger and parse it to get count 2020-02-24 12:03:01 +00:00
Martin Kojtal adaa2b6a0a travis: license check does not fail but report issues
Master branch contains lot of missing SPDX identifiers, we will clean them up but this will take some time. In the meantime, we should not increase the license missing files. Each PR will report if there is no license issue or positive number reported as Github status. Travis won't fail if there are issues. This will highlight the issues that anyone can fix.

As soon as master is clean, we can fix set_status and revert part of this commit.
2020-02-24 12:02:37 +00:00
Martin Kojtal db989ba65a travis: exclude one file from scanning licenses
tools/test/toolchains/api_test.py is problematic as it contains code
for checking tools. This contains license code in strings - scancode things these are the licenses in the file.

We skip it checking in travis
2020-02-20 15:34:40 +00:00
Martin Kojtal 0995ece3b2 Add scancode evaluate script
The goal: check license offenders in pull request

This is similar to what astyle does in Travis. We get list of files being changed. Because scancode does not support list of files being scanned but rather a file or directory, we copy files to SCANCODE folder. Execute scancode license check in this folder and check for offenders.

The rules there are: code files must have a license and SDPX identifier. If they don't, we print these and ask for review.

It functions nicely there is just one workaround needed. SPDX is not always 100 percent correctly found, therefore we recheck file if no SPDX manually in the script. This proves to remove false positives.
2020-02-20 09:49:50 +00:00
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