Commit Graph

21389 Commits (40bfbc568fbb8d5d51a208b4f67db253ee3ac9df)

Author SHA1 Message Date
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
Antti Kauppila aebb55baa1 mbed.h includes removed 2019-01-14 13:06:14 +00:00
bcostm 2dfd1e5466 NUCLEO_H743ZI: add crash reporting for IAR 2019-01-14 13:06:14 +00:00
bcostm c6f3d9244a NUCLEO_H743ZI: include rtc LL driver 2019-01-14 13:06:14 +00:00
bcostm 65e791201f NUCLEO_H743ZI: enable crash capture 2019-01-14 13:06:14 +00:00
jeromecoutant 1b67295203 NUCLEO_H743ZI: add initial SDK 2019-01-14 13:06:14 +00:00
Arto Kinnunen a8d3685e4a nanostack-mac-tester sync with v1.0.1
Sync application and testcases with v1.0.1 of the master copy.
2019-01-14 13:06:14 +00:00
Qinghao Shi f1f4efd8ad FastModel: rename SMM_MPS2.h to FVP_MPS2.h 2019-01-14 13:06:14 +00:00
Qinghao Shi d62e77de5c FastModel: share the same MPS2 platform header to all targets 2019-01-14 13:06:14 +00:00
Qinghao Shi 5f26c56c16 FastModel: remove SMSC9220 related definitions from SDK 2019-01-14 13:06:14 +00:00
Maciej Bocianski d7529c57ef hal-qspi_test: move frequency setting before flash init
Frequency setting just after erase operation was causing some data
inconsistencies during write/read operations on some targets (frdm-k82f).
To fix this, frequency setting was moved before flash memory init.
2019-01-14 13:06:14 +00:00
heejungPark 881be361bc changed UART0 to UART2, added UART_5 2019-01-14 13:06:14 +00:00
Seppo Takalo 12a6333674 Allow LwIP TCP retransmissions to be configured and tune those smaller.
Currently, LwIP segment retransmission time is 12, which is very long
time as each timeout doubles the retransmission timeout.
Make that to 6 as that is same what we use in Nanostack.
2019-01-14 13:06:14 +00:00
Seppo Takalo f5ac84bd40 Don't consume 36 kB just for Ethernet buffers.
Kintis EMAC is consuming 16 rinbuffers for input, and 8 buffers for output.
This is over-use because input packets are immediately allocated from
heap when passed to LwIP. Therefore the number can be creatly reduced.
2019-01-14 13:06:14 +00:00
Michal Paszta 03058ba4e1 Prevent ESP8266 stopping HW control on init 2019-01-14 13:06:14 +00:00
TomoYamanaka d3d476ae4a Modify the definition as to whether RTOS is not present in sys.cpp. 2019-01-14 13:06:14 +00:00
TomoYamanaka 596110069c Modify IRQ handler processing without RTOS at Cortex-A IAR Compiler
In case of unusing RTOS, there is no processing against IRQ handler and it causes a linker error.
Therefore, I added this processing with WEAK attribute. Also I added cmain.S file at cmsis/TARGET_CORTEX_A folder.
2019-01-14 13:06:14 +00:00
TomoYamanaka 95c8f1706a Modify IRQ handler processing without RTOS at Cortex-A GCC Compiler
In case of unusing RTOS, IRQ handler executes "while(1)" and it causes a program freeze.
Therefore, I revised this processing.
2019-01-14 13:06:14 +00:00
TomoYamanaka 6e13b7586c Modify IRQ handler processing without RTOS at Cortex-A ARM Compiler
In case of unusing RTOS, IRQ handler executes "while(1)" and it causes a program freeze.
Therefore, I revised this processing. Also I added the heap setting processing and set the align to 8 byte.
2019-01-14 13:06:14 +00:00
paul-szczepanek-arm 89e35bf16e call advertising end even if stopped by us 2019-01-14 13:06:14 +00:00