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
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
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
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
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
Martin Kojtal
97c9925e8a
Merge pull request #7249 from maximmbed/fix-file-name-warning
...
Maxim: Rename files to fix warning
2018-06-19 14:11:21 +02:00
Mika Leppänen
ef14f549e4
Asynchronous DNS greentea tests
...
Added tests for asynchronous DNS.
2018-06-19 11:18:22 +03:00
Seppo Takalo
384fc7e778
Fix typo: WifiInterface -> WiFiInterface and add missing return.
...
Default WiFiInterface did not even build. And when it was fixed to build,
it was always returning NULL.
2018-06-19 10:47:12 +03:00
ccli8
39a6fa9609
Enlarge wait time in Greentea test function test_deepsleep
...
Original wait time is not enough for UART to flush out before deepsleep on some targets.
2018-06-19 09:23:53 +08:00
Cruz Monrreal
94a06cef66
Merge pull request #7229 from mikaleppanen/stm_chksum_disable
...
Disabled STM ethernet driver hardware checksum calculation
2018-06-18 17:23:28 -05:00
Cruz Monrreal
f3e74974da
Merge pull request #7225 from bcostm/fix_hal_tick_comment
...
STM32: Add comments for HAL_InitTick function
2018-06-18 17:21:35 -05:00
Cruz Monrreal
015d8f266d
Merge pull request #7234 from janjongboom/patch-3
...
Spelling error in fault handler
2018-06-18 17:20:28 -05:00
Cruz Monrreal
c3bdfad392
Merge pull request #7237 from li-ho/ev-cog-cache
...
Enable COG boards instruction cache
2018-06-18 17:18:51 -05:00
Keyur Hariya
762cafc2e1
Rename files to fix warning
...
"aes.c" file name conflict in Maxim platform and mbedtls.
2018-06-18 16:46:18 -05:00
Seppo Takalo
412f654c8d
Fix default interface selection by using correct macro names.
...
Code was written using MBED_CONF_DEFAULT_* but the mbed_lib.json file
that created these values is prefixed with "nsapi" and therefore
final macros are MBED_CONF_NSAPI_DEFAULT_*
2018-06-18 18:59:43 +03:00
Cruz Monrreal
701d49d8eb
Merge pull request #7211 from pan-/ble-workaround-connections-param-update-request
...
Nordic BLE: Accept connection parameter update
2018-06-18 10:09:22 -05:00
Cruz Monrreal
f2b72b9914
Merge pull request #7201 from codeauroraforum/Fix_ADC_LPC54628
...
LPC54628: Update the ADC clock divider based on the input clock source
2018-06-18 10:08:38 -05:00
Cruz Monrreal
f54067d6c2
Merge pull request #7208 from mikaleppanen/add_long_emac_echo_test
...
Added long echo sequence test to EMAC tests
2018-06-18 10:08:13 -05:00
Cruz Monrreal
938b924ceb
Merge pull request #7073 from maciejbocianski/sleep_enable_nrf52
...
NRF52_DK: SLEEP enable
2018-06-18 10:07:29 -05:00
Cruz Monrreal
5d8e9dc0ea
Merge pull request #7174 from TeroJaasko/crash_log_parser_make_raw_output_possible
...
tools: crash_log_parser: make ELF and MAP parameters optional
2018-06-18 10:07:09 -05:00
Cruz Monrreal
476be14d3f
Merge pull request #7231 from theotherjimmy/fix-uarm
...
Tools: Force small lib when compiling with uARM
2018-06-18 10:06:14 -05:00
David Saada
714d025f6c
Rename text region in ARM linker file for a few NXP CPUs
2018-06-18 17:32:01 +03:00
Edmund Hsu
bc6b145c1b
Enable COG boards flash algo
2018-06-18 16:31:54 +10:00
Edmund Hsu
6feef97409
Enable COG boards instruction cache
2018-06-18 16:31:15 +10:00
Jan Jongboom
63d1684bbe
Spelling error in fault handler
2018-06-18 10:58:12 +08:00
Jimmy Brisson
86b7adbd30
Force small lib usage when using uARM tc
2018-06-15 10:38:23 -05:00
Cruz Monrreal
bfb43799af
Merge pull request #7209 from jarlamsa/udpsocket_echo_packetloss
...
Tolerate packet loss up to 30% in udp echo tests
2018-06-15 10:20:44 -05:00
Cruz Monrreal
74a75d5bb0
Merge pull request #7058 from davidsaada/david_exhaustible_bd_fix
...
Fix two issues in ExhaustibleBlockDevice
2018-06-15 10:03:54 -05:00
Ari Parkkila
7d006f6f6a
Cellular: Target support for AT+CCID and AT+CGSN
2018-06-15 14:28:48 +03:00
Mika Leppänen
9b0cbe064d
Disabled STM ethernet driver hardware checksum calculation
...
No need for driver level hardware IPv4/TCP/UDP/ICMP checksum insertion
since LWIP and nanostack handles those already.
Related to issue: https://github.com/ARMmbed/mbed-os/issues/7227
2018-06-15 14:24:05 +03:00
Anna Bridge
d66dfcb13a
Merge pull request #7036 from maciejbocianski/hal_ticker_feature_merging
...
tests-mbed_hal-sleep fix
2018-06-15 12:12:31 +01:00
Anna Bridge
245a9aab4b
Merge pull request #7128 from davidsaada/david_lpc_flash_api_fix
...
Fix flash_program_page API in LPC boards.
2018-06-15 11:15:23 +01:00
Anna Bridge
3e2e6a714a
Merge pull request #7195 from jarvte/fixing_easycellular_release_version
...
Cellular: Semaphore wasn't released in easycellular release build.
2018-06-15 11:13:34 +01:00
Anna Bridge
4d8dd59440
Merge pull request #7196 from theotherjimmy/no-double-header
...
Tools: Remove second header when every bl config param is used
2018-06-15 11:11:58 +01:00