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
Cruz Monrreal
ba5b5a3870
Merge pull request #7191 from hasnainvirk/precise_timing
...
LoRaWAN: Fine tuning timing for delays and receive windows
2018-06-19 09:48:52 -05:00
Cruz Monrreal
31df3d2865
Merge pull request #7242 from davidsaada/david_uniform_text_region
...
Rename text region in ARM linker file for a few NXP CPUs
2018-06-19 09:45:23 -05:00
Jimmy Brisson
4e6b830c91
Allow hex BL, SD and application merging
2018-06-19 09:27:09 -05:00
paul-szczepanek-arm
4b1ce49ee1
use sets to apply limits
2018-06-19 15:18:11 +01:00
Cruz Monrreal
fcfe6e1c43
Merge pull request #7217 from AriParkkila/cellular-info-sim
...
Cellular: Add AT+CCID and AT+CGSN
2018-06-19 08:54:49 -05:00
Cruz Monrreal
d1dc1e849e
Merge pull request #7146 from jarvte/add_cellular_sim_and_power_tests
...
Cellular: Added power and sim greentea and unit tests.
2018-06-19 08:46:51 -05:00
Cruz Monrreal
2bb686ff1e
Merge pull request #7245 from SeppoTakalo/fix-default-interface
...
Fix default interface selection by using correct macro names.
2018-06-19 08:46:28 -05:00
Seppo Takalo
b4726cbca5
Provide default WiFi interface for Ublox EVK ODIN W2
2018-06-19 16:40:55 +03:00
Seppo Takalo
e2d3769211
Provide default WiFI interface for REALTEK_RTL8195AM
2018-06-19 16:40:54 +03:00
paul-szczepanek-arm
588e68bccf
add setScanParams overload
2018-06-19 14:36:18 +01:00
Kevin Bracey
81ed8014cd
IAR: Suppress C "bypasses initialization" warning
...
By default IAR generates "transfer of control bypasses initialization"
warnings for C code - it's a legal construct that frequently occurs when
doing Linux-style "goto error". Many occurrences in Nanostack.
Suppress the warning for C only, to align with GCC and ARMCC. Have to
take care not to put it in the "common" section, as this would suppress
it for C++, where it actually is illegal.
2018-06-19 15:54:28 +03:00
Martin Kojtal
eb3d3fdb54
Merge pull request #6929 from jeromecoutant/PR_SCRIPT
...
STM32 : script to generate PeripheralPins.c for new target addition
2018-06-19 14:26:22 +02:00
Martin Kojtal
19c795c312
Merge pull request #7224 from OpenNuvoton/nuvoton_fix_greentea_deepsleep
...
Fix Greentea test code with deepsleep
2018-06-19 14:24:09 +02:00
Martin Kojtal
0658544cb6
Merge pull request #7207 from mikaleppanen/dns_singletons
...
Change DNS global class definitions to singletons
2018-06-19 14:14:21 +02:00
Martin Kojtal
c964f2ee66
Merge pull request #7226 from juhoeskeli/wise_1570_app_start
...
Make MTB_ADV_WISE_1570 respect MBED_APP_START & enable bootloader
2018-06-19 14:12:07 +02:00