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
Veijo Pesonen
c22ac0c279
Fixes namespace collision
2018-12-11 16:14:50 -06:00
Veijo Pesonen
7210b97c59
powers down the modem on disconnect
2018-12-11 16:14:50 -06:00
Veijo Pesonen
5799daef72
Fixes connect, and network-status logic
2018-12-11 16:14:50 -06:00
Veijo Pesonen
fc548ec367
Fixes AT command timeout values from reset&connect
2018-12-11 16:14:50 -06:00
Veijo Pesonen
c10d276928
Adds support for controlling HW reset of the modem from the driver
...
While connecting will run HW reset for the modem if reset wire is attached to a know pin.
2018-12-11 16:14:50 -06:00
David Saada
04377fa88e
Fix a few SecureStore issues (following preliminary security review)
...
- Remove require integrity flag (authentication) - always authenticate
- Use RBP KV to store CMAC also in write once case
- Allow removing a key if reading it failed on RBP authentication error
- Disable SecureStore if user disables MBED TLS AES CTR or CMAC
2018-12-11 16:14:50 -06:00
Deepika
ce08039c30
Add Serial + EventQueue dependency to ESP8266
2018-12-11 16:14:50 -06:00
Deepika
771b69e405
Components if using RTOS modules should be enabled only when RTOS is present
...
Build failures were observed when rtos is ignored with .mbedignored.
Components dependent on RTOS should be guarded with MBED_CONF_RTOS_PRESENT
2018-12-11 16:14:50 -06:00
Deepika
0b38cb85f8
Fix header files used in esp8266
...
"ns_types.h" results in build failure when networking feature is ignored with
.mbedignored. ESP8266 component should be enabled only when NSAPI is present.
2018-12-11 16:14:50 -06:00
Deepika
ea96ee9534
Fix header files used in 802.15.4_RF
...
"ns_types.h" is not used, but included. Results in build failure when networking
feature is ignored with .mbedignored
"mbed_trace.h" not used.
2018-12-11 16:14:49 -06:00
Russ Butler
033218219c
Add header to fix compile failures
...
Add the header platform/mbed_assert.h to fix build errors with
platform/mbed_mpu_mgmt.c.
2018-12-11 16:14:49 -06:00
Kevin Bracey
89d239e8e4
Test MPU is enabled by init
2018-12-11 16:14:49 -06:00
Kevin Bracey
243167e856
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-11 16:14:49 -06:00
Kevin Bracey
4d9f218ab2
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-11 16:14:49 -06:00
Kevin Bracey
bb4cb774a2
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-11 16:14:49 -06:00
Leszek Rusinowicz
784c80f9e9
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-11 16:14:49 -06:00
Leszek Rusinowicz
b66ebb7fa8
FUTURE_SEQUANA SPI fixes: - fix to allow using only a subset of pins for SPI communication - added missing conter increment in spi_master_block_write()
2018-12-11 16:14:49 -06:00
paul-szczepanek-arm
52b0f21720
remove noreturn error function to avoid compilation issues
2018-12-11 16:14:49 -06:00
paul-szczepanek-arm
d9ec798f67
fixed ARM compilation problem caused by noreturn
2018-12-11 16:14:49 -06:00
paul-szczepanek-arm
70d588474e
working ARM lib
2018-12-11 16:14:49 -06:00
paul-szczepanek-arm
c972982205
working libs for GCC and IAR
2018-12-11 16:14:49 -06:00
Donatien Garnier
4a81acca8b
Replace ARMCC libs
2018-12-11 16:14:49 -06:00
Donatien Garnier
1dda09422d
ARMCC only likes armar
2018-12-11 16:14:48 -06:00
Donatien Garnier
0c785ac445
Remove use of GPIOs (LEDs and diag pins) from Cordio LL for Nordic
2018-12-11 16:14:48 -06:00
Donatien Garnier
345a3ed931
Remove duplicate symbols in libcordio_stack.a
2018-12-11 16:14:48 -06:00
paul-szczepanek-arm
368a90b944
iar libs for cordio
2018-12-11 16:14:48 -06:00
paul-szczepanek-arm
c9fb69c8e8
added arm version of libs
2018-12-11 16:14:48 -06:00
paul-szczepanek-arm
1b18dc0aad
baseband clock rate increased to 1 000 000
2018-12-11 16:14:48 -06:00
Vincent Coubard
71ed27e31a
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-11 16:14:48 -06:00
Vincent Coubard
744ef59e03
BLE: Set the number of the advertising sets supported by the host to 3.
2018-12-11 16:14:48 -06:00
Vincent Coubard
65f688e660
BLE: Set the number of supported phy by the host to 3.
2018-12-11 16:14:48 -06:00
Vincent Coubard
a7d43fce61
BLE: Inject random static address during reset sequence.
2018-12-11 16:14:48 -06:00
Vincent Coubard
a59a2e925f
BLE: Add an option to inject the random static address during the reset sequence.
2018-12-11 16:14:48 -06:00
Vincent Coubard
d1af84aa61
BLE: Revert changes introduced by debugging.
2018-12-11 16:14:48 -06:00
Vincent Coubard
bb2870fdd1
BLE: Fix recursion in ble::advertising_data_status_t raw constructor.
2018-12-11 16:14:47 -06:00
Vincent Coubard
991c723f93
BLE: Fix address type allowed to create a periodic sync.
2018-12-11 16:14:47 -06:00
Vincent Coubard
49717e4afa
BLE: Allow null value for periodic interval in advertising report event.
2018-12-11 16:14:47 -06:00
paul-szczepanek-arm
11ac1e0a46
copy periodic payload
2018-12-11 16:14:47 -06:00
paul-szczepanek-arm
8a3b5f46ad
always set filter policy
2018-12-11 16:14:47 -06:00
paul-szczepanek-arm
deffc3f42b
fix swapped errors
2018-12-11 16:14:47 -06:00
paul-szczepanek-arm
e1e20f8e17
check return value of DmSyncStart
2018-12-11 16:14:47 -06:00
paul-szczepanek-arm
8c262e72d5
fix return value
2018-12-11 16:14:47 -06:00
Vincent Coubard
4bb0964712
BLE: Set advertising random address when appropriate.
2018-12-11 16:14:47 -06:00
Vincent Coubard
5ffa065d98
BLE: Fix conversion of advertising type
...
Previously, we were passing the event_properties as defined by the Bluetooth spec which is not what DmAdvConfig expect as the advertising type passed to DmAdvConfig is Cordio tailored (and incomplete).
2018-12-11 16:14:47 -06:00
Vincent Coubard
ef0846552c
BLE: Revert change in stack setup initialisation.
...
While good this change breaks some old application that were adding GATT services before the initialisation of BLE.
This patch revert temporarily this change for now
2018-12-11 16:14:47 -06:00