Commit Graph

21247 Commits (e06b7863cc4f15161c47c9dda2012d4dea6f7003)

Author SHA1 Message Date
ccli8 4e94694b5f Avoid re-configuring UART in serial_init() for the same H/W UART
The same H/W UART may be shared by multiple serial_t objects. This fix tries to avoid
re-configuring the same H/W UART in serial_init() when there are multiple serial_t
objects constructed. To re-configure UART, call serial_baud() and serial_format()
explicitly. This can avoid confusion when e.g. a newly constructed serial_t object
changes baudrate unexpectedly in serial_init().
2018-12-27 22:25:56 -06:00
ccli8 3e43755d32 Remove unused pin_tx/pin_rx fields from serial_s struct 2018-12-27 22:25:56 -06:00
TomoYamanaka 91de358aa4 Renesas : Add the setting of SD as components 2018-12-27 22:25:56 -06:00
Kari Haapalehto 232b6b71b4 TARGET_WICED updated. Connection status issue corrected. If the link layer status changes, the connection status callback is now called correctly.
mbedtls headers from library are removed and the mbed-os one's are used.
2018-12-27 22:25:55 -06:00
jeromecoutant b950a8f7ac Remove NVSTORE enabled from NUCLEO_F410RB 2018-12-27 22:25:55 -06:00
Antti Yli-Tokola 998893dd36 Update mbed-coap to version 4.7.3
EMPTY response should not be stored to blockwise list.
An Empty message only contains the 4-byte header so it does not require any blockwise operations.
This will fix unneseccary message sending timeouts which leads mbed cloud client to do unnecessary
reconnections which increases the network traffic.
2018-12-27 22:25:55 -06:00
Mahesh Mahadevan cffee2634d MCUXpresso: Ensure the RTC OSC is running at bootup on Kinetis platforms
This is a fix for Issue 5348.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-27 22:25:55 -06:00
Russ Butler c8c68381d6 Fix ESP8266 recv_udp timeout with flow control
UDP packets are always received as OOB data. Without checking for
new OOB data with a call to "_process_oob" then recv_udp never blocks.
If a UDP packet is not available then NSAPI_ERROR_WOULD_BLOCK is
returned. This causes mbed-os's DNS handling to always fail when
flow control is enabled.

This patch fixes recv_udp by always calling "_process_oob" regardless
of if flow control is enabled. This ensures that recv_udp follows the
timeout parameter and waits for new data to arrive.
2018-12-27 22:25:55 -06:00
kegilbert 5be53a00d6 Align comment block in sys stats struct 2018-12-27 22:25:55 -06:00
Paul Szczepanek c74f2561e0 fix DM_CONN_ID_NONE loop condition 2018-12-27 22:25:55 -06:00
Vincent Coubard 6c5defac00 BLE: Fix iteration on connections in CordioGattServer. 2018-12-27 22:25:55 -06:00
Mahesh Mahadevan a57b8b1b27 LPC546XX: Fix build failure due to incorrect merge
Commit ab84d2bf33 missed including
qspi_device.h file

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-27 22:25:55 -06:00
Veijo Pesonen e35c0a79c9 Tests-network-wifi organize test cases for clarity 2018-12-27 22:25:55 -06:00
Veijo Pesonen 2235150491 Bugfix - drops the assumption that there is more than SSID in vicinity 2018-12-27 22:25:55 -06:00
Michal Paszta 1931c2cd27 Fix compilation warnings (apart from nanostack) 2018-12-27 22:25:55 -06:00
zhanglu@realtek-sg.com da0a385f7d This PR modifies the name of the bin file generated for SMCC FOTA feature
This PR modifies the name of the bin file generated for SMCC FOTA feature

Description
Modify name of the bin file from '-payload.bin' to '_update.bin' in REALTEK_RTL8195AM.py file to adapt the manifest tool requirment for the SMCC FOTA feature.

Pull request type
[ ] Fix
[ ] Refactor
[x] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change
2018-12-27 22:25:55 -06:00
Mikhail Maltsev d0bef03aed Fix C++11 build with Arm Compiler 6
Currently there are two issues which prevent building Mbed OS with
-std=gnu++11 when using Arm Compiler 6:
* NanostackRfPhys2lp.cpp contains a narrowing conversion in a braced
  initializer list
* ns_types.h includes <stdalign.h> which Arm Compiler 6 currently
  does not provide

This patch fixes both issues. The first one is fixed by changing the
underlying type of the corresponding enumeration when the code is
compiled as C++11. The second issue is worked around by avoiding the
use of <stdalign.h> header for Arm Compiler versions prior to 6.12.
2018-12-27 22:25:55 -06:00
ccli8 8f32203603 Fix license description for analog-out HAL files
1. Fix copyright year
2. Add SPDX
2018-12-27 22:25:55 -06:00
ccli8 ba2174878e Support DAC 2018-12-27 22:25:54 -06:00
jeromecoutant 8d89854589 STM32 readme md file 2018-12-27 22:25:54 -06:00
jeromecoutant 3918c96b18 STM32 remove html release notes files 2018-12-27 22:25:54 -06:00
Przemyslaw Stekiel fa5e853917 TARGET_MCUXpresso_MCUS: fix lp ticker init function
In case when lp ticker is already initialized the ticker interrupt should be disabled.
2018-12-27 22:25:54 -06:00
Kari Haapalehto ee57fd679e Correct network status callbacks with Nanostack. Ethernet-tasklet needs to be registered for emac link state changes. Ethernet-tasklet will then handle ethernet cable connection/disconnection events. 2018-12-27 22:25:54 -06:00
jeromecoutant 114c917a4d STM32 : Add default deep sleep latency of 3 ms 2018-12-27 22:25:54 -06:00
Ron Eldor 789542168d Fix issues in CC310 cc_internal discovered by OTT
Return `MBEDTLS_ERR_ECP_INVALID_KEY` when Cryptocell returns
`CRYS_ECPKI_BUILD_KEY_INVALID_PRIV_KEY_SIZE_ERROR`
or `CRYS_ECPKI_BUILD_KEY_INVALID_PUBL_KEY_SIZE_ERROR`,
When the key size is invalid. Found by the "ECDSA zero private parameter"
tests.
2018-12-27 22:25:54 -06:00
Arto Kinnunen eef504f492 Sync with v1.0.0
Sync application and testcases with v1.0.0 of the master copy.
2018-12-27 22:25:54 -06:00
Jimmy Brisson 6dbdce49b0 Migrate old memap file handling into toolchains
### Description

This PR moves the old memap file handling required for differential
memap from within memap to the toolchain object. This has the
advantage that we can do the `mv <app>.map <app>.map.old` the moment
before it is overwritten by the linker. This should allow multiple
reruns of memap without modifying your build directory.

### Pull request type

    [ ] Fix
    [x] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Docs update
    [ ] Test update
    [ ] Breaking change
2018-12-27 22:25:54 -06:00
Teemu Kultala 270597783e cellular: registration status change unit test fix 2018-12-27 22:25:54 -06:00
Teemu Kultala 419ce3fc6d cellular: registration status change astyle fix 2018-12-27 22:25:54 -06:00
Teemu Kultala e4832fc8c3 cellular: registration status change fix 2018-12-27 22:25:54 -06:00
jeromecoutant 9fea2fb1d8 STM32 LPTICKER with LPTIM optimisation 2018-12-27 22:25:54 -06:00
Martin Kojtal 886b633a1a rtos: fix style in rtos wait
Found during editing copyright message
2018-12-27 22:25:54 -06:00
Martin Kojtal 182ddb702b rtos: fix copyright years 2018-12-27 22:25:54 -06:00
Martin Kojtal 2be98cafcc rtos: add spdx license 2018-12-27 22:25:54 -06:00
Martin Kojtal 41b56a4744 events: add spdx license 2018-12-27 22:25:54 -06:00
Martin Kojtal 17097a962b platform: add spdx license 2018-12-27 22:25:54 -06:00
Martin Kojtal cfd79596c8 hal: add spdx license 2018-12-27 22:25:54 -06:00
Martin Kojtal 9f31b4b718 drivers: add spdx license 2018-12-27 22:25:54 -06:00
Olli-Pekka Puolitaival 03e0a7062b Moving some examples testing from K64F to K66F 2018-12-27 22:25:54 -06:00
Cruz Monrreal 6a0a86538c
Merge pull request #9091 from ARMmbed/release-candidate
Release candidate for mbed-os-5.11.0-rc4
2018-12-13 12:05:50 -06:00
Jimmy Brisson 6ea826f0ae Enable stats reporting with a flag in targets.json
### Description

PR #8607 will cause problems for the NRF52832 and the NRF52840
in the online compiler starting with 5.10.2. This PR prevents this problem
by using a toggle in `targets.json` to enable these new defines for every
target except for the NRF52832 and NRF52840.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Docs update
    [ ] Test update
    [ ] Breaking change
2018-12-13 15:33:38 +00:00
Russ Butler e09493e067 Disable MPU RT1050 due to memory map
Disable the MPU on the RT1050 since this target has a memory map that
is incompatible with the default MPU driver.
2018-12-13 15:33:38 +00:00
Martin Kojtal 2994c3f7db
Merge pull request #9064 from ARMmbed/release-candidate
Release candidate for mbed-os-5.11.0-rc3
2018-12-12 09:50:52 +01:00
Michal Paszta 56363775f2 ESP8266 send returns WOULD_BLOCK error when busy 2018-12-11 16:14:50 -06:00
Russ Butler 165af448fc Revert "Turn off MPU on targets failing OOB"
The cause of the pelion-enablement test failures for Nuvoton boards
is not caused by or related to the MPU so this patch re-enables the
MPU for these boards.

The cause of the  pelion-enablement test failures for the
UBLOX_C030_U201 has been identified and corrected so this patch
re-enables the MPU for this board.

This reverts commit b217c5fe4d.
2018-12-11 16:14:50 -06:00
Terence Zhang 7dd7471be6 Formatted via astyle. 2018-12-11 16:14:50 -06:00
Terence Zhang 7529535a26 Fix for the fault exception issue: https://github.com/ARMmbed/mbed-os-example-cellular/issues/112 2018-12-11 16:14:50 -06:00
Terence Zhang de70dae221 Fix the fault exception issue in socket_recvfrom with the null pointer parameter as SocketAddress *addr. 2018-12-11 16:14:50 -06:00
Kevin Bracey 81acc28c3f Rework MPU use option
Make the option positively named, and as it is a platform config
option make sure it only affects platform code.

HAL functions still remain available even if platform is told not
to use them.
2018-12-11 16:14:50 -06:00
Russ Butler 2463596779 Add a platform config to disable the MPU
Add the platform config DISABLE_MPU to allow the MPU to be disabled
from an application.
2018-12-11 16:14:50 -06:00