Commit Graph

8097 Commits (5f8fbac56f01bde28b2e82a7df742a5426836f9d)

Author SHA1 Message Date
Christopher Haster 4f7b10f433 nsapi - Moved literal ip parsing out of dns-query
- Not inherently a dns operation
- Able to reuse SocketAddress provided to the NetworkInterface
2016-09-25 22:19:18 -05:00
Christopher Haster 2194ca1c1e nsapi - Increased DNS buffer size to 512 bytes per spec 2016-09-25 22:19:18 -05:00
Christopher Haster 370afe5d82 nsapi - Folded IP parsing logic into SocketAddress
Merged duplicated logic into the SocketAddress class. Based
on parallel work by @mkaleppanen and @kjbracey-arm.

Also added small ipv6 parsing fix by @mikaleppanen
2016-09-25 22:19:18 -05:00
Christopher Haster d237ee8722 nsapi - Reversed arguments to gethostbyname
Updated to match prior conventions
- netconn_gethostbyname
- gethostbyname_r
- gethostbyname2_r
- gethostbyaddr_r
2016-09-25 22:19:18 -05:00
Christopher Haster 3858a13b75 nsapi - Added access to gethostbyname and add_dns_server
For performing DNS resolution explicitly through the network-socket
user API.

This interface does not require implementation changes and can rely
entirely on the dns query library in the network-socket API.
2016-09-25 22:16:52 -05:00
Sam Grove 98030475af Merge pull request #2804 from yogpan01/mbed-os.5.2-rc1
Updating mbed-client-c and sal-stack-nanostack-eventloop
2016-09-25 22:11:24 -05:00
Sam Grove c49e970909 Merge pull request #2794 from geky/callback-c-order
callback - Reorder optional argument to static C function
2016-09-25 22:07:45 -05:00
Sam Grove 5556d781a1 Merge pull request #2779 from jeromecoutant/PR_NUCLEO_F103RB
[NUCLEO_F103RB] RTOS tests update
2016-09-25 21:57:35 -05:00
Sam Grove d8efe713e7 Merge pull request #2778 from pan-/avoid_inclusion_of_ble_code_if_not_used
BLE - Nordic implementation: Move singleton into a function.
2016-09-25 21:57:23 -05:00
Sam Grove e756048e4d Merge pull request #2808 from ARMmbed/revert-2743-PR_STM32_MAC
Revert "[STM32 NUCLEO] Init MAC address"
2016-09-25 18:24:03 -05:00
Sam Grove 20133688f0 Revert "[STM32 NUCLEO] Init MAC address" 2016-09-25 16:53:00 -05:00
Sam Grove 78a2d289e7 Merge pull request #2792 from jeromecoutant/PR_NUCLEO_F303ZE
[NUCLEO_F303ZE] MBED-OS5 capability
2016-09-24 16:48:31 -05:00
Sam Grove 28f9b27918 Merge pull request #2788 from theotherjimmy/print-percent
Print percent complete when building
2016-09-24 16:48:03 -05:00
Sam Grove 24f9612da5 Merge pull request #2775 from NXPmicro/KSDK_SDHC_Driver_Update
Update KSDK SDHC driver for K64F & K66F
2016-09-24 16:47:48 -05:00
Sam Grove acdab5e284 Merge pull request #2773 from sarahmarshy/quotes_error
[Exporters] [Makefile] Single quotes for escaping commands
2016-09-24 16:46:25 -05:00
Sam Grove c4748e2e75 Merge pull request #2771 from svastm/fix_deepsleep_l4
STM32L4 - Update deepsleep implementation
2016-09-24 16:45:38 -05:00
Sam Grove 35a8b1fdea Merge pull request #2764 from svastm/lp_timer_l4
STM32L4 - Add low power timer
2016-09-24 16:44:32 -05:00
Sam Grove 7d464b18a2 Merge pull request #2763 from svastm/lp_timer_l1
STM32L1 - Add low power timer
2016-09-24 16:44:15 -05:00
Sam Grove a765afddf0 Merge pull request #2759 from svastm/lp_timer_f0
STM32F0 - Add low power timer
2016-09-24 16:41:37 -05:00
Sam Grove 3c6776f9bf Merge pull request #2753 from jeromecoutant/PR_NUCLEO_F767ZI_CAN
[NUCLEO_F767ZI] Add CAN capability
2016-09-24 16:41:10 -05:00
Sam Grove 6d628f6e1a Merge pull request #2751 from bcostm/serialFC_L0
STM32L0xx - Add Serial Flow Control
2016-09-24 16:40:54 -05:00
Sam Grove 2eb0b2ca6b Merge pull request #2747 from toyowata/master
[LPC11U68] Fix pin interrupt select offset
2016-09-24 16:40:36 -05:00
Sam Grove 363c041c53 Merge pull request #2743 from jeromecoutant/PR_STM32_MAC
[STM32 NUCLEO] Init MAC address
2016-09-24 16:40:13 -05:00
Sam Grove e0bf4153a4 Merge pull request #2739 from jeromecoutant/PR_Update_IPV4
STM32 / IPV4: #2685 has been forgotten with #2731
2016-09-24 16:39:58 -05:00
Sam Grove 97c2734b49 Merge pull request #2734 from tung7970/fix-mbedos
Fix signed/unsigned comparison warning in SerialBase.cpp
2016-09-24 16:39:29 -05:00
Sam Grove 29b0551eb7 Merge pull request #2728 from andreaslarssonublox/eth_fix
Added ethernet and enabled IPV4 feature for the EVK-ODIN-W2/C029 target
2016-09-24 16:35:49 -05:00
Sam Grove aad2372df7 Merge pull request #2727 from jeromecoutant/PR_Serial_Init_Timeout
Serial init timeout: increase default value
2016-09-24 16:33:45 -05:00
Sam Grove 1934e20959 Merge pull request #2719 from NXPmicro/Update_ARM_Linker_File
Updated ARM linker scripts for Kinetis platforms that use SDK 2.0
2016-09-24 16:33:21 -05:00
Sam Grove bd3d6abbc4 Merge pull request #2715 from pan-/NDEBUG_optimization
Allow the trace output by mbed error to be conditional of NDEBUG.
2016-09-24 16:32:34 -05:00
Sam Grove ad0b9c2efd Merge pull request #2707 from stevew817/feature/IAR_GiantGecko
[EFM32] Add IAR support for remaining Silicon Labs targets
2016-09-24 16:29:52 -05:00
Sam Grove 60f661da62 Merge pull request #2684 from nvlsianpu/introduce_peer_manager
[BLE NRF5] introduce the SDK nRF5 Peer manager into BLE security features
2016-09-24 16:28:18 -05:00
Sam Grove 584384c38f Merge pull request #2664 from geky/nsapi-static-config
nsapi - Add optional API for static configuration of network interfaces
2016-09-24 16:27:55 -05:00
Sam Grove 8e473be5f3 Merge pull request #2622 from egostm/dev_i2c_asynch
[STM32F4] Add asynchronous I2C
2016-09-24 16:27:20 -05:00
Sam Grove 63f5854761 Merge pull request #2585 from beeverycreative/master
Added support for ADC only pins in LPC43xx
2016-09-24 16:26:50 -05:00
Sam Grove 297597c7f4 Merge pull request #2415 from svastm/serial_asynch_f0
[STM32F0] Add asynchronous serial
2016-09-24 16:22:55 -05:00
Sam Grove e453b5ea9f Merge pull request #2391 from geky/fix-rtos-critical-sections
[rtos] Fix irq-safe rtx calls when inside critical sections
2016-09-24 16:22:26 -05:00
Rob Meades 0b2657932d OS_TCB struct size is increased to 64 bytes (from 60 bytes). With the change to introduce stats checking in commit c1728p9, OS_TCB now includes an extra pointer, *argv, hence it is larger by 4 bytes. 2016-09-24 18:11:10 +01:00
Yogesh Pande ce0b86a392 Updating mbed-client-c and sal-stack-nanostack-eventloop
**mbed-client-c**

[Full Changelog](https://github.com/ARMmbed/mbed-client-c/compare/v3.0.1...v3.0.2)

**New feature**

- Make resending flags configurable through Yotta and mbed-cli build systems
- Introducing Configuration management through Config file

**Closed issues:**

- IOTCLT-882 - Confirmable messages sending

**sal-stack-nanostack-eventloop**
[Full Changelog](https://github.com/ARMmbed/sal-stack-nanostack-eventloop/compare/mbed-os-5.0-rc1...mbed-os.5.2-rc1)

**New features**

- Move configuration parameter resolution to separate header and allow user definable configuration header to be used.
- Port eventloop system timer to use new tick timer functions platform_tick_timer_register, platform_tick_timer_start and platform_tick_timer_stop.
2016-09-24 16:44:27 +03:00
Sam Grove f0c00bfd21 Merge pull request #2586 from tung7970/feature-rtx-config
RTOS - Move per-target RTX config to mbed_rtx.h
2016-09-23 15:21:39 -05:00
Toyomasa Watarai 1553c45fd2 break statement is on new line 2016-09-23 19:13:33 +09:00
Christopher Haster b371eb5269 callback - Reordered optional argument to static C function
Before:
Callback<void()> a = callback(obj, member)
Callback<void()> b = callback(context, function)

After:
Callback<void()> a = callback(obj, member)
Callback<void()> b = callback(function, context)

This ordering is more intuitive based on feedback from users. This order
was initially considered but proved problematic when integrated with
other variable arguments in attach functions.

With `callback` as a separate convenience function, this style
no longer presents a problem.
2016-09-23 04:52:58 -05:00
svastm 6d73dd338b STM32L4 - Update deepsleep implementation 2016-09-23 11:42:48 +02:00
Christopher Haster 64ac2105a3 lwip - Added option to set static IP addresses
Provided through the config options added to the network interface:
- EthernetInterface::set_network(ip_address, netmask, gateway)
- EthernetInterface::set_dhcp(dhcp)
2016-09-23 04:41:37 -05:00
Christopher Haster f0934fd0f1 nsapi - Added optional API for static configuration of network interfaces
This accomplishes two things:
1. Provides a simple route for adding static IP address support to the
   base NetworkInterface
2. Provides a simple route for adding configurability to network
   interfaces and unifies the network interface to consistent connect
   call, allowing network interfaces to be passed around abstractly

NetworkInterface
 - set_network
 - set_dhcp

WiFiInterface
 - set_credentials

CellularInterface
 - set_credentials
2016-09-23 04:39:13 -05:00
Martin Kojtal e4dde3460f Merge pull request #2774 from AlessandroA/uvisor_rpc
uVisor: Update to v0.25.0
2016-09-23 09:48:07 +01:00
Aksel Skauge Mellbye 3206d96487 [EFM32] Set default baud rate to 115200. 2016-09-23 10:32:56 +02:00
jeromecoutant ad4680abd2 [NUCLEO_F303ZE] MBED-OS5 capability 2016-09-23 09:24:55 +02:00
Christopher Haster 3e7b5ed6b9 Fixed rtx calls when inside critical sections
Before, rtx calls would hard fault in critical sections when an svc
instruction was attempted with interrupts disabled.

Required changes:
- Added check for CPSR I bit in cortex A rtx
- Added check for PRIMASK in cortex M rtx
- Modified critical sections in cortex M rtx to be recursive
  (already recursive in cortex A)
2016-09-22 21:19:22 -05:00
Sam Grove e9c556d356 Merge pull request #2757 from theotherjimmy/non-global-config
Refactor Target and Config away from global variables
2016-09-22 17:23:04 -05:00
Sam Grove 667c171760 Merge pull request #2754 from sarahmarshy/release_targets
New exporter build tests
2016-09-22 17:20:10 -05:00