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
Cruz Monrreal
7b7dfc634b
Merge pull request #7216 from mikaleppanen/gt_async_dns
...
Asynchronous DNS greentea tests
2018-06-19 21:47:18 -05:00
Cruz Monrreal
567689c725
Merge pull request #7259 from SeppoTakalo/default_wifi
...
Provide default WiFi interfaces for Ublox and Realtek
2018-06-19 21:46:45 -05:00
Cruz Monrreal
f11d0f3be7
Merge pull request #7261 from kjbracey-arm/iar-jump-warning
...
IAR: Suppress C "bypasses initialization" warning
2018-06-19 21:46:14 -05:00
Cruz Monrreal
1e37f9cdc2
Merge pull request #7263 from theotherjimmy/nrf51-postbuild-fix
...
NRF51 Post-build: Allow Hex BL, SD, APP
2018-06-19 21:39:27 -05:00
ccli8
afc0a28cc5
Support thread-safety with ARMC6
...
1. Define RTX_NO_MULTITHREAD_CLIB to provide Mbed-specific multi-thread support for ARM/ARMC6
2. All overridden _mutex_xxx functions are declared with __USED to avoid excluded by linker
NOTE: Microlib doesn't support multi-thread
2018-06-20 10:35:47 +08:00
ben
2bf0273a5c
update pack index
2018-06-19 14:42:32 -05:00
deepikabhavnani
e19f6ac4dd
Suppress warning for IAR compiler as well
2018-06-19 11:36:42 -05:00
Jimmy Brisson
a87575fec5
Use Non-blocking Error and LooseVersion
2018-06-19 10:41:08 -05:00
Laurent MEUNIER
81adafb5a7
STM32: Reduce HAL_deepsleep stack usage
...
There are cases where a call hal_deepsleep would overflow the idle task
stack, especially in developper or debug profile.
In order to avoid this case, we split ForceClockOutofDeepSleep
into two separate functions the two structure RCC_ClkInitStruct and
RCC_OscInitStruct are not allocated at the same time.
2018-06-19 17:32:00 +02:00