Commit Graph

17169 Commits (298f84782117d8da74eacd3dd9da1e4c8e384f9c)

Author SHA1 Message Date
Mahesh Mahadevan 632892d355 MIMXRT1050: Update to EVK Rev B
1. Add the IVT header to the binary as this is required for boot up
   This was earlier added by the DAPLink firmware. As it is no longer
   handled in DAPLink, the header needs to be added inside mbed.
2. Update drivers

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-06-21 13:34:12 -05:00
Amanda Butler da6f2d958b
Copy edit CellularConnectionFSM.h
Copy edit for consistent tense and comma usage.
2018-06-21 11:12:08 -05:00
Cruz Monrreal 0b8f46763a
Merge pull request #7220 from melvinvdb/fix_nrf5x_interrupt_pull_mode
Fix mbed::InterruptIn.mode() in NRF5x targets
2018-06-21 10:31:48 -05:00
Cruz Monrreal b80490d884
Merge pull request #7280 from marcuschangarm/fix-spi
Fix SPI initialization for NRF52 series
2018-06-21 10:05:54 -05:00
Cruz Monrreal 1087c0a959
Merge pull request #7283 from juhaylinen/update-greentea-tests
Update Greentea netsocket and wifi tests
2018-06-21 10:05:26 -05:00
Cruz Monrreal ea7320791e
Merge pull request #7288 from OpenNuvoton/nuvoton_fix_greentea_wakeup
Fix Greentea test code with wakeup from deepsleep
2018-06-21 10:04:47 -05:00
Cruz Monrreal II 799cfdbbc2 Compiling Cortex-A cores in uVision is not supported.
Reference: http://www2.keil.com/mdk5/selector
2018-06-21 09:13:24 -05:00
aqib nasim 8efe3b5bcd adding USTICKER label for C027 2018-06-21 17:00:26 +05:00
Bernhard Schuster 124e15f196 NRF52: attempt to complete 86ce955d96 for ARMCC and IAR 2018-06-21 13:24:49 +02:00
Seppo Takalo 98a787b003 Fix Astyleignore and Mbed 2 travis build rules 2018-06-21 12:56:22 +03:00
Kari Haapalehto 699811be72 Add binary drivers for MTB_USI_WM_BN_BM_22 and MTB_ADV_WISE_1530 2018-06-21 12:15:53 +03:00
Seppo Takalo c544ce0a3b Add deprecation warning for those who enable LWIP or NANOSTACK
This is dropped by linker so does not cause any RAM/ROM cost.
2018-06-21 11:00:00 +03:00
Seppo Takalo e4d1a9a85a Remove FEATURE_LWIP. The LwIP stack is enabled on all builds now
Leave the FEATURE_LWIP enabled in build scripts so that it does
not break any builds.

Removed 'feature_add: ["LWIP"]' on all targets.
2018-06-21 11:00:00 +03:00
ccli8 9416a32636 Enlarge wait time for flushing serial buffer in Greentea test code
Original wait time is not enough for UART to flush out before deepsleep on some targets.
2018-06-21 15:55:14 +08:00
Seppo Takalo adce2d9172 Remove deprecatd LwIP eth drivers 2018-06-21 10:28:50 +03:00
Juha Ylinen 3c32b3ada7 Update Greentea netsocket and wifi tests
Increase timeout for netsocket TCP and UDP tests. Old timeout
(240 seconds) was not enough for slower devices to complete the
tests.
Accept error codes NSAPI_ERROR_CONNECTION_TIMEOUT and
NSAPI_ERROR_NO_CONNECTION when running test wifi_connect_secure_fail
2018-06-21 09:01:15 +03:00
ccli8 8071409963 Move RTX_NO_MULTITHREAD_CLIB from RTX_Config.h to mbed_rtx_conf.h
This is to avoid change to RTX code base.
2018-06-21 09:57:21 +08:00
ccli8 f055c2a700 Add comment with RTX_NO_MULTITHREAD_CLIB movement 2018-06-21 09:54:47 +08:00
Cruz Monrreal 443e37b00c
Merge pull request #7274 from 0xc0170/fix_travis_mongodb
Travis: fix mongodb key expired error
2018-06-20 19:06:27 -05:00
Marcus Chang 6cec180d0b Fix SPI initialization for NRF52 series
New changes to Mbed error reporting in 5.9 exposed bug in SPI
driver where an instance was uninitialized twice which triggered
an ASSERT.

This fix keeps track of which instance has been initialized and
only calls uninit when it is safe.
2018-06-20 15:09:14 -07:00
Cruz Monrreal 84d6b79dec
Merge pull request #7172 from mprse/NRF5x_updates
Unify RTC, lp ticker, and us ticker for NRF51 and NRF52 series
2018-06-20 16:08:05 -05:00
Cruz Monrreal c4113ae2f5
Merge pull request #7175 from jamesbeyond/fm_mbed_hal
Enable new HAL us_ticker API on fast model MPS2 platform
2018-06-20 12:58:18 -05:00
Cruz Monrreal badb79ee4b
Merge pull request #7272 from KariHaapalehto/emw3166_driver_support
Add binary drivers for MTB_MXCHIP_EMW3166
2018-06-20 12:56:03 -05:00
Senthil Ramakrishnan baa44eb3f2 Limit error filename capture to 64 chars, wrapping tests with right configs and astyle fixes. 2018-06-20 11:56:32 -05:00
Senthil Ramakrishnan dcdd616e6d Update exception handling code to remove dedicated fault safe printfs and use mbed_error_printf to optimize memory usage.
Dedicated safe printfs were originally developed to print data over serial with minimal resources. But this adds more code space, so we are switching to use mbed_error_printf.
2018-06-20 11:56:32 -05:00
Senthil Ramakrishnan cbb12e326d Updates to configuration flags used in error handling implementation.
The new configuration make Error history tracking switched off by default and enabled by using the config flag MBED_CONF_PLATFORM_ERROR_HIST_ENABLED.
Config flag MBED_CONF_PLATFORM_ERROR_ALL_THREADS_INFO enables printing info of all threads. This will be turned off by default.
2018-06-20 11:56:31 -05:00
Jimmy Brisson 52e640fc1d Add Rom config info getter and rom defines
* MBED_ROM_START = start of current rom (independent of BL modes)
 * MBED_ROM_SIZE = size of current rom (independent of BL modes)
2018-06-20 10:47:04 -05:00
Cruz Monrreal c4edf065d1
Merge pull request #7266 from bentcooke/update_arm_pack_index
update arm_pack_manager index
2018-06-20 10:02:54 -05:00
Vincent Coubard d2ecdb8900 Cordio BLE: Rewrite reset test strategy
The existing test was expecting that the acknowledgement of the reset command would be the first and only event receive. This assumption is false.

As a consequence, the new code parse all incoming packets and raise a flag in the following circumstances:
* a reset packet has been successfully received.
* RX stream is not synchronized
* The status of the reset command is an error.

Another test has been added that send a serie of reset commands.
2018-06-20 15:24:37 +01:00
Cruz Monrreal 5420c46486
Merge pull request #7271 from innovavn/lpc43xx_serial
Fix lpc43xx serial pin map compiling error
2018-06-20 09:04:05 -05:00
Cruz Monrreal 093b4f05a2
Merge pull request #7241 from LMESTM/Fix_DeepsleepStackUsage
STM32: Reduce HAL_deepsleep stack usage
2018-06-20 08:38:56 -05:00
Cruz Monrreal 585558c6f4
Merge pull request #7264 from deepikabhavnani/crc_warn
Suppress shift warning for IAR compiler as well
2018-06-20 07:57:30 -05:00
Cruz Monrreal cc1e4f0ff8
Merge pull request #7205 from bcostm/fix_hash_data_alignment
STM32: Fix data alignment issue in HASH function for F2, F7, L4
2018-06-20 07:55:57 -05:00
Martin Kojtal 4d49d4fc91 Travis: fix mongodb key expired error 2018-06-20 12:17:09 +01:00
Teppo Järvelin 1a60422b74 Cellular: fixed defect where SIM interface was closed too early causing crash with certain configurations. 2018-06-20 14:15:22 +03:00
Vincent Coubard 4f8a006f3b Cordio BLE: Document in test what fields are expected to be set after init. 2018-06-20 12:01:28 +01:00
Vincent Coubard 5b7f7aa77b Cordio BLE: Fix test failure when controller initialization failed. 2018-06-20 12:00:52 +01:00
Kari Haapalehto ea2f53b03f Add binary drivers for MTB_MXCHIP_EMW3166 2018-06-20 12:42:08 +03:00
Seppo Takalo 1ca9ccda73 Filter incoming UDP packets based on connected peer address. 2018-06-20 12:38:07 +03:00
Seppo Takalo e7cb4752fa Fix small issues from the review 2018-06-20 12:38:07 +03:00
Seppo Takalo 2b60e42756 Close Doxygen group at the end of file 2018-06-20 12:38:07 +03:00
Seppo Takalo 96ef8e345d Move string allocation to a point where get_ip_address() is called
This saves RAM/stack on typical socket usage where human readable
format is not exchanged so often.
2018-06-20 12:38:07 +03:00
Seppo Takalo 407b2f275d Move accept() to abstract socket class and implement in TCPSocket
Deprecate TCPServer in favor of just TCPSocket::accept()
2018-06-20 12:38:07 +03:00
Seppo Takalo cdbe43c0d5 Refactor Sockets by moving functions up into common base.
* Move IP Socket stuff to InternetSocket class which is inherited by TCP/UDP
* Implement sendto() and recvfrom() on TCP socket
* Implement connect() call on UDP
* Implement send() and recv() calls on UDP socket
2018-06-20 12:38:06 +03:00
paul-szczepanek-arm 399191fc9c reuse existing call 2018-06-20 08:24:26 +01:00
canhkha c64971c100
Fix lpc43xx serial pin map compiling error 2018-06-20 13:59:48 +07:00
Teppo Järvelin 1fb4d2dfc9 Cellular: fixed unit tests after rebasing with master. 2018-06-20 09:08:51 +03:00
Teppo Järvelin 861867e3cc Cellular: Added network unit tests. 2018-06-20 08:28:00 +03:00
Teppo Järvelin 7efa041fcb Cellular: added greentea tests for CellularNetwork. 2018-06-20 08:28:00 +03:00
Cruz Monrreal e8005f6d72
Merge pull request #7206 from mikaleppanen/k64f_async_powerup
K64f non-blocking powerup
2018-06-19 21:49:37 -05:00