Commit Graph

24193 Commits (mbed-os-5.12)

Author SHA1 Message Date
Cruz Monrreal II e932c69280 Cleaned up LittleFS and Event Queue tests. Added {} around each variable. Ported python invocations for simple math opts to coreutil commands 2019-04-24 13:37:42 +01:00
Cruz Monrreal II 9815af3941 Fixed littlefs tests to be Py3 compat 2019-04-24 13:37:42 +01:00
Cruz Monrreal II 7a36f93bf5 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-24 13:37:42 +01:00
Cruz Monrreal II 8be769ab9e Re-enabled PR status reporting. Added external bash file to source functions from 2019-04-24 13:37:42 +01:00
Cruz Monrreal II bffc168833 Grouped jobs into build stages 2019-04-24 13:37:42 +01:00
Cruz Monrreal II 34d43450b6 Removed status reporting.
Re-enabled in later commit.
2019-04-24 13:37:42 +01:00
Cruz Monrreal II 33cc51b91c Changed default language to shell.
Not every VM needs the setup overhead that 'language: python' was providing
2019-04-24 13:37:42 +01:00
Brian Daniels 3b89599bb3 Apply suggestions from code review
Co-Authored-By: theotherjimmy <theotherjimmy@gmail.com>
2019-04-24 13:37:42 +01:00
Brian Daniels ff47253b85 Apply suggestions from code review
Co-Authored-By: theotherjimmy <theotherjimmy@gmail.com>
2019-04-24 13:37:42 +01:00
Jimmy Brisson 98d076d1b2 Correct Python 3 errors and lint warnings in build_release.py
### Description

I think this file is still used, and it's about time we updated it for
compatibility with python3. While I was in there, I fixed all of the
linter warnings, so that it's easier to spot bad code.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Docs update
    [ ] Test update
    [ ] Breaking change
2019-04-24 13:37:42 +01:00
Shrikant Tudavekar fb5c9545b8 removed the redundant RW_IRAM1 region 2019-04-24 13:37:42 +01:00
Shrikant Tudavekar 0ad756c9c7 crash data support for NUC472 with gcc_arm 2019-04-24 13:37:42 +01:00
Shrikant Tudavekar c7ef343ece crash data support for NUC472 with armcc 2019-04-24 13:37:42 +01:00
Shrikant Tudavekar c1df6ea5fa place crash data region at end of IRAM 2019-04-24 13:37:42 +01:00
Shrikant Tudavekar b35d7bad6f remove unused __CRASH_DATA_RAM_SIZE__ 2019-04-24 13:37:42 +01:00
Shrikant Tudavekar cf67aff1f2 enable crash capture for NUMAKER_PFM_NUC472 2019-04-24 13:37:42 +01:00
Shrikant Tudavekar bc99864086 create a region instead of a block for crash data 2019-04-24 13:37:42 +01:00
Kevin Bracey b0526f8177 LPC55S69: Cast to cope with const mismatch 2019-04-24 13:37:42 +01:00
Kevin Bracey 73eb1c95de LPC55S69: Fix APB bridge security programming
Spotted in compiler warnings - code was trying to access a non-existent
second security control block, rather than access the settings for the
second APB bridge in the first and only security control block.
2019-04-24 13:37:42 +01:00
Tymoteusz Bloch 6c8a93d478 L3IP input now use tcpip_input instead of ip_input 2019-04-24 13:37:42 +01:00
Oren Cohen 619fc05318 Configure PS with tdbstore 2019-04-24 13:37:42 +01:00
itayzafrir 62905b1dc3 Add message context cleanup helper function 2019-04-24 13:37:42 +01:00
itayzafrir 34aa2288f0 Rename internal function destroy_hash_clone to clear_hash_clone 2019-04-24 13:37:42 +01:00
itayzafrir 60c9f54810 Do not allocate zero sized buffers - generators 2019-04-24 13:37:42 +01:00
itayzafrir 10c36c781c Do not allocate zero sized buffers - rng 2019-04-24 13:37:42 +01:00
itayzafrir 12cd1b1ff6 Do not allocate zero sized buffers - entropy 2019-04-24 13:37:42 +01:00
itayzafrir b2731f100a Do not allocate zero sized buffers - keys 2019-04-24 13:37:42 +01:00
itayzafrir e3f9a7b93c Do not allocate zero sized buffers - cipher 2019-04-24 13:37:42 +01:00
itayzafrir 3d8ea169ca Do not allocate zero sized buffers - aead 2019-04-24 13:37:42 +01:00
itayzafrir bbf7e77b2c Do not allocate zero sized buffers - asymmetric 2019-04-24 13:37:42 +01:00
itayzafrir 0807687966 Do not allocate zero sized buffers - hash 2019-04-24 13:37:42 +01:00
itayzafrir 36265a5d47 Do not allocate zero sized buffers - mac 2019-04-24 13:37:42 +01:00
itayzafrir 5f997c2dc2 Fix crypto service abort functionality - generators 2019-04-24 13:37:42 +01:00
itayzafrir 28775e1c7a Fix crypto service abort functionality - mac 2019-04-24 13:37:42 +01:00
itayzafrir 3085e7188c Fix crypto service abort functionality - hash 2019-04-24 13:37:42 +01:00
itayzafrir 3233820b83 Fix crypto service abort functionality - cipher
Also refactor cipher setup function to one common function.
2019-04-24 13:37:42 +01:00
Hasnain Virk 805f35f145 Flagging WEAK method implementation for default construction
CellularDevice::get_default_instance() is a weak method and is overriden
by either a default construction provided in the code or by application
at some stage. This method needs to be flagged otherwise using another
driver will be hindered by the default overriding of this driver.
2019-04-24 13:37:42 +01:00
Vivek Pallantla 22f3eddb10 PSoC uart: Setup RTS and TX lines in deepsleep
When PSoC enters deepsleep, in uart driver
  - deassert RTS, set RTS to output high
  - set TX to output high
2019-04-24 13:37:42 +01:00
Brian Daniels 958394d13b Force SAMD21 and SAMR21 targets to ARMC5 due to incompatibility.
The hal code for this target uses "const volatile" types inside of
structs, which are non-trivially copyable in clang (used by ARMC6). This
causes the build to fail.

Here's the commit that changed this in clang:
a3d727ba77

It seems this was reverteed some time ago in clang, but ARMC6 may not
be up to date.
2019-04-24 13:37:42 +01:00
Brian Daniels f594860c4f Fix detection of supported targets for mbed 2 builds 2019-04-24 13:37:42 +01:00
Jimmy Brisson ed72b448c4 Fix the bug that travis caught 2019-04-24 13:37:42 +01:00
Jimmy Brisson d9b3de3584 Parse section starts beginning with whitespace 2019-04-24 13:37:42 +01:00
Jimmy Brisson 9efccffa02 Correct all linting errors 2019-04-24 13:37:42 +01:00
Russ Butler 5eba40774a Fix doxygen comment in USBDevice
Update the doxygen to correctly describe the return value of
endpoint_read_result.
2019-04-24 13:37:42 +01:00
ccli8 d252d30778 Add license header 2019-04-24 13:37:42 +01:00
ccli8 ec9598a2f3 Override CMSIS ROM/RAM spec in targets.json
Old M2351 CMSIS pack reports single secure ROM/RAM spec. It is updated in new
version which reports secure/non-secure ROM/RAM spec. Override this memory spec
in targets.json regardless of CMSIS.
2019-04-24 13:37:42 +01:00
ccli8 746b5835c7 Refactor for memory partittion support
Add partition_M2351_mem.h/partition_M2351_mem.icf to centralize memory partition
2019-04-24 13:37:42 +01:00
ccli8 3c833b1b24 Fix preprocessor command line in ARMC6 .sct file 2019-04-24 13:37:42 +01:00
ccli8 90e5dc7096 Rename TOOLCHAIN_ARM_STD TOOLCHAIN_ARMC6
This is to express ARMC6 toolchain support more explicitly.
2019-04-24 13:37:42 +01:00
ccli8 db8bb4d639 Remove unnecessary toolchain directory TOOLCHAIN_ARM_MICRO 2019-04-24 13:37:42 +01:00