Commit Graph

21408 Commits (ee09fe7dbf5a0c9fbb93f1311ebb062a7b56687d)

Author SHA1 Message Date
c_jin ee09fe7dbf add button definitions 2019-01-14 13:06:14 +00:00
c_jin 2e1adee7d6 modify the 'INITIAL_SP' for GD32F450ZI 2019-01-14 13:06:14 +00:00
c_jin 224493fbfe Add GD32_F450ZI as new target 2019-01-14 13:06:14 +00:00
David Saada 5b281d7301 Remove kvstore's mbed_lib.json file (not relevant any more)
In addition, use the NOT_SUPPORTED directive to skip the tests.
2019-01-14 13:06:14 +00:00
Amir Cohen 7bb8345b65 Kvstore tests api change to run on K64F only
Change KVStore API tests to run only on K64F, these tests check the KVStore functionality without actually testing the board's storage,
Thus they should produce the same results for each device they run on.
K64F was selected for no special technical reason but only because of it being available and convenient to use.
2019-01-14 13:06:14 +00:00
Veijo Pesonen 91832e6e78 socket_send() returns WOULD_BLOCK if server won't accept
Driver must return NSAPI_ERROR_WOULD_BLOCK if a server won't accept
data from the modem and the modem's buffers are full. In case that
socket is closed driver returns NSAPI_ERROR_CONNECTION_LOST.
2019-01-14 13:06:14 +00:00
Mahesh Mahadevan d374cfa5da LPC546XX: Do not make MCU_LPC546XX target public
This is a fix for Issue:9207

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-14 13:06:14 +00:00
kevin.ong 3c03d708bb STM32L476VG: fix wrong pin map function on ADC channels
This issue is start on https://github.com/ARMmbed/mbed-os/pull/6931

ADC pins must need STM_PIN_ANALOG_CONTROL_BIT to call LL_GPIO_EnablePinAnalogControl
2019-01-14 13:06:14 +00:00
Juha Ylinen 090f06f2e0 SPIFBlockDevice docs update 2019-01-14 13:06:14 +00:00
Cai c137ce9885 fix MPU compilation issue 2019-01-14 13:06:14 +00:00
Amanda Butler 48af6fd26b Edit README.md
Edit file, mostly for active voice.
2019-01-14 13:06:14 +00:00
heejungPark eaad4d036a Added TARGET_SDT64B, a bootloader file on SDT64B 2019-01-14 13:06:14 +00:00
deepikabhavnani f7d7432eca Use mbed_error_printf instead of debug for ISR friendly prints
Internally in sleep tracing `debug` was used for trace prints, but
all sleep API's are ISR safe and used in interrupts. This resulted in
hardfaults / errors.

Solution is to use `mbed_error_printf` instead for printing on UART
2019-01-14 13:06:14 +00:00
Yossi Levy 16a4e34d2c The direct_access_devicekey test should not run if there is no component flashiap block device in the target 2019-01-14 13:06:14 +00:00
offirko a1788e929d Added utility function to help locate expected internal flash tdbstore position. (Supporting FILESYSTEM and TDB_EXTERNAL configuration only) 2019-01-14 13:06:14 +00:00
offirko 879d234b72 Updated test to consider tdb_internal non default configuration as well 2019-01-14 13:06:14 +00:00
offirko 7136c78bff Adding low code size tool for direct access to Devicekey. This enables application with code size restrictions to access devicekey directly based on address in internal flash without kvconfig overhead 2019-01-14 13:06:14 +00:00
Veijo Pesonen 0f9098d239 Fixes AT-layer socket_open-functions
When a socket open fails it musn't be treated as fatal error. Returning
a device error which is then handled by an application is the correct
solution
2019-01-14 13:06:14 +00:00
Seppo Takalo ec57224a8d ESP8266: Set HW reset time to 2ms 2019-01-14 13:06:14 +00:00
Cruz Monrreal 40bfbc568f Updated pyyaml due to possible vulnerability
Ref: https://nvd.nist.gov/vuln/detail/CVE-2017-18342
2019-01-14 13:06:14 +00:00
Stephan Brunner c063eaae28 Fix security bug in DeviceKey 2019-01-14 13:06:14 +00:00
jeromecoutant 84a0a5d550 STM32 L0 & L1: FLASH is EEPROM 2019-01-14 13:06:14 +00:00
Martin Kojtal ad1de5096e travis: add keys for ubuntu - workaround 2019-01-14 13:06:14 +00:00
offirko 2b9f5dacc7 reduce info traces to debug level to prevent logs overflow 2019-01-14 13:06:14 +00:00
David Saada d85fda724e TDBStore: Perform garbage collection on failed writes
Partial writes may turn storage unusable. GC clears this scenario.
2019-01-14 13:06:14 +00:00
David Saada 69d57c8e8d TDBStore: fix bug in sector blank check for variant sized sectors 2019-01-14 13:06:14 +00:00
Yossi Levy cd53b0afe1 This commit fixes an issue in which boards with FlashIAP block device enabled fails the FlashIAP block device tests exists under the component directory. That's because they have no start address and size configured in the mbed_lib.json file. In order to simplify the test for targets with no definitions in the mbed_lib.json, the test will calculate the start address as the first sector after the application ends and up to the max size available. 2019-01-14 13:06:14 +00:00
Kari Haapalehto 427a395f64 Correcting the error-case trace from mesh-api interfaces 2019-01-14 13:06:14 +00:00
Yossi Levy 98f6364e87 Adding return MBED_ERROR_UNSUPPORTED in _storage_config_default if no component is defined. 2019-01-14 13:06:14 +00:00
Yossi Levy 40263b3c5c fixing FAT mount failure in kvstore FILESYSTEM 2019-01-14 13:06:14 +00:00
Yossi Levy b7004eb2a3 Remove ROM overlaps checkup for kvstore FLASHIAP blockdevice if non default values are use remove of rbp_number_of_entries from the kvstore configuration. Adding default option for storage_type allowing the system to choose TDB_INTERNAl, TDB_EXTERNAL or FILESYSTEM base on the blockdevice component set in the target board. Adding remarks to kv_config.cpp and break simplify the _get_blockdevice_FLASHIAP function 2019-01-14 13:06:14 +00:00
Alastair D'Silva b0220082de Don't use define checks on DEVICE_FOO macros (partner code)
The DEVICE_FOO macros are always defined (either 0 or 1).

This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2019-01-14 13:06:14 +00:00
Teppo Järvelin fcc9bb7d4d Cellular: fix state machine to check network attach
Added check to state machine that if modem is attached to a network
it is considered to be registered to a network and state machine
can continue to next states. This fixed issues seen in IoT network
that network does not allow registering if already attached.
2019-01-14 13:06:14 +00:00
Veijo Pesonen baab309f8b Increases events.shared-stacksize to 2K
ESP8266 driver started to use global event queue to handle some AT
parsing and call Socket::sigio() events. It turned out that when
running DNS tests, or Pelion Client, the stack space (1kB) is not
enough for the purpose.

Therefore we propose that this is raised to 2kB, as the assumption
is that event loop should allow as equivalently complex code than
any other threads.

In Mbed OS, the default Thread stack size is 4kB, but we assume 2kB
to be enough for non-blocking event purposes.
2019-01-14 13:06:14 +00:00
Yossi Levy db1dadee74 Documnent changes and adding const to get_type method 2019-01-14 13:06:14 +00:00
Yossi Levy 65f9e7c9a8 astyle fix 2019-01-14 13:06:14 +00:00
Yossi Levy 5a83c77b88 astyle fix 2019-01-14 13:06:14 +00:00
Yossi Levy 8f2b5efe0d Add get_type method to block devices. 2019-01-14 13:06:14 +00:00
Hasnain Virk dd81345d41 Randomizing backoff for Join process
Randomizing backoff by 200ms to 1000ms for Join Requests in a dense
network will add robustness and better chances of reception by the base
station especially in cases of catastrophic network outage and
reconnection.
2019-01-14 13:06:14 +00:00
Oren Cohen 498e4e6b7d Fix travis astyle usage of .astyleignore 2019-01-14 13:06:14 +00:00
jeromecoutant 5598112863 STM32L4 ADC VBAT CHANNEL 2019-01-14 13:06:14 +00:00
Cruz Monrreal II 03118df842 Add back statements adding ppa repos... 2019-01-14 13:06:14 +00:00
Cruz Monrreal II 2f6a8a2cc0 Skip files that were deleted 2019-01-14 13:06:14 +00:00
Cruz Monrreal II 0190e3eab5 Simplified astyle travis test to be easier to reason about 2019-01-14 13:06:14 +00:00
Wilfried Chauveau d08c64eac3 add bootloader support to the DISCO_F469NI 2019-01-14 13:06:14 +00:00
Donatien Garnier c60b882565 Fixes for features/FEATURE_BLE/ble/services/EddystoneConfigService.h 2019-01-14 13:06:14 +00:00
Donatien Garnier 235921fb11 Fixes for features/FEATURE_BLE/ble/services/EddystoneService.h 2019-01-14 13:06:14 +00:00
Antti Kauppila 404161550d Fixed Realtek test build 2019-01-14 13:06:14 +00:00
Antti Kauppila db4d121374 36510 test build fixed 2019-01-14 13:06:14 +00:00
Antti Kauppila 62c501e32f Cleaned 802.15.4_RF to not have mbed.h includes 2019-01-14 13:06:14 +00:00