Commit Graph

24126 Commits (801e55512198fa404054c8c1726cdaeecaa6e96f)

Author SHA1 Message Date
Michael Schwarcz 3ea2161755 Add USTICKER to ARCH_PRO target 2019-03-26 09:52:17 +02:00
Michael Schwarcz 568feaf7da Remove dependency on us_ticker HAL apis for non USTICKER targets
- Surround mbed_us_ticker_api.c with if DEVICE_USTICKER
- get_us_ticker_data() returns NULL for non-usticker targets.
2019-03-26 09:52:17 +02:00
Nir Sonnenschein f1e664be82
Merge pull request #10222 from cmonr/TravisCI.astyle-fix
Travis CI: Updated astyle to work with updated .astyleignore file
2019-03-26 09:44:14 +02:00
Mirela Chirica ec3c6f37f9 Cellular: WISE-1570 needs greater receiving timeout to pass UDPSOCKET_ECHOTEST_NONBLOCK test
Reason for needing greater timeout could be this test's performance.
UDPSOCKET_ECHOTEST_BURST_NONBLOCK is implementing the receiving
differently and is passing with 1 second timeout.
2019-03-26 09:10:02 +02:00
Teppo Järvelin b0ee22c96b Cellular: CellularContext must provide access to CellularDevice
When using NetworkInterface::get_default_instance() application gets handle
to CellularInterface which is actually CellularContext derived from CellularInterface.
Application needs also handle to CellularDevice to open other interfaces.
2019-03-26 07:29:11 +02:00
ccli8 da7035eb6b Fix MBED_RAM_START/MBED_RAM_SIZE symbol generation
1. Fix MBED_RAM_START/MBED_RAM_SIZE are not generated when there are
   target.mbed_ram_start/target.mbed_ram_size overrides
2. Fix MBED_RAM_START/MBED_RAM_SIZE are duplicated.
2019-03-26 09:34:59 +08: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
Cruz Monrreal f87a3e9c32
Merge pull request #10221 from cmonr/TravisCI.astyle-fix
Travis CI: Replaced './' with '^' in .astyleignore file.
2019-03-25 17:14:31 -05:00
Cruz Monrreal II 287f28fa75 Replaced './' with '^' in .astyleignore file.
'^' matches start of line, which is what fgrep/grep use to properly ignore start of lines
2019-03-25 13:20:47 -05:00
Oren Cohen b7b0c254b7 Define program_cycle_s for CY8CKIT_062_WIFI_BT 2019-03-24 19:21:27 +02:00
Oren Cohen 85d4527b61 Define program_cycle_s for NXP LPC55S69 2019-03-24 17:52:10 +02:00
Nir Sonnenschein b29b55ab5a
Merge pull request #10193 from bridadan/arm_tc_with_fallback
Fallback to ARMC5 when ARMC6 is not configured
2019-03-24 09:28:53 +02:00
Brian Daniels b95732a1b5 get_mbed_official_release respects supported_toolchains 2019-03-23 18:24:59 -05:00
Brian Daniels 0f1bd76c01 Add link for ARMC5 warning 2019-03-23 18:24:59 -05:00
Brian Daniels b94c4189b7 Updating supported toolchain printing with new options 2019-03-23 18:24:58 -05:00
Brian Daniels 1c31d365c2 Add ARMC5 as an option for the -t argument 2019-03-23 18:24:58 -05:00
Brian Daniels b809ec6226 Make args_erroor less verbose.
This removes the arugment help from the output, making the error much
easier to find. This solves #10090.
2019-03-23 18:24:58 -05:00
Brian Daniels 2b4960bffe Front-end scripts now use the ARM toolchain fallback.
Some unused imports were removed as well as some general clean up.
2019-03-23 18:24:58 -05:00
Brian Daniels 04e90c278c ARMC5 is supported if a target lists ARM as a supported_toolchain 2019-03-23 18:24:58 -05:00
Brian Daniels 6f5a3c3e8d Add functions to enable ARM fallback to ARMC5.
There are two new functions: get_valid_toolchain_names and
find_valid_toolchain. These functions are used to figure out if a
fallback is possible and necessary. find_valid_toolchain is expected to
be used by the front-end scripts.

get_toolchain_name was updated with some different logic and comments.
2019-03-23 18:24:58 -05:00
Brian Daniels 08d9e32e63 Add utility functions and Exceptions
These functions will be used to handle some of the error state and
warning messages produced when the scripts attempt to select a valid
toolchain.
2019-03-23 18:24:57 -05:00
Brian Daniels 2b75dfda0f Only enable ARMC6 for a few targets
The affected targets are Renesas targets, USI_WM_BN_BM_22 based
targets, and the MTB_MXCHIP_EMW3166.
2019-03-23 18:24:57 -05:00
Brian Daniels a8032db48a Whitespace clean up 2019-03-23 18:24:57 -05:00
Cruz Monrreal 4e514ae3c5
Merge pull request #10199 from bridadan/fix_cores_in_uvision
Fix the removal of Mbed-added core flags in uvision exporter
2019-03-23 18:03:38 -05:00
Brian Daniels f56bf8f689 Fix the removal of Mbed-added core flags in uvision exporter 2019-03-23 15:39:06 -05:00
Martin Kojtal ac118eaedc
Merge pull request #10164 from Patater/tls-2.17.0
tls: Update Mbed TLS to 2.17.0
2019-03-23 16:33:52 +01:00
Martin Kojtal f6fc71c501
Merge pull request #10152 from Patater/crypto-1.0.0
crypto: Update Mbed Crypto to 1.0.0
2019-03-23 16:33:32 +01:00
Martin Kojtal aca0f2f48e
Merge pull request #10114 from bridadan/armc6_mbed_ide
Allow the use of Mbed Studio's version of ARMC6
2019-03-23 16:30:01 +01:00
studavekar 31d4ea8722 update gcc arm version to 6-2017-q1-update 2019-03-22 13:48:46 -05:00
kegilbert ac2a52a429 Remove gnuarmeclipse from baremetal export testing
baremetal does not currently work with gnuarmeclipse
2019-03-22 09:17:24 -05:00
Hasnain Virk 4c1b8a8816 Unit test fix LoRaPHY_stub
get_rx_window_params() API is changed. To reflect that changing the
stub.
2019-03-22 15:45:45 +02:00
Hasnain Virk 2691b83c4e Fixing premature RX2 abort
A bug while setting up RX start timers would result in premature closusre
of RX2 window. The 'ack_Timeout_timer' would be invoked prematurely and
at that time RX2 window may be being demodulating. This resulted in
massive instability with any test that relied on Confirmed traffic or
lower data rates.

To fix the issue, we must know the length of the RX window in
milliseconds and for this purpose we have extended the
'get_rx_window_params(...)' API. The length of the time the window
may remain open must be accounted for while setting up
'ack_timeout_timer'.
2019-03-22 15:15:51 +02:00
Hasnain Virk 2618813c70 Ack timeout must be at least 2 seconds
While calculating ack timeout, we were ending up getting a random value
which may become less than 2 seconds. This is not allowed as per v1.0.2
specification.

To fix the issue we now take the random number from 0 to 2000 ms and
then add that to the fixed 2000 ms ack timeout value, guaranteeing a
value at least equal to 2000 ms.
2019-03-22 15:15:51 +02:00
Martin Kojtal f76436c955
Merge pull request #10181 from jeromecoutant/PR_STMOD
DISCO_L496AG: Add PMOD and STMOD+ connector
2019-03-22 11:17:12 +01:00
Arto Kinnunen 0710298a3c Nanostack 802.15.4 RF drivers update
Sync Nanostack RF drivers from master copy:
-MCR20A: v1.0.6
-S2LP: v0.0.5
2019-03-22 08:28:13 +02:00
Martin Kojtal 88c33a09c0 readme: remove waffle as not supported soon
Fixes #10176
2019-03-22 06:56:43 +01:00
Martin Kojtal e7987a9f04
Merge pull request #10166 from cmonr/astyle-fix
Travis CI: Tweak astyle to not over-exclude files
2019-03-22 06:36:07 +01:00
Martin Kojtal d6908ce97f
Merge pull request #10178 from OpenNuvoton/nuvoton_fix_stor_cmpt
Nuvoton: Remove SD component from targets.json
2019-03-22 06:33:46 +01:00
Martin Kojtal 1d8c3d4553
Merge pull request #10179 from u-blox/n2xx_provide_default
Cellular: C030_N2XX default interface
2019-03-22 06:33:24 +01:00
Martin Kojtal e7a4658256
Merge pull request #10180 from AriParkkila/fix-wise-1570
Fix SPIF speed for MTB_ADV_WISE_1570 and max packet size for BC95
2019-03-22 06:32:39 +01:00
Leszek Rusinowicz 8d8cf1acc3 Workaround for ARMC6 Windows 7 assembler issue
On Windows 7 using --preproc option in ARMC6 assembler doesn't work
when -MD option is also specified. Compiler creates incorrect filename for
dependency file and compilation files.
To workaround this issue, this change returns to using a temporary file and
separately calling preprocessor and assembler (as in a case of ARMC5).
2019-03-21 23:04:32 +01:00
Brian Daniels e382b5034a Add comments about the proper use of specific ARMC6 arguments 2019-03-21 16:24:44 -05:00
Martin Kojtal 6f403217c6
Merge pull request #10189 from kfnta/rollup
Rollup
2019-03-21 21:39:17 +01:00
Tymoteusz Bloch 646c925d60 Fixed compilation error in LWIPStack class if lwip tcp is disabled. 2019-03-21 17:58:31 +01:00
Oren Cohen 021faf24cd Merge remote-tracking branch 'jimmy/targets-json-sectors' into rollup 2019-03-21 18:19:12 +02:00
Oren Cohen 4554258723 Merge remote-tracking branch 'jimmy/send-ram-cykit' into rollup 2019-03-21 18:18:51 +02:00
Oren Cohen 29e1711b28 Merge branch 'cypress_ram' into rollup 2019-03-21 18:18:22 +02:00
Oren Cohen 6f7f30fb24 Add missing sector data 2019-03-21 17:47:32 +02:00
Jimmy Brisson 03f9a0cd23 Configure sector information in targets.json 2019-03-21 10:04:19 -05:00
Ryan Morse 51a47139f3 Fixed issue with PWM not being freed when the object is destroyed 2019-03-21 07:48:42 -07:00