Commit Graph

21415 Commits (442cbba14147a72c0707d597d61fae6efccb1266)

Author SHA1 Message Date
Russ Butler f4a168bed5 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-10 10:15:15 -06:00
Filip Jagodzinski 91e9010dd2 Tests: Stream: Use a quote from C99 spec
Use C99 instead of Linux man entry.
2018-12-10 16:30:16 +01:00
Kevin Bracey 13a24bc0bd Test MPU is enabled by init 2018-12-10 16:45:30 +02:00
paul-szczepanek-arm a545da7790 remove noreturn error function to avoid compilation issues 2018-12-10 13:54:09 +00:00
Kevin Bracey 1289406f9f Use MBED_ASSERT in MPU manager
MPU lock under- or overflow is not a likely random runtime failure - it
will be a mismatched lock/unlock programming error, so should be
detected during development.  Make the checks asserts so they can be
left out from release builds.  MBED_ASSERT is also a bit smaller than
MBED_ERROR in develop builds.
2018-12-10 15:53:35 +02:00
Kevin Bracey 842587ddb5 Save ROM by specifying initial MPU state
We can omit the need for the "change MPU state" calls from simple images
by specifying the initial state at init.
2018-12-10 15:53:34 +02:00
Kari Haapalehto 7e7af773ea Modify enet_tasklet.h
Change enet_tasklet_network_init() and enet_tasklet_disconnect()
declarations to match code. Also add document enet_tasklet.h functions
2018-12-10 15:49:47 +02:00
paul-szczepanek-arm c998287170 fixed ARM compilation problem caused by noreturn 2018-12-10 13:47:14 +00:00
paul-szczepanek-arm 97df8f5ed9 working ARM lib 2018-12-10 13:46:26 +00:00
Filip Jagodzinski 89a475bc4e Fix: Stream: Replace fflush() with fseek()
This is a follow-up to PR #8331; fixing the Stream methods not covered
there.
2018-12-10 14:31:30 +01:00
jeromecoutant 503777d850 STM32L4: correct RNG clock source 2018-12-10 14:04:25 +01:00
Kevin Bracey e2f6025b17 Exclude MPU manager code if MPU disabled
Save around 400 bytes from images using FlashIAP by omitting MPU manager
reference counting if DEVICE_MPU is 0.
2018-12-10 14:44:03 +02:00
Leszek Rusinowicz ea5dccaa92 FUTURE_SEQUANA deep sleep fixes:
- fixed feature rename (from DEVICE_LOWPOWERTIMER to DEVICE_LPTICKER) in all missed places
- disabled power manager callback for serial driver
2018-12-10 12:56:58 +01:00
Martin Kojtal 40e13cf28c
Merge pull request #9003 from juhoeskeli/wise_1570_mpu_enable
Revert "Merge pull request #8922 from juhoeskeli/wise_1570_mpu_disable"
2018-12-10 12:21:36 +01:00
Filip Jagodzinski 5c9cc5b8f1 Tests: Stream: Add more test cases 2018-12-10 12:09:22 +01:00
jeromecoutant c950cc352a Add NUCLEO_L4R5ZI_P 2018-12-10 10:27:21 +01:00
paul-szczepanek-arm 642b2dfb57 working libs for GCC and IAR 2018-12-10 09:12:03 +00:00
Hasnain Virk 138fd740b7 Unit test fix
A missing macro definition is added to the unit-test cmake file for
LoRaPHY class.
2018-12-10 08:53:30 +02:00
Hasnain Virk e1e48b492b Final cleanup and ASCII art for algorithm v2
Final code cleanup and adding ascii art for the version 2 of the
algorithm.
2018-12-10 08:53:30 +02:00
Hasnain Virk 5170daa00a RX window calculation algorithm version 2
In this version we try to mitigate a situation when we start listening
right in the middle of a preamble sequence (e.g., in high SF case).
2018-12-10 08:53:30 +02:00
Hasnain Virk ca083671ff Updating get_rx_window_params() API in stubs
Unittest stubs needed to be updated for the API change.
Although this API is private and internal to LoRaPHY, somehow it
appeared in the LoRaPHYStub. Updating it for consistency.
2018-12-10 08:53:30 +02:00
Hasnain Virk 3ec643f06a Style alignment
Minor style alignment.
2018-12-10 08:53:30 +02:00
Hasnain Virk 88490fb145 Mitigating reception problems with lower data rates
A new algorithm has been taken in use to calculate the receive window
length and the timing offset involved in opening of the said receive
window. This algorithm performs better than the stock algorthm and
consumes less power.
2018-12-10 08:53:30 +02:00
Hasnain Virk f4077af5b1 UL FCnt increment in case of retry exhaustion
Previously we had been incrementing UL frame counter for a CONFIRMED
message only when the transmission was deemed successful i.e., we would
have received an ack before all the retries would have exhausted.
Now we have opted to increment the frame counter if all the retries are
exhausted considering the fact that we essentially treat the next
message after retry exhaustion as a new packet so we should also
increment the frame counter.
2018-12-10 08:53:30 +02:00
Terence Zhang d3d1e0d30b Fix for the fault exception issue:
https://github.com/ARMmbed/mbed-os-example-cellular/issues/112
2018-12-10 11:07:13 +08:00
Terence Zhang a713358d3c Fix the fault exception issue in socket_recvfrom with the null pointer parameter as SocketAddress *addr. 2018-12-10 11:07:12 +08:00
Cruz Monrreal 9d28c3f767
Merge pull request #9001 from michalpasztamobica/greentea_missing_tests
Missing socket greentea tests implementation
2018-12-08 18:37:05 -06:00
Cruz Monrreal 1f329d0fc4
Merge pull request #9009 from lrusinowicz/srm_fixes
[PSOC6]: Fix for static resource manager.
2018-12-08 18:36:42 -06:00
Donatien Garnier 6f94339aed Replace ARMCC libs 2018-12-08 08:43:20 +00:00
Toyomasa Watarai 4d11ff8791 Add network-default-interface-type and remove comment 2018-12-08 15:24:43 +09:00
toyowata 91296c8417 [Seeed Arch MAX] Add Mbed OS 5 support 2018-12-08 15:24:42 +09:00
Russ Butler 7208f8c8ec 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-07 20:19:26 -06:00
Donatien Garnier db6b09a70f ARMCC only likes armar 2018-12-07 23:45:26 +00:00
Donatien Garnier 3f00595e62 Remove use of GPIOs (LEDs and diag pins) from Cordio LL for Nordic 2018-12-07 22:46:27 +00:00
Donatien Garnier 674ff288d6 Remove duplicate symbols in libcordio_stack.a 2018-12-07 22:04:19 +00:00
Cruz Monrreal 0e3d712702
Merge pull request #8996 from jamesbeyond/fm_eth_fix
Fix uninitialized handler pointer in FastModels ethernet driver
2018-12-07 14:47:57 -06:00
Cruz Monrreal 4a8e2de2c2
Merge pull request #9005 from yanesca/fix-mbedtls-ecc-hardware-double-init
Mbed TLS: Fix ECC hardware double initialization
2018-12-07 14:47:04 -06:00
deepikabhavnani f05e7b77d0 Add core option for Cortex-M33 with DSP enabled
Signed-off-by: Deepika Bhavnani <Deepika.Bhavnani@arm.com>
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-12-07 12:20:01 -06:00
paul-szczepanek-arm a48369691e iar libs for cordio 2018-12-07 17:56:36 +00:00
paul-szczepanek-arm bdabada477 added arm version of libs 2018-12-07 17:41:50 +00:00
Cruz Monrreal fce4dc6dc3
Merge pull request #8852 from jarvte/cellular_doxygen_update
Cellular: update doxygen and add attach CellularDevice.
2018-12-07 11:23:22 -06:00
Cruz Monrreal c4e913baa4
Merge pull request #8960 from jeromecoutant/PR_RTC2
STM32: avoid STM32 family name check
2018-12-07 11:23:07 -06:00
paul-szczepanek-arm c13dcf3387 baseband clock rate increased to 1 000 000 2018-12-07 17:12:58 +00:00
Brian Daniels 0af1a4bcd2 Removing feature names from the "allowed feature" config list.
These features have all been removed from Mbed OS in the past. This
prevents their use in the future.
2018-12-07 10:02:42 -06:00
Vincent Coubard e7f81fe7e8 BLE: Fix the number of advertising sets supported
The number of advertising sets supported is the minimum of advertising sets supported beween the host and the controller.
2018-12-07 13:26:35 +00:00
Vincent Coubard 4e5240b743 BLE: Set the number of the advertising sets supported by the host to 3. 2018-12-07 13:24:52 +00:00
Vincent Coubard 57b79d9659 BLE: Set the number of supported phy by the host to 3. 2018-12-07 13:24:28 +00:00
Leszek Rusinowicz 30f0bc65ce [PSOC6]: Fix for static resource manager. 2018-12-07 13:36:30 +01:00
Vincent Coubard 20e0cd1b0e BLE: Inject random static address during reset sequence. 2018-12-07 12:35:20 +00:00
Vincent Coubard a36b04fde5 BLE: Add an option to inject the random static address during the reset sequence. 2018-12-07 12:33:31 +00:00