Skip to content

Uhuru RAVEN: Adding platform HAL #10091

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 919 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
919 commits
Select commit Hold shift + click to select a range
0117ec4
grammatical corrections
Jan 11, 2019
8a781ea
mbed-tls/TLS to Mbed TLS
Jan 11, 2019
e8b4556
editorial changes
Jan 11, 2019
566a12e
Fix review findings.
Jan 11, 2019
5788107
Add missing copyright header.
Jan 21, 2019
5bd99ec
Fix spelling mistakes
Jan 21, 2019
f431cb9
TCPSocket.cpp setting socket should terminate with semicolon
janjongboom Jan 24, 2019
7adbfed
Remove outdated text and fix spelling in README.md
Jan 24, 2019
20cdd6e
BLE: Fix comparison expression between an integer and a SafeEnum
pan- Jan 16, 2019
05dcde8
BLE: Fix relationnal operator of SafeEnum
pan- Jan 16, 2019
3fa2fb2
PSOC6.py: remove silicon ID check
vmedcy Jan 22, 2019
ecc9aa7
PSOC6.py: do not require metadata during HEX merging
vmedcy Jan 22, 2019
5d81962
PSOC6: refactor M0 image merging, enable export to makefile
vmedcy Jan 22, 2019
56c0ece
ARCH_PRO: add SPI pin definitions
maciejbocianski Jan 21, 2019
5099d41
Remove yotta from README.md
Jan 24, 2019
a236d20
Update features/frameworks/greentea-client/README.md
bridadan Jan 24, 2019
0d09429
Remove .json blob from README.md
Jan 24, 2019
0b2cedc
Remove outdated content from README.md
Jan 25, 2019
75d438e
Remove unused yotta module metadata
bridadan Jan 24, 2019
ced094f
PSOC6.py: generate hex files with 16 bytes per row
vmedcy Jan 25, 2019
fd6b59c
LPC546XX, MIMXRT1050: Update to fix ARMC6 build failures
mmahadevan108 Jan 17, 2019
ba15236
Fix for Issue #7308 (Deep_sleep_lock Ticker.h Issue)
mprse Jan 24, 2019
5949fd3
DIRS and SEEK SD tests update for small RAM targets
jeromecoutant Jan 3, 2019
2117c7f
Add TLSSocket greentea tests.
michalpasztamobica Jan 7, 2019
a7ee4af
Publish TLSSocket test documentation
michalpasztamobica Jan 11, 2019
d1a610a
MIMXRT1050_EVK: Add IAR support in the exporter
mmahadevan108 Jan 24, 2019
708a521
Update all mbed test packages.
bridadan Jan 28, 2019
b6dcf89
Remove COMPONENT_FLASHIAP tests
Jan 29, 2019
13ad6f6
Added universal_newlines flag to Popen in pylint.py
Jan 24, 2019
8e169f2
Increased path for spm include. Py3 tests were not running as a result
Jan 24, 2019
5469c00
Added encoding to version check for Py3 compat
Jan 24, 2019
246f6fc
In Py3.7, a reinit of a mock variable was needed. It seems that initi…
Jan 25, 2019
755931d
Added None check for min in config tools
Jan 25, 2019
792d13d
Added flag to run_cmd Popen invocation to do default decoding
Jan 25, 2019
300cb4b
Enabled Py3.{5,6,7} in Travis CI
Jan 28, 2019
1d20646
Enable xenail dist for only Py37 job Other jobs will follow with othe…
Jan 28, 2019
59262ed
Simplified max/min condition
Jan 28, 2019
675b7bd
Updated spm test runner wish short import variant
theotherjimmy Jan 29, 2019
138a277
Cellular: Remove makefile and mbedignore refering to obsolete cellula…
Jan 29, 2019
dd82b6b
ESP8266: with empty packet send returns zero if TCP, unsupported othe…
Jan 28, 2019
7dbce3e
Test UDPSOCKET_SENDTO_INVALID allows NSAPI_ERROR_UNSUPPORTED
Jan 28, 2019
fad7ff9
Fixed modem reset functionality to avoid low time to trigger module s…
fahimalavi Jan 24, 2019
2eec7c8
STM32H7: 0S2 compilation
jeromecoutant Jan 30, 2019
cd438a3
Prevent double attempt to connect mesh api
michalpasztamobica Jan 30, 2019
3ad5e13
Removing references to yotta and minar within utest
bridadan Jan 28, 2019
fa92ed4
Remove reference to yotta and mbed-drivers in greentea-client
bridadan Jan 28, 2019
cadbd3a
Correct example given in greentea-client readme
bridadan Jan 28, 2019
3180422
Update utest README
bridadan Jan 28, 2019
a0b5b60
scan timeout for 4.2 controllers using new API
paul-szczepanek-arm Jan 30, 2019
77113a9
check scanning status first
paul-szczepanek-arm Jan 30, 2019
03fda0c
review fixes
paul-szczepanek-arm Jan 30, 2019
fdd0360
Remove yotta-specific lines from .gitignore
Jan 30, 2019
be2eb9b
Set tasklet parameters before connecting
Jan 30, 2019
9563254
STM32_gen_PeripheralPins.py v1.4
jeromecoutant Jan 16, 2019
4ba8e0e
STM32: PeripheralPins files minor update
jeromecoutant Jan 16, 2019
8d4b54d
STM32_gen_PeripheralPins.py v1.5
jeromecoutant Jan 24, 2019
dd43030
Add sd-driver example
Jan 24, 2019
c66456a
Fix TCPSOCKET_ENDPOINT_CLOSE: Cannot accept WOULD_BLOCK
Jan 18, 2019
569540f
NVStore: fix area calculation function
Jan 21, 2019
e0bf259
ONME-3868, Modiefie mem-size parameter to minimal size that work with…
Dec 18, 2018
025edb0
FlashIAP BD: Assert if default constructor is used w/o config change
Jan 23, 2019
aa6d80d
Moved `mbed_lib.json` outside config folder
Jan 23, 2019
bad1483
Moved util (common test folder) inside the TESTS directory
Jan 23, 2019
1c5eb39
Use core arch for setting secure/non-secure flags
Jan 23, 2019
d8d6223
Armc6 - Set floating point and CPU options for all core variants expl…
Jan 23, 2019
46dbfd6
GCC_ARM: Strip the -NS from core option before setting floating point…
Jan 24, 2019
a8c9cf1
Change DSP variant symbol to `E` from `D`(d-double floating point)
Jan 25, 2019
4419f62
Change if statements to lookup tables
Jan 25, 2019
900ba6c
added support for debug and program launch configurations
Jan 10, 2019
5b97914
Reworked launch configuration creation mechanism - switched to single…
Jan 14, 2019
7314258
Added GNU MCU Eclipse plug-in support
Jan 18, 2019
e6ab529
Fix python3 compatibility issue
Jan 23, 2019
9bae7c4
Changes: - added new erase launch configuration - added new kits supp…
Jan 30, 2019
a427d89
Added copyright notes
Jan 31, 2019
ea074d0
Apply suggestions from code review
theotherjimmy Jan 31, 2019
3bf6e9a
Resolved code review comments
Jan 31, 2019
5233758
Modify general blockdevice tests to run all storage components
Jan 31, 2019
273c014
asyle issues
Jan 31, 2019
b4ca822
Reset internal vref buffer after an ADC conversion using the config c…
r-vlaar Jan 30, 2019
e0c20d5
fixed indentation
r-vlaar Jan 31, 2019
d9ca7ad
Use an ip4- and ip6-compliant site to test TLS certificate error repo…
michalpasztamobica Jan 31, 2019
d673738
PSOC6: M0 core image for BLE controller updated to version 1.05
lrusinowicz Feb 1, 2019
f47d241
Fix for ARMc6 compiler errors
SenRamakri Jan 15, 2019
228fd63
Modified fixes with review comments
SenRamakri Feb 1, 2019
c20bf95
Update IAR flags for Armv8M devices.
Jan 7, 2019
39827e4
M2351: Update code to support IAR 8.x builds
Jan 8, 2019
3493e3e
Update `cmse` flag based on core_arch instead of different cores
Jan 23, 2019
ddf5060
Correct the floating+dsp options for Cortex-M processors
Jan 23, 2019
53f52f9
Set the DSP option as `E` for Cortex-M33
Jan 25, 2019
538b682
Add missing space - coding style nit
bridadan Feb 1, 2019
23f6835
STM32 Serial Flow Control
jeromecoutant Jan 29, 2019
0a31227
Remove SERIAL_FC from the NCS36510
c1728p9 Feb 2, 2019
865dc26
Remove SERIAL_FC from the ARM_IOTSS_BEID
c1728p9 Feb 2, 2019
e8931b6
Remove SERIAL_FC from the MPS2 family
c1728p9 Feb 2, 2019
eb01351
STM32F2: Enable TRNG
jeromecoutant Feb 1, 2019
02de2c1
Fix SharedPtr::reset
kjbracey Jan 31, 2019
9df989d
Modified pin map
ytsuboi Jan 29, 2019
4b8c2b8
STM32: set DEVICE_SERIAL_FC at FAMILY_STM32 level
jeromecoutant Jan 30, 2019
d3f0af2
targets.json: "LOWPOWERTIMER" device_has is not used
jeromecoutant Feb 1, 2019
2a74fbf
STM32 targets.json styling update
jeromecoutant Feb 1, 2019
75a01f6
Define USBTX and USBRX for targets missing it
c1728p9 Feb 2, 2019
a569704
Improve error message for exports for OS2-only targets
bridadan Feb 1, 2019
740724f
Remove ARDUINO form factor from FF1705_L151CC
c1728p9 Feb 1, 2019
00844af
Remove ARDUINO form factor from RBLAB_BLENANO2
c1728p9 Feb 2, 2019
e641a04
Remove ARDUINO form factor for nano devices
c1728p9 Feb 1, 2019
0603785
Define A0 to NC for the TARGET_KW41Z
c1728p9 Feb 1, 2019
820309e
Define Arduino pins for the LPC812
c1728p9 Feb 2, 2019
78e8ff1
Modified pin map
ytsuboi Jan 28, 2019
730cf07
FHSS timer: Use singleton pointer with timer objects
Feb 1, 2019
e6ba5f0
Remove yotta and minar references in NCS36510
bridadan Jan 28, 2019
7020e6c
Correct typo no_dsp - nodsp
Feb 4, 2019
c46215d
FUTURE_SEQUANA: Removed special "tags" from M0 hex images for better …
lrusinowicz Feb 5, 2019
f869e9a
Fix cortex-m33-S compile error
Feb 5, 2019
0f15c7f
Fix cortex-m33-S armlink error
Feb 6, 2019
ddddb6f
Implement Linker command/response files in make export
theotherjimmy Jul 23, 2018
1676bd3
makefile export: create .link_options.txt with echo
vmedcy Feb 4, 2019
0355876
tools: check part size is not exceeding region size
Jan 7, 2019
e7985fd
tools: build_api_test: add test to detect when part overflows region …
Jan 29, 2019
d046c91
Added MBED_APP_START to linker script
Feb 6, 2019
fdb1a4f
Correct the dsp flag from no_dsp to nodsp
Feb 5, 2019
318af23
Update Mbed version block
adbridge Feb 8, 2019
463c53d
Move FUTURE_SEQUANA port to TARGET_PSOC6_FUTURE
vmedcy Feb 4, 2019
979bc0c
PSOC6: reuse FUTURE_SEQUANA porting layer
vmedcy Jan 26, 2019
34be4ac
PSOC6: add the latest Cypress PDL sources
vmedcy Jan 26, 2019
3319f73
PSOC6: update the HAL implementation to latest PDL
vmedcy Jan 26, 2019
5767771
PSOC6: add CRC and TRNG APIs
vmedcy Jan 26, 2019
296f8cb
PSOC6: add BSPs for Cypress kits
vmedcy Jan 26, 2019
d1f7e7c
Add prebuilt CM0+ images for Cypress kits
vmedcy Jan 26, 2019
bacd49f
PSOC6: add BSP generated sources for Cypress kits
vmedcy Jan 26, 2019
f414e08
CYW4343X: move HCI driver to TARGET_STM
vmedcy Jan 29, 2019
bb9f1dc
PSoC6: add implementation of BLE HCI driver for CYW4343W/CYW43012
vmedcy Jan 29, 2019
881b806
Add WICED binary drivers for Cypress PSoC 6 targets
vmedcy Jan 29, 2019
33d779f
PSOC6: add network-default-interface-type to Cypress boards
vmedcy Feb 2, 2019
ecb3c8c
Merge pull request #9646 from ARMmbed/release-candidate
0xc0170 Feb 11, 2019
a58e4f7
Adding MBEDTLS_ENTROPY_NV_SEED macro check in device key to allow key…
Jan 31, 2019
a4bb51b
PSOC6: rebuild libwiced_drivers.a against mbed-os-5.11.4
vmedcy Feb 13, 2019
36734f4
Update mbed version block
adbridge Feb 14, 2019
bc132a6
Merge pull request #9719 from ARMmbed/release-candidate
adbridge Feb 14, 2019
e7e5931
Mutex-protect mbedtls_hardware_poll
kjbracey Jan 29, 2019
d7b58e9
FUTURE_SEQUANA_M0_PSA - fix CM4 starting address
alzix Feb 10, 2019
275572c
tests-netsocket-tls: TLSSOCKET_ECHOTEST deletes socket on failure case
Feb 7, 2019
70d8214
tests-network-interface: drops unreferenced variable
Feb 7, 2019
f886fc6
platform: includes string.h needed by memcpy and strlen
Feb 7, 2019
fe9020b
FUTURE_SEQUANA: SPI HAL fixes
lrusinowicz Feb 8, 2019
bd056c6
K64/ARM: Update to 2-region model for HEAP and Stack Memory
mprse Feb 5, 2019
8482fb7
Revert "MIMXRT1050_EVK: Add IAR support in the exporter"
0xc0170 Feb 11, 2019
a4ed281
Force adding mbed-os root to include dirs
Jan 13, 2019
2636b7e
Check source relative to ROOT on secure targets
Feb 10, 2019
1b8fe3e
Update test.py
Feb 11, 2019
36bf40c
BLE - Nordic: Release crypto cell when not in use.
pan- Jan 14, 2019
42d9fdd
Greentea UDPSOCKET_RECV_TIMEOUT increase time tolerance
michalpasztamobica Feb 1, 2019
b88d69d
Greentea Socket bind tests made ipv6-aware
michalpasztamobica Feb 1, 2019
4a92a13
Greentea DNS test: added debug print
michalpasztamobica Feb 1, 2019
3f11bf5
TLSSocket returns WOULD_BLOCK error instead of ALREADY
michalpasztamobica Feb 1, 2019
035ecc1
Restore MBEDTLS_PSA_CRYPTO_C for PSA targets
alzix Feb 4, 2019
b2b7afe
Fix general block device test to ensure unique block address per test
Feb 10, 2019
19b50ef
Ensure unique block address for multi threaded test. The addresses do…
Feb 10, 2019
693245d
Fix crypto AC mgmt
ccli8 Feb 11, 2019
e5e9e4f
Hook crypto interrupt handler without NVIC_SetVector
ccli8 Feb 11, 2019
3926223
Remove unnecessary header files in crypto-misc.cpp
ccli8 Feb 11, 2019
306943a
Cellular: Fix socket bind tests for BG96
Jan 29, 2019
0ed5e80
Cellular: Fix socket's send and receive boundaries for BG96
Jan 29, 2019
b8712b3
Cellular: Fix UDPSOCKET_SENDTO_INVALID test for BG96
Feb 8, 2019
182f229
REALTEK_RTL8195AM daplink timestamp from os.environ
alekla01 Feb 11, 2019
3930d2e
targets: QUECTEL: Fix build warning
Feb 1, 2019
e8ce42a
STM32 GPIO: use maximum speed
jeromecoutant Feb 4, 2019
46478ab
tests-netsocket-udp: UDPSOCKET_ECHOTEST_NONBLOCK restores non-blocking
Jan 31, 2019
1b5fdaf
tests-netsocket-udp: UDPSOCKET_ECHOTEST_NONBLOCK execution time limit
Jan 31, 2019
b705934
Add MBEDTLS_ENTROPY_NV_SEED to NUCLEO_F411RE to fix the build
Feb 12, 2019
3204ce5
Prefixed string to properly be parsed as bytes
Feb 12, 2019
b63f255
Removed decode since deeper tools always return strings
Feb 12, 2019
64b263c
FUTURE_SEQUANA: Fixed Arduino signal mappings
lrusinowicz Feb 12, 2019
c632480
Add WIFI support for RDA target UNO_91H
caixue1102 Jan 7, 2019
c4e6275
Doxygen correction
Jan 10, 2019
8fe844d
platform: fix build warning in mbed_error
Feb 12, 2019
9891168
Greentea tests: set correct port to test against google.com
michalpasztamobica Feb 12, 2019
88c5b8d
target: UBLOX: Fix build warning in UBLOX_AT_CellularNetwork.cpp
Feb 12, 2019
1b0f7af
nanostack: icmpv6: fix build warning
Feb 12, 2019
8e84316
features: nanostack: fix warning in thread_extension.h
Feb 12, 2019
3525854
btle: fix build warning about unused clockConfiguration
Feb 12, 2019
1c88e0f
ESP8266: connect() can handle ESP's errors.
michalpasztamobica Feb 7, 2019
c05fca2
revert: "Refactor sleep tracing driver identifier to be pointer to th…
Feb 11, 2019
1406185
Add release notes section to PR template
orenc17 Feb 13, 2019
d17a5c8
Do not provide a default Pelion host address.
bridadan Feb 6, 2019
bb2e413
Add .inc as a header file type.
bridadan Feb 13, 2019
ec3093b
tools/utils: ensure default build profiles are processed first
Feb 14, 2019
f14828e
Add flash sum check
Feb 14, 2019
9c519c2
Including CTest explicitly
Feb 4, 2019
c433a14
Proper size checking for link ADR commands
Feb 4, 2019
523a8ce
Updating unit tests
Feb 4, 2019
b96ec17
Update mbed-coap to version 4.7.4
Feb 11, 2019
de35a15
Reverting to original doxy configuration
Feb 13, 2019
c71f1d4
Fix IntelliSense in VSCode export
ngraziano Feb 9, 2019
a476830
Vscode export: remove path separator conversion
ngraziano Feb 11, 2019
a245a17
Vscode export: replace obsolete ${workspaceRoot}
ngraziano Feb 11, 2019
0b8bcb0
readme: add list of licenses - not Apache 2.0
0xc0170 Jan 24, 2019
fabf99f
readme: license update
0xc0170 Feb 12, 2019
f2897a9
readme: storage license under one folder
0xc0170 Feb 12, 2019
656ab6e
license: rename to apache 2.0 txt file
0xc0170 Feb 13, 2019
0c104f2
license: add license file containing folders with non apache license
0xc0170 Feb 13, 2019
f68aa8c
readme: license file reference fix
0xc0170 Feb 13, 2019
22a288d
readme: fix space and . in license
0xc0170 Feb 14, 2019
38fa21d
Fix typo in LICENSE
Feb 15, 2019
4a58fa1
Add articles to README.md
Feb 15, 2019
783485f
Remove pyocd requirement and update icetea.
bridadan Feb 14, 2019
da5c3a8
tools: export: MCUXpresso: fix case inconsistencies in .templ file names
Feb 15, 2019
6be5ad0
ESP8266: connect() returns OK in non-blocking calls
michalpasztamobica Feb 15, 2019
631acd4
ONME-3949 Configuration options for STM_EMAC buffer counts
Jan 9, 2019
1f5fdbc
BLE:Cordio: ATTS setting for write cback should use bitwise or
desmond-blue Feb 19, 2019
dae6a75
Greentea: Remove TLSSocket_simultaneous test
michalpasztamobica Feb 15, 2019
fb4441f
Update Nanostack_HAL licenses and copyright year
Feb 19, 2019
7824c79
support in more types then just RSA_KEYPAIR
Feb 18, 2019
31b9ce2
cmsis conf: change license to apache 2.0
0xc0170 Feb 14, 2019
b6fe528
wifi test: add license info
0xc0170 Feb 14, 2019
e3e8d49
test mbedmicro: fix licenses
0xc0170 Feb 14, 2019
75ba44a
check release: add license header
0xc0170 Feb 14, 2019
aaa2b2b
tools: add license headers
0xc0170 Feb 15, 2019
a43ef52
copyright 2019 fix
0xc0170 Feb 15, 2019
7049b58
tools: fix hashbang
0xc0170 Feb 18, 2019
81f7aa6
memap: remove not needed comment prior future import
0xc0170 Feb 19, 2019
6cbe7a7
tools: move string description after import modules
0xc0170 Feb 19, 2019
2283274
PSOC6: enable export to CMake
vmedcy Feb 5, 2019
bb3c206
tools/export: move hex_files selection to base Exporter class
vmedcy Feb 19, 2019
c79e3fd
PSOC6: update PDL to the latest version
vmedcy Feb 15, 2019
42376c0
PSOC6: minor updates to Cypress HAL
vmedcy Feb 15, 2019
91df4c9
PSOC6: do not reconfigure BT GPIO pins in CYW43XXX HCIDriver
vmedcy Feb 15, 2019
cd4165b
PSOC6: update BSP generated sources with latest configurator
vmedcy Feb 15, 2019
c0a6e95
Add config header to assembly compilation
Feb 19, 2019
2a7f5e2
nRF52 serial: Tighten/simplify atomics
kjbracey Feb 5, 2019
79d8b3a
PSOC6: fix port_write API
vmedcy Feb 20, 2019
f329c7b
adv builder helper now returns an object
ConradBraam Feb 20, 2019
8fa17b8
license: use .md extension
0xc0170 Feb 20, 2019
9f04913
Change EventFlag timeout paramter
kegilbert Feb 20, 2019
b87ee6c
Added new target RHOMBIO_L476DMW1K
guialonsoalb Feb 20, 2019
3c223d9
added licence identifier texts
guialonsoalb Feb 20, 2019
c31635f
Change in license identifier, removed commented dead code
guialonsoalb Feb 21, 2019
49d5a4a
Adding STM32_L475 as a new MTB target
Feb 20, 2019
f4fc79e
Adding SPDX license identifier
Feb 20, 2019
a3007f6
Adding SPDX license identifer for all new files
Feb 20, 2019
ceb5c6e
Removing redundant code comments
Feb 20, 2019
7a716b5
Changing SPDX license identifier to BSD-3-Clause
Feb 21, 2019
7309bd9
Remove ITM from NRF52_DK and DELTA_DFBM_NQ620 targets
Feb 19, 2019
774ee68
STM32 LPTICKER (LPTIM): correct init execution after bootloader
jeromecoutant Feb 21, 2019
f5eb87c
Revert "nRF52 serial: Tighten/simplify atomics"
Feb 21, 2019
42b1afa
Revert "support in more types then just RSA_KEYPAIR"
Feb 22, 2019
71ebf82
Revert "Add MBEDTLS_ENTROPY_NV_SEED to NUCLEO_F411RE to fix the build"
Feb 22, 2019
b83fb2b
Revert "Restore MBEDTLS_PSA_CRYPTO_C for PSA targets"
Feb 22, 2019
51d5550
Merge pull request #9805 from ARMmbed/release-candidate
0xc0170 Feb 25, 2019
eac1103
Add SPIF definition
axg-onoda Mar 11, 2019
8bc9fb9
Merge pull request #11 from axg-onoda/uhuru_5_11_5_raven
junichikatsu Mar 12, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/issue_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<!--
Required
Add detailed description of what you are reporting.
Good example: https://os.mbed.com/docs/latest/reference/workflow.html
Good example: https://os.mbed.com/docs/mbed-os/latest/contributing/workflow.html
Things to consider sharing:
- What target does this relate to?
- What toolchain (name + version) are you using?
Expand Down
22 changes: 18 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
### Description

<!--
<!--
Required
Add here detailed changes summary, testing results, dependencies
Good example: https://os.mbed.com/docs/latest/reference/workflow.html (Pull request template)
Add here detailed changes summary, testing results, dependencies
Good example: https://os.mbed.com/docs/mbed-os/latest/contributing/workflow.html (Pull request template)
-->


### Pull request type

<!--
<!--
Required
Please add only one X to one of the following types. Do not fill multiple types (split the pull request otherwise).
Please note this is not a GitHub task list, indenting the boxes or changing the format to add a '.' or '*' in front
Expand All @@ -24,3 +24,17 @@
[ ] Test update
[ ] Breaking change

### Reviewers

<!--
Optional
Request additional reviewers with @username
-->

### Release Notes

<!--
Optional
In case of breaking changes, functionality changes or refactors, please add release notes here.
For more information, please see [the contributing guidelines](https://os.mbed.com/docs/mbed-os/latest/contributing /workflow.html#pull-request-types).
-->
152 changes: 99 additions & 53 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Copyright (c) 2013-2018 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the License); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

language: python
python: 2.7

Expand Down Expand Up @@ -30,8 +46,8 @@ before_install:
# Setup ppa to make sure arm-none-eabi-gcc is correct version
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
- sudo add-apt-repository -y ppa:deadsnakes/ppa
# Fix for "The following signatures were invalid: KEYEXPIRED 1515625755" failed". See https://github.com/travis-ci/travis-ci/issues/9037
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
# workaround for https://travis-ci.community/t/then-sudo-apt-get-update-failed-public-key-is-not-available-no-pubkey-6b05f25d762e3157-in-ubuntu-xenial/1728
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157
# Loop until update succeeds (timeouts can occur)
- travis_retry $(! sudo apt-get update 2>&1 |grep Failed)

Expand Down Expand Up @@ -69,7 +85,6 @@ matrix:
- doxygen doxyfile_options 2>&1
# Once Mbed OS has been fixed, enable the full test by replacing the top line with this:
# - ( ! doxygen doxyfile_options 2>&1 | grep . )

# Assert that all binary libraries are named correctly
# The strange command below asserts that there are exactly 0 libraries
# that do not start with lib
Expand All @@ -90,12 +105,20 @@ matrix:
install:
# Install dependencies
- sudo apt-get install gcc-arm-embedded
- pip install -r requirements.txt
- pip install pytest pylint hypothesis mock coverage coveralls
# Print versions we use

- arm-none-eabi-gcc --version
# Add additional dependencies specific for testing
- python --version
- |-
tr -d ' ' >> requirements.txt <<< "
mock==2.0.0
pytest==3.3.0
pylint>=1.9,<2
hypothesis>=3,<4
coverage>=4.5,<5
coveralls>=1.5,<2
"
# ... and install.
- pip install -r requirements.txt
- pip list --verbose
script:
# Run local testing on tools
Expand All @@ -106,57 +129,64 @@ matrix:
after_success:
# Coverage for tools
- coveralls
# Report success since we have overridden default behaviour
# Report success since we have overridden default behavior
- bash -c "$STATUS" success "Local $NAME testing has passed"

# - <<: *tools-pytest
# env: NAME=tools-py3.5
# python: 3.5
#
# - <<: *tools-pytest
# env: NAME=tools-py3.6
# python: 3.6
- env:
- NAME=doxy-spellcheck

install:
- sudo apt-get install aspell

script:
# Run local testing on header file doxy
- ./tools/test/travis-ci/doxy-spellchecker/spell.sh drivers
- ./tools/test/travis-ci/doxy-spellchecker/spell.sh platform
- ./tools/test/travis-ci/doxy-spellchecker/spell.sh events
- ./tools/test/travis-ci/doxy-spellchecker/spell.sh rtos
- ./tools/test/travis-ci/doxy-spellchecker/spell.sh features/netsocket

after_success:
# Coverage for tools
- coveralls
# Report success since we have overridden default behavior
- bash -c "$STATUS" success "Local $NAME testing has passed"

- <<: *tools-pytest
env: NAME=tools-py3.5
python: 3.5

- <<: *tools-pytest
env: NAME=tools-py3.6
python: 3.6

- <<: *tools-pytest
env: NAME=tools-py3.7
python: 3.7
dist: xenial

- env:
- NAME=astyle
install:
- curl -L0 http://mbed-os.s3-eu-west-1.amazonaws.com/builds/deps/astyle_3.1_linux.tar.gz --output astyle.tar.gz;
mkdir -p BUILD && tar xf astyle.tar.gz -C BUILD;
pushd BUILD/astyle/build/gcc;
make;
export PATH=$PWD/bin:$PATH;
popd;
- astyle --version
- >-
curl -L0 https://mbed-os.s3-eu-west-1.amazonaws.com/builds/deps/astyle_3.1_linux.tar.gz --output astyle.tar.gz;
mkdir -p BUILD && tar xf astyle.tar.gz -C BUILD;
cd BUILD/astyle/build/gcc;
make;
export PATH=$PWD/bin:$PATH;
cd -
- astyle --version
# Fetch remaining information needed for branch comparison
- git fetch --all --unshallow --tags
- git fetch origin "${TRAVIS_BRANCH}"
script:
# only changed files this time
git diff --name-only --diff-filter=d $TRAVIS_BRANCH | grep '.*\.\(h\|c\|hpp\|cpp\)$' | fgrep -v -f .astyleignore | xargs -n 100 -I {} bash -c "astyle -n --options=.astylerc \"{}\"" > astyle-files-changed.out;
if [ $(cat astyle-files-changed.out | grep Formatted | wc -l) -ne 0 ]; then
git --no-pager diff;
echo "";
echo "AStyle check failed, please fix style issues as shown above";
(exit 1);
else
echo "Coding style check OK";
fi
after_success:
# run astyle for all files on the branch
- git checkout -- .
- find -regex '.*\.\(h\|c\|hpp\|cpp\)$' -type f | fgrep -v -f .astyleignore | xargs -n 100 -I {} bash -c "astyle -n --options=.astylerc \"{}\"" > astyle-branch.out;
# update status if we succeeded, compare with master if possible
- |
CURR=$(cat astyle-branch.out | grep Formatted | wc -l)
PREV=$(curl -u "$MBED_BOT" https://github.com/api/repos/$TRAVIS_REPO_SLUG/status/master \
| jq -re "select(.sha != \"$TRAVIS_COMMIT\")
| .statuses[] | select(.context == \"travis-ci/$NAME\").description
| capture(\", (?<files>[0-9]+) files\").files" \
|| echo 0)
- >-
git diff --name-only --diff-filter=d FETCH_HEAD..HEAD \
| ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) \
| ( fgrep -v -f .astyleignore || true ) \
| while read file; do astyle -n --options=.astylerc "${file}"; done
- git diff --exit-code --diff-filter=d --color

STATUSM="Passed, ${CURR} files"
if [ "$PREV" -ne 0 ]
then
STATUSM="$STATUSM ($(python -c "print '%+d' % ($CURR-$PREV)") files)"
fi
- bash -c "$STATUS" success "$STATUSM"
- env:
- NAME=events
- EVENTS=events
Expand Down Expand Up @@ -277,6 +307,22 @@ matrix:
- env:
- NAME=licence_check
script:
- echo 'Checking that there is no GPL licence text in code'
- ! git grep -q --ignore-case "gnu general public";
- ! git grep -q --ignore-case "gnu library general public";
- >-
! grep --recursive --max-count=100 --ignore-case --exclude .travis.yml \
"gnu general\|gnu lesser\|lesser general\|public license"

- env:
- NAME=include_check
script:
- echo 'Checking that there are no '#include "mbed.h"' in code where it should not be'
- |
! git grep '^#include\s["'"']mbed.h['"'"]$' -- '*.c' '*.h' '*.cpp' '*.hpp' \
':!*platform_mbed.h' ':!*TESTS/*' ':!TEST_APPS/' ':!UNITTESTS/' \
':!*tests/*' ':!*targets/*' ':!*TARGET_*' ':!*unsupported/*'

- env:
- NAME=psa-autogen
script:
# Run SPM code generator and check that changes are not needed
- python tools/spm/generate_partition_code.py
- git diff --exit-code
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

Mbed OS is an open-source, device software platform for the Internet of Things. Contributions are an important part of the platform, and our goal is to make it as simple as possible to become a contributor.

To encourage productive collaboration, as well as robust, consistent and maintainable code, we have a set of guidelines for [contributing to Mbed OS](https://os.mbed.com/docs/latest/reference/contributing.html).
To encourage productive collaboration, as well as robust, consistent and maintainable code, we have a set of guidelines for [contributing to Mbed OS](https://os.mbed.com/docs/mbed-os/latest/contributing/index.html).
File renamed without changes.
22 changes: 22 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Unless specifically indicated otherwise in a file, files are licensed under the Apache 2.0 license,
as can be found in: LICENSE-apache-2.0.txt

Folders containing files under different permissive license than Apache 2.0 are listed below. Each folder should contain its own README file with license specified for its files. The original license text is included in those source files.

- [cmsis](./cmsis) - MIT, BSD-3-Clause
- [components/802.15.4_RF/mcr20a-rf-driver](./components/802.15.4_RF/mcr20a-rf-driver) - BSD-3-Clause
- [features/cryptocell/FEATURE_CRYPTOCELL310](./features/cryptocell/FEATURE_CRYPTOCELL310) - ARM Object Code and Header Files License
- [features/FEATURE_BOOTLOADER](./features/FEATURE_BOOTLOADER) - PBL
- [features/FEATURE_BLE/targets](./features/FEATURE_BLE/targets) - BSD-style, PBL, MIT-style
- [features/lorawan](./features/lorawan) - Revised BSD
- [features/lwipstack](./features/lwipstack) - BSD-style, MIT-style
- [features/nanostack/sal-stack-nanostack](./features/nanostack/sal-stack-nanostack) - BSD-3-Clause
- [features/storage](./features/storage) - BSD-style, MIT
- [features/netsocket/emac-drivers](./features/netsocket/emac-drivers) - BSD-style
- [features/frameworks/unity/unity](./features/frameworks/unity/unity) - MIT
- [features/unsupported](./features/unsupported) - MIT-style, BSD-style
- [rtos](./rtos) - MIT
- [drivers](./drivers) - MIT
- [TESTS/mbed_hal/trng/pithy](./TESTS/mbed_hal/trng/pithy) - BSD-3-Clause
- [tools/data/rpc](./tools/data/rpc) - MIT
- [targets](./targets) - PBL, BSD-style, MIT-style, Zlib-style, Public-domain
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ The [release notes](https://os.mbed.com/releases) detail the current release. Yo

## License and contributions

The software is provided under [Apache-2.0 license](LICENSE). Contributions to this project are accepted under the same license. Please see [contributing.md](CONTRIBUTING.md) for more info.
The software is provided under the [Apache-2.0 license](LICENSE-apache-2.0.txt). Contributions to this project are accepted under the same license. Please see [contributing.md](CONTRIBUTING.md) for more information.

This project contains code from other projects. The original license text is included in those source files. They must comply with our [license guide](https://os.mbed.com/docs/latest/reference/license.html)
This project contains code from other projects. The original license text is included in those source files. They must comply with our [license guide](https://os.mbed.com/docs/latest/reference/license.html).

Folders containing files under different permissive license than Apache 2.0 are listed in the [LICENSE](LICENSE) file.

## Getting started for developers

Expand Down
2 changes: 1 addition & 1 deletion TESTS/host_tests/crash_reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def test_steps(self):
wait_after_reset = wait_after_reset if wait_after_reset is not None else DEFAULT_CYCLE_PERIOD

#Wait 2 seconds for system to init
time.sleep(2.0)
time.sleep(7.0)
#self.send_kv(MSG_KEY_SYNC, MSG_VALUE_DUMMY)
self.send_kv(MSG_KEY_DEVICE_ERROR, MSG_VALUE_DUMMY)
time.sleep(5.0)
Expand Down
2 changes: 1 addition & 1 deletion TESTS/host_tests/rtc_calc_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def _verify_timestamp(self, key, value, timestamp):
self.send_kv("passed", str(response))
else:
self.send_kv("failed", 0)
print "expected = %d, result = %d" % (expected_timestamp , actual_timestamp)
print("expected = %d, result = %d" % (expected_timestamp , actual_timestamp))

# calculate next date
if (self.first):
Expand Down
Loading