Commit Graph

21612 Commits (1d2064694713f81823baaf6ee6bced3ae9140c69)

Author SHA1 Message Date
Cruz Monrreal II 1d20646947 Enable xenail dist for only Py37 job Other jobs will follow with other PR 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 300cb4ba19 Enabled Py3.{5,6,7} in Travis CI 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 792d13d395 Added flag to run_cmd Popen invocation to do default decoding 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 755931de72 Added None check for min in config tools 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 246f6fc305 In Py3.7, a reinit of a mock variable was needed. It seems that initializing mock variables in an object isn't enough 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 5469c00e81 Added encoding to version check for Py3 compat 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 8e169f2a06 Increased path for spm include. Py3 tests were not running as a result 2019-02-08 16:50:27 +00:00
Cruz Monrreal II 13ad6f6694 Added universal_newlines flag to Popen in pylint.py 2019-02-08 16:50:27 +00:00
Amir Cohen b6dcf89e61 Remove COMPONENT_FLASHIAP tests
FlashIAPBlockDevice LittleFS ‘fopen’ falls on nightly tests
LittleFS test on FlashIAP is not relevant and thus removed
2019-02-08 16:50:27 +00:00
Brian Daniels 708a52116a Update all mbed test packages.
This change allows the latest releases of mbed-ls, mbed-host-tests, and
mbed-greentea. This brings new target support, features, and bug fixes.
2019-02-08 16:50:27 +00:00
Mahesh Mahadevan d1a610a33c MIMXRT1050_EVK: Add IAR support in the exporter
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-02-08 16:50:27 +00:00
Michal Paszta a7ee4afcf1 Publish TLSSocket test documentation
The whole README.md had to be updated to match the internal Confluence documentation, which can now be locked. In the process I also updated any spotted mistakes in tests documentation, removed the obsolete TCPServer tests documentation and added a test which was missing from UDPSocket's main.
2019-02-08 16:50:27 +00:00
Michal Paszta 2117c7f932 Add TLSSocket greentea tests.
TLSSocket tests based on existing TCPSocket greentea tests and TLSSocket icetea tests.
2019-02-08 16:50:27 +00:00
jeromecoutant 5949fd37d1 DIRS and SEEK SD tests update for small RAM targets
Test buffer size can now be specified for each target
2019-02-08 16:50:27 +00:00
Przemyslaw Stekiel ba15236fff Fix for Issue #7308 (Deep_sleep_lock Ticker.h Issue) 2019-02-08 16:48:59 +00:00
Mahesh Mahadevan fd6b59cf29 LPC546XX, MIMXRT1050: Update to fix ARMC6 build failures
Fix for issue 9402

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-02-08 16:48:59 +00:00
Volodymyr Medvid ced094f153 PSOC6.py: generate hex files with 16 bytes per row
DAPLink implementation on Cypress kits cannot handle hex files
with 64 bytes per row: refer to https://github.com/ARMmbed/DAPLink,
source/daplink/drag-n-drop/intelhex.c, hex_line_t struct, data field.
2019-02-08 16:48:59 +00:00
Brian Daniels 75d438e271 Remove unused yotta module metadata 2019-02-08 16:48:59 +00:00
Amanda Butler 0b2cedc873 Remove outdated content from README.md
Remove requested outdated content, and update TOC to reflect changes.
2019-02-08 16:48:59 +00:00
Amanda Butler 0d09429983 Remove .json blob from README.md
Make change suggested in comments.
2019-02-08 16:48:59 +00:00
Brian Daniels a236d20e26 Update features/frameworks/greentea-client/README.md
Co-Authored-By: AnotherButler <Amanda.Butler@arm.com>
2019-02-08 16:48:59 +00:00
Amanda Butler 5099d4136d Remove yotta from README.md
Remove all references to yotta.md
2019-02-08 16:48:59 +00:00
Maciej Bocianski 56c0ece600 ARCH_PRO: add SPI pin definitions 2019-02-08 16:48:59 +00:00
Volodymyr Medvid 5d819621e9 PSOC6: refactor M0 image merging, enable export to makefile
Rename the existing PSoC-specific m0_core_img key in targets.json
as a more generic hex_filename key. Update makefile exporter to select
the subset of resources.hex_files matching the hex_filename value.
Without this fix, multiple prebuilt CM0+ hex files are found in the
target resources and erroneously passed to the srec_cat tool.

The fix is generic so other targets that need post-build hex merging
can use this key to pass the correct image to srecord tool.

The fix also removes sub_target key: instead, rely hex_filename json
key to detect if the hex image merging needs to be done.
The sub_target is not used in mbed-os codebase for anything else.

It is possible to override the hex file name in mbed_app.json:
{
  "target_overrides": {
    "*": {
      "target.hex_filename": "my_custom_m0_image.hex"
    }
}
2019-02-08 16:48:59 +00:00
Volodymyr Medvid ecc9aa7bf2 PSOC6.py: do not require metadata during HEX merging
Replace hard-coded numeric offsets of PSoC 6 hex file sections
with sensible constants.
Do not attempt to update the checksum and metadata contents
if the sections are not found in the original HEX file.
2019-02-08 16:48:59 +00:00
Volodymyr Medvid 3fa2fb21cc PSOC6.py: remove silicon ID check
PSoC 6 hex files contain 4-byte chip ID at virtual offset 0x90500002
added by PSoC Creator or cymcuelftool from .cymeta ELF section.
merge_images compares chip ID in CM0+ and CM4 hex files and raises
an exception in case of mismatch. Chip ID is different for each MPN
(for example, 0xE2072100 for CY8C6347BZI-BLD53 and 0xE2062100 for
CY8C6247BZI-D54). CM0+ prebuilt images target CY8C6347BZI-BLD53
but should be compatible with other PSoC6 MPNs.
Remove the check to enable merging CM0+ images with CM4 applications
built for different MPNs, with empty or absent cymetadata.
2019-02-08 16:48:59 +00:00
Vincent Coubard 05dcde839e BLE: Fix relationnal operator of SafeEnum
The relationnal operators were targeting the base class which defines an implicit constructor to an integral value. This is wrong as it allows SafeEnum instances to be compared against integers.

The fix is simple: define relationnal operators for the derived class. The derived class is known as it is passed as a template parameter of the base class.

For extra safety the SafeEnum constructor is now explicit and protected.
2019-02-08 16:48:59 +00:00
Vincent Coubard 20cdd6e0de BLE: Fix comparison expression between an integer and a SafeEnum 2019-02-08 16:48:59 +00:00
Amanda Butler 7adbfed380 Remove outdated text and fix spelling in README.md
Remove reference to yotta, and fix spelling for correct branding.
2019-02-08 16:48:59 +00:00
Jan Jongboom f431cb9e34 TCPSocket.cpp setting socket should terminate with semicolon 2019-02-08 16:48:59 +00:00
Seppo Takalo 5bd99ec2d6 Fix spelling mistakes 2019-02-08 16:48:59 +00:00
Seppo Takalo 5788107da3 Add missing copyright header. 2019-02-08 16:45:28 +00:00
Seppo Takalo 566a12efab Fix review findings. 2019-02-08 16:45:28 +00:00
Mel Weed e8b45561d3 editorial changes 2019-02-08 16:45:28 +00:00
Mel Weed 8a781ea3ea mbed-tls/TLS to Mbed TLS 2019-02-08 16:45:28 +00:00
Mel Weed 0117ec4b98 grammatical corrections 2019-02-08 16:45:28 +00:00
Mel Weed 24803d2650 editorial changes, punctuation 2019-02-08 16:45:28 +00:00
Kari Haapalehto 259d72601a Review changes 2019-02-08 16:45:28 +00:00
Mel Weed 07cd9a10c7 typo fixes, future->present 2019-02-08 16:45:28 +00:00
Mel Weed 8d84a14cda removing 'easy to use' 2019-02-08 16:45:28 +00:00
Kari Haapalehto 8a4674d44a Hide protected start_handshake 2019-02-08 16:45:28 +00:00
Seppo Takalo 4d6e99c52e Add more documentation to Socket classes. 2019-02-08 16:45:28 +00:00
Seppo Takalo 5a662b4279 Fix DNS grouping 2019-02-08 16:45:28 +00:00
Seppo Takalo 1b40e43e0e Remove extra @param values 2019-02-08 16:45:28 +00:00
Kari Haapalehto 02e2704db0 Doxygen corrections to DTLSSocket.h, TLSSocket.h, TLSSocketWrapper.h and DTLSSocketWrapper.h 2019-02-08 16:45:28 +00:00
Jarno Lamsa c2718e3666 WifiInterface doxygen cleanup 2019-02-08 16:45:28 +00:00
Jarno Lamsa 3f9430311f SocketAddress doxygen cleanup 2019-02-08 16:45:28 +00:00
Seppo Takalo 1ab806bdbb Create new netinterface Doxygen group 2019-02-08 16:45:28 +00:00
Seppo Takalo 81108c6528 Fix NetworkInterface grouping 2019-02-08 16:45:28 +00:00
Kari Haapalehto 222a36c6f4 Doxygen corrections to: - DTLSSocket.h - TLSSocket.h - TLSSocketWrapper.h 2019-02-08 16:45:28 +00:00