Commit Graph

26488 Commits (0da589e6e725c3757c6b3ecbf973732e48879ceb)

Author SHA1 Message Date
Qinghao Shi 4a0ca21edd BLE TEST: remove duplicated and failing test 2019-08-28 13:12:04 +01:00
Mahesh Mahadevan 695e930f09 KL43Z: Enable USBDevice
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-28 13:12:04 +01:00
Marcelo Salazar 4d5bf75ae6 Fix ELMO_F411RE detect code 2019-08-28 13:12:03 +01:00
Martin Kojtal 2cfea4faba target TT_: fix compilation errors
They define slave for spi, rtc but do not contain implementation - removing them.
Fixes #11143
2019-08-28 13:12:03 +01:00
Martin Kojtal d6304e322c
Merge pull request #11181 from artokin/mbed_wisun_api_update
mbed-mesh-api: Add new API for Wi-SUN configuration
2019-08-28 13:50:13 +02:00
Antti Yli-Tokola d74326e5cc Update changelog about the breaking change 2019-08-28 14:22:03 +03:00
Martin Kojtal a6372e521c
Merge pull request #11345 from yogpan01/fix-bare-metal-pdmc
Fix bare-metal configuration to support Pelion Device Management Client
2019-08-28 13:07:36 +02:00
Martin Kojtal ae247b5645
Merge pull request #11326 from kyle-cypress/pr/psoc6-pdl
Update PDL for Cypress Targets
2019-08-28 12:30:37 +02:00
Sathish Kumar Mani a4aeee941d mbed-os/LwIP changes and fixes in auto-IP for Bonjour Conformance Test
This PR is to fix the issues in LwIP for AutoIP which is required for passing Bonjour Conformance Test for mDNS. Following gives the summary of the changes/fixes added.

Changes:

1. Following issues are fixed in LwIP for AutoIP.
- Fixed bug in max conflict rate limiting: According to RFC section RFC 3927 Section 2.2.1 conflict probe interval should be increased to 60 seconds, once conflict count reaches after MAX_CONFLICTS (i.e., 10) counts. The initial value of 'autoip->tried_llipaddr' is 0. Hence the probe interval (i.e., autoip->ttw) should be increased to 60 secs when 'autoip->tried_llipaddr >= MAX_CONFLICTS'
- Added code to free 'autoip' client in autoip_stop() API: New 'autoip' client is allocated in autoip_start() API, and the client is not freed during autoip_stop(). This would result in memory leak, if not freed. Updated autoip_stop() API to take care of releasing the memory allocated for 'autoip' client.

2. Introduced a configurable macro "MBED_CONF_LWIP_DHCP_TIMEOUT" in "lwipopts.h" to configure DHCP timeout based on the usecase requirement. For example: bonjour conformance test would need a DHCP timeout value which is grater than 320 secs to run mDNS probing test to verify protocol compilance of the implementation.

Tested the fixes using Bonjour Conformance Test tool Version 1.5.0 for IPv4. It has successfully passed Bonjour Conformance Test.
2019-08-28 15:57:36 +05:30
Antti Yli-Tokola 2774e3f301 Update mbed-coap to version 5.0.0
- Reduce heap footprint by storing only single block when receiving a blockwise message.
    * User is now responsible of freeing the data by calling sn_coap_protocol_block_remove() and must not free the payload separately.
- Bug fix: Request blockwise transfer if incoming payload length is too large and when it comes without block indication.
2019-08-28 11:26:55 +03:00
Martin Kojtal d7b5f759ae
Merge pull request #11324 from kyle-cypress/pr/psoc6-csp
PSOC6: Update CSP to latest
2019-08-28 10:07:44 +02:00
Martin Kojtal 4cdca93e99
Merge pull request #11265 from kjbracey-arm/tuple
Add <mstd_tuple> and ARMC5 <tuple>
2019-08-28 10:04:52 +02:00
Arto Kinnunen f8289ec0ac mbed-mesh-api: Add API set_file_system_root_path 2019-08-28 09:34:30 +03:00
Arto Kinnunen 774162dd83 mbed-mesh-api: Add new Wi-SUN certificate API
Add new API for setting Wi-SUN:
-Setting own/trusted certificates
-Removing own/trusted certificates
2019-08-28 09:34:30 +03:00
Arto Kinnunen c0f3cb7568 mbed-mesh-api: Add new Wi-SUN API
Add new API for setting Wi-SUN:
 -network name
 -regulatory domain, operating mode and operating class
2019-08-28 09:34:30 +03:00
Martin Kojtal 7e0fb8fab9
Merge pull request #11293 from NXPmicro/K82F_Add_USBDevice
K82F: Add USBDEVICE support
2019-08-28 07:27:40 +02:00
Martin Kojtal d2c05915ac
Merge pull request #11276 from ARMmbed/sip-workshop
Add integration tests
2019-08-28 07:13:30 +02:00
Martin Kojtal b27aa8c85d
Merge pull request #11335 from JarkkoPaso/nanostack_release_for_mbedos_5_14
Nanostack release for mbed OS 5.14
2019-08-28 07:10:16 +02:00
Ryan Morse c611e76297 Update WHD to latest 1.30 build 2019-08-27 17:16:44 -07:00
Ryan Morse ac3951097f Update PDL to 1.3.0 final 2019-08-27 16:13:07 -07:00
Ryan Morse 5c899a3350 Bug fixes to interrupt/event handling in SDHC HAL 2019-08-27 15:29:32 -07:00
Malavika Sajikumar db0d3d21e6 Updating SDP-K1 PinNames.h file.
- Removing LED pin definitions based on color.
- Removing and updating incorrect USB pin definitions.
- Adding comments for Arduino SPI and I2C pins.
2019-08-27 15:24:08 -07:00
Shuopeng Deng 8ad377add3 Fix I2C handling of 1 byte external memory address 2019-08-27 15:10:34 -07:00
Ryan Morse 459666f8f2 Fixed issue in QSPI when there aren't 8 pins 2019-08-27 15:10:34 -07:00
Kyle Kearney 375221097c Update CSP to latest
Update HAL adapter for interface changes
Misc minor fixes to HAL adapter
2019-08-27 15:10:34 -07:00
Martin Kojtal 6add979210
Merge pull request #10750 from jarvte/eventqueue_cancel_return
Changed EventQueue::cancel to return boolean value
2019-08-27 20:50:03 +02:00
Ryan Morse 5e2234f3e3 Add reserved resources lists to Cypress BSPs
These provide information to allow Cypress graphical configuration tools
to avoid conflicting usage of hardware resources which are managed by
firware included with the BSP.
2019-08-27 11:35:23 -07:00
Yogesh Pande 6edab0e13a Fix to use correct build flag MBED_CONF_NANOSTACK_CONFIGURATION
The bare-metal configuration should be using MBED_CONF_NANOSTACK_CONFIGURATION
instead of MBED_CONF_NANOSTACK_CONFIG.

Fixing the typo for flagging.
2019-08-27 17:20:40 +03:00
Jammu Kekkonen 86640e5bfe Bugfix: won't rely on erase value to detect is a sector erased
When flashing a binary STLink won't skip writing padding which happens
to be the same value as flash's erase value. STM32L4 based targets
have an additional 8-bit of embedded ECC for each 64-bit word of data.
The initial value, when a sector is erased, for the ECC bits is 0xFF.
When you write the erase value to a given address these bits gets
modified to something different due to the ECC algoritm in use. The
visible bits are intact but difference in ECC value prevents flipping
any 1's to 0's. Only way to proceed is to erase the whole sector.
2019-08-27 15:39:47 +03:00
Dominika Maziec b5826fc63e Mutex: _count incrementation brought back 2019-08-27 14:18:41 +02:00
Kevin Bracey 4b4859cbd0 mstd_iterator: correct comments 2019-08-27 14:37:07 +03:00
Kevin Bracey 3664912acc mstd_utility: add missing integer_sequence helpers 2019-08-27 14:37:07 +03:00
Kevin Bracey d45e3b5e57 Add <mstd_tuple> and ARMC5 <tuple>
tuples will be useful for things like `mbed::Event` and
`mbed::Callback` - storing parameter packs from variadic templates.

Create a C++14(ish) `<tuple>` for ARMC5, and a `<mstd_tuple>` that
adds `apply` and `make_from_tuple` from C++17.
2019-08-27 14:37:07 +03:00
Yogesh Pande 076deeb4a9 Bare metal support for running PDMC
PDMC requires event loop to also support bare metal configuration.
It requires to adapt eventloop for bare-metal configuration.
2019-08-27 13:09:56 +03:00
Chun-Chieh Li 650e2e593c ESP8266: Support power on/off in custom wiring
In custom wiring, there can be a power pin to power on/off the modem. This
commit supports it and allows for the following configurations:

- power pin name
- power pin polarity
- power on/off delay time
2019-08-27 17:57:06 +08:00
Jarkko Paso 45d1c68814 S2-LP: Sync with development repository 2019-08-27 11:42:08 +03:00
Martin Kojtal 7e179f5beb
Merge pull request #11301 from jeromecoutant/PR_L4R
STM32L4+ : increase system clock from 80 MHz to 120 MHz
2019-08-27 09:49:09 +02:00
Antti Kauppila d08d55da88 New ATHandler functions taken into use
New ATHandler functions taken into use for rest of the targets (BG96 was updated initially) to reduce code size. This means basically that new functions using variadic list approach are taken into use and with those one can usually write AT commands in single line instead of multiple lines.
Only internal changes and API's are not modified.
2019-08-27 09:15:51 +03:00
Sathish Kumar Mani fe252a77c1 mbed-os/LwIP changes and fixes in auto-IP for Bonjour Conformance Test.
Changes:
  1. Following issues are fixed in LwIP for AutoIP.
     a) Fixed bug in max conflict rate limitting.
        - According to RFC section RFC 3927 Section 2.2.1 conflict probe interval
          should be increased to 60 seconds, once conflict count reaches after
          MAX_CONFLICTS (i.e., 10) counts.
        - The initial value of 'autoip->tried_llipaddr' is 0. Hence the probe
          interval (i.e., autoip->ttw) should be increased to 60 secs
          when 'autoip->tried_llipaddr >= MAX_CONFLICTS'

     b) Added code to free 'autoip' client in autoip_stop() API.
        - New 'autoip' client is allocated in autoip_start() API, and the client
          is not freed during autoip_stop(). This would result in memory leak
          if not freed.
        - Updated autoip_stop() API to take care of releasing the memory allocated
          for 'autoip' client.
  2. Introduced a configurable macro "MBED_CONF_LWIP_DHCP_TIMEOUT" in "lwipopts.h"
     to configure DHCP timeout based on the usecase requirement. For example:
     bonjour conformance test would need a DHCP timeout value which is grater than
     320 secs to run mDNS probing test to verify protocol compilance of the implementation.
2019-08-27 08:17:43 +05:30
Tony Wu 16e52f2868 rtl8195am - remove redundant code
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:34 +08:00
Tony Wu b170a90acf rtl8195am - fix array assumed to have one element warning
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:32 +08:00
Tony Wu d52dd1941e rtl8195am - fix argument format warning
[Warning] tcm_heap.c@70,18: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'MemChunk * {aka struct _MemChunk *}' [-Wformat=]
[Warning] tcm_heap.c@70,28: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'MemChunk * {aka struct _MemChunk *}' [-Wformat=]

Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:29 +08:00
Tony Wu ec7a3dd0f3 rtl8195am - fix missing braces around empty body warning
osdep_service.c@214,61: suggest braces around empty body in an 'else' statement [-Wempty-body]

Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:41:26 +08:00
Tony Wu 885b4ccbef rtl8195am - cleanup gcc linker script
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:40:51 +08:00
Tony Wu 020cf85cf0 rtl8195am - disable IAR support
Disable IAR support until HAL library is upgraded to IAR8

Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:40:23 +08:00
Tony Wu 371d336fcd rtl8195am - enable USTICKER support
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:40:19 +08:00
Kyle Kearney 33493b12d9 Update WHD clients for interface changes 2019-08-26 16:05:47 -07:00
Ryan Morse 66cf10f030 Update WHD to 1.30.0 2019-08-26 16:05:46 -07:00
Jarkko Paso 2bcb1a6c9d Merge commit '7c99079717dd610f0674f6cf38a77af14f987dc6'
* commit '7c99079717dd610f0674f6cf38a77af14f987dc6':
  Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 7745556..276ff28
2019-08-26 15:46:10 +03:00
Jarkko Paso 7c99079717 Squashed 'features/nanostack/sal-stack-nanostack-eventloop/' changes from 7745556..276ff28
276ff28 Change event_data to uintptr_t

git-subtree-dir: features/nanostack/sal-stack-nanostack-eventloop
git-subtree-split: 276ff28179cc7f0c33fc28cb23bd26ea531f5dbf
2019-08-26 15:46:09 +03:00