Commit Graph

28979 Commits (d46c397e7425ef11e8db83d72b78b8ed2eac9aa2)

Author SHA1 Message Date
Martin Kojtal 3739ccda0f
Merge pull request #12488 from kjbracey-arm/override_ns
C++11-ify virtualisation in Nanostack classes
2020-02-27 08:52:08 +00:00
Martin Kojtal 981691f95f
Merge pull request #12519 from mprse/sleepmanaget_test_fix
tests-mbed_hal-sleep_manager: fix counter wraparound handling
2020-02-27 08:50:39 +00:00
Martin Kojtal 9fc8ac20fe
Merge pull request #12520 from boomer41/fix-i2ceeprom-warning
Fix initialization order for I2CEEBlockDevice
2020-02-27 08:48:22 +00:00
Martin Kojtal 10842f7a57
Merge pull request #12500 from rajkan01/ethernet_remove_deprecate
Remove the deprecated ethernet APIs
2020-02-27 08:46:42 +00:00
Kimmo Vaisanen 29affbccab Remove explicit include of mbedtls/config.h
Including mbedtls/config.h should not be done explicitely. This prevents using MBEDTLS_CONFIG_FILE macro.
Correct config file is automatically included by other mbedtls header files.
2020-02-27 09:45:22 +02:00
Martin Kojtal 5c16018c96
Merge pull request #12509 from SiliconLabs/bugfix/rtcc_lpticker_coexistence
EFM32: RTCC bugfix for #12374
2020-02-27 07:21:14 +00:00
mudassar-ublox 2fc95a5421 Read '@' char first then send data 2020-02-27 11:07:56 +05:00
Stephan Brunner f67b8aa0eb
Fix initialization order for I2CEEBlockDevice 2020-02-26 18:18:22 +01:00
Martin Kojtal 67e950296d
Merge pull request #12385 from tymoteuszblochmobica/rot
DeviceKey Root of Trust generation refactored.
2020-02-26 16:59:24 +00:00
Martin Kojtal a8fe8310b9
Merge pull request #12514 from 0xc0170/fix_mergify_skip
mergify: add "mergify skip" label
2020-02-26 15:39:30 +00:00
Martin Kojtal c966c4242f
Merge pull request #12420 from rajkan01/drivers_remove_deprecate
Remove the deprecated CAN APIs.
2020-02-26 15:09:37 +00:00
Przemyslaw Stekiel 42a9cc1e20 tests-mbed_hal-sleep_manager: fix counter wraparound handling
There is a mismatch while handling counter wraparound in `test_sleep_auto` test case.
In the test timestamps in ticks are first converted to us and then while counting the time difference wraparound is handled (us and ticks fields are mismatched). The ticker wraparound case must be handled in the field of ticks, and then the difference converted to us.
2020-02-26 14:05:46 +01:00
Rajkumar Kanagaraj 1002a3ace2 Remove InterruptIn deprecated APIs 2020-02-26 04:22:21 -08:00
Veijo Pesonen c953b656ac SFDP: provides doxygen documentation improvements 2020-02-26 13:44:34 +02:00
paul-szczepanek-arm d19317c64c clarify docs 2020-02-26 11:10:10 +00:00
Martin Kojtal 5969fdf8ef
Merge pull request #12501 from rajkan01/intmgr_remove_deprecated
Remove the deprecated the InterruptManager APIs
2020-02-26 10:49:54 +00:00
Veijo Pesonen ca704a4b3d SFDP: consolidates erase region search
Merges erase region search found from SPIFBlockDevice and
QSPIFBlockDevice. Moves the implementation within the SFDP
component
2020-02-26 12:41:34 +02:00
Martin Kojtal a06abda229 mergify: add "mergify skip" label
This is useful if we want to drive PR. There are situations when mergify is not ideal,
and we want to overwrite its rules.

I applied the label for some actions that we can overwrite.
2020-02-26 10:40:00 +00:00
Qinghao Shi 1bf3590587 TEST: update licenses and add an empty line in the end 2020-02-25 16:26:21 +00:00
Paul Szczepanek fdf1c33a1f
allow reconfiguring a running watchdog 2020-02-25 16:12:50 +00:00
Martin Kojtal 32f615e420
Merge pull request #12495 from kjbracey-arm/override_serial
C++11-ify virtualisation in FileHandle + Serials
2020-02-25 16:00:43 +00:00
Martin Kojtal 98db25537a
Merge pull request #12440 from dustin-crossman/pr/reset_reason
Implement reset_reason api for cypress targets
2020-02-25 15:24:54 +00:00
Martin Kojtal 732692cd77
Merge pull request #12475 from VeijoPesonen/purge_rspif
Proposal to remove SPIFReducedBlockDevice
2020-02-25 15:23:23 +00:00
Veijo Pesonen ca52ca9277 Q/SPIFBlockDevice: removes dead code 2020-02-25 16:12:18 +02:00
Martin Kojtal 1c12083949
Merge pull request #12426 from VeijoPesonen/sfdp_split_bptbl
SFDP: consolidation of SFDP parsing [2/n]
2020-02-25 13:57:23 +00:00
Steven Cooreman 9bc59fe2d7 Bugfix for #12374
Use an RTCC retention register to keep track of user timebase for RTC API. RTC and LP Ticker implementations use the same counter, but they shouldn't share timebases.
2020-02-25 11:44:12 +01:00
Evelyne Donnaes a02f4b4856 Fix minimal-printf stack overflow 2020-02-25 10:44:11 +00:00
Martin Kojtal 18ad99a883
Merge pull request #12481 from artokin/nanostack_release_for_mbed_os_6
Nanostack release for Mbed OS 6
2020-02-25 10:08:59 +00:00
Martin Kojtal a3f8202cde
Merge pull request #12502 from DavidLin1577/patch-4
Fixed macro error
2020-02-25 09:52:29 +00:00
Martin Kojtal 745a4b4513
Merge pull request #12505 from 0xc0170/fix_travis_grep
travis: ignore grep return value for scancode
2020-02-25 08:45:45 +00:00
Kevin Bracey aa9058a293 C++11-ify virtualisation in lwIP classes
Use `override` and `final` where appropriate, and eliminate unnecessary
`virtual`.

Some other C++11 simplifications.
2020-02-25 10:09:10 +02:00
Kevin Bracey b4c1f7f3da Correct LWIP::get_ip_address
Previous change that removed string-based APIs missed
`LWIP::get_ip_address`. Remove string-based method (which is not
overriding anything in `NetworkInterface`) and add missing binary form
to implement `NetworkInterface::get_ip_address`.
2020-02-25 09:57:56 +02:00
Martin Kojtal 9266ed10ae travis: ignore grep return value for scancode
The file is not always present in changed files, thus we need to just ignore the
return status.
2020-02-25 07:32:46 +00:00
Martin Kojtal 1629103fb1
Merge pull request #12421 from dustin-crossman/pr/cy_targets_reorganization
Cypress Targets Reorganization
2020-02-24 16:25:08 +00:00
Martin Kojtal bb48fa46cd
Merge pull request #12437 from 0xc0170/dev_travis_scancode
travis: add PR license check for missing/not-valid license files
2020-02-24 15:56:07 +00:00
Martin Kojtal 9205bdf890
Merge pull request #12490 from DavidLin1577/patch-3
Fixed  error of structure mlme_key_descriptor_t
2020-02-24 15:45:35 +00:00
David Lin 7f1443de88
Fixed macro error in emac_util.cpp
Fixed macro spelling error:  INVALID_LENGHT-> INVALID_LENGHT
2020-02-24 23:43:07 +08:00
David Lin 5965985734
Fixed macro error in emac_util.h
INVALID_LENGHT -> INVALID_LENGTH
2020-02-24 23:33:30 +08:00
Martin Kojtal 1e24c00232
Merge pull request #12358 from jamesbeyond/update_req
FIX: add cbor module in the requirement.txt
2020-02-24 15:12:52 +00:00
Veijo Pesonen b575df072f Removes RSPIF block device driver
The driver is not needed by the bootloader anymore.
2020-02-24 16:01:14 +02:00
Przemyslaw Stekiel 32311b7ca5 i2c_api.c: fix style 2020-02-24 14:59:07 +01:00
Przemyslaw Stekiel e18a800e7c NRF52840 I2C driver: Initialise I2C pins before transmission
By default D0 - D3 pins are used for the bit-banged SPI com channel between mbed target and the FPGA-test-shield.
For some reason, if pins were used as GPIOs and then reconfigured to I2C pins the I2C com does not work on NRF52840.

This commit modifies i2c_configure_twi_instance() function and adds proper initialization of the I2C pins.
2020-02-24 14:59:06 +01:00
Przemyslaw Stekiel 2b52c5861a K64F: remove PTD3 pin from I2C SDA pinmap - fails FPGA test 2020-02-24 14:58:51 +01:00
Przemyslaw Stekiel 2a9e32e4cb tests-mbed_hal_fpga_ci_test_shield-uart: fix include order 2020-02-24 14:57:10 +01:00
Przemyslaw Stekiel 6cd012d215 tests-mbed_hal-pinmap: Remove testing GPIO pinmaps (GPIO pinmaps are removed) 2020-02-24 14:57:09 +01:00
Przemyslaw Stekiel d36f2aacb2 KW24D, KW41Z: Remove GPIO pin-maps (use restricted GPIO pins if needed) 2020-02-24 14:56:54 +01:00
Przemyslaw Stekiel f6acb51893 Update find_ports() FPGA testing utility function to loop through the form factor pins instead the pin-map
This change is required to fully remove gpio pin-maps which were already added for FPGA testing.
One use case of adding gpio pinmap was that pin-map must have the specific format - must be ended with NC pin. Functions that deal with pin-maps loops through the pin-map until NC pin is encountered.
Also, our FPGA testing utility function to find pins for testing does that. When gpio pinmaps are fully removed we will have one generic gpio pinmap which provides Arduino pins: D0, D1, D2, etc. (only Arduino form factor is supported at the moment).
In some cases may happen that an arduino pin is not connected (e.g. KW24D: D4 == NC). As a result we will have NC not only at the end, but also in the middle of the gpio pin-map.
In this case find_ports() function will finish processing pin-map to early (when first NC is encountered).
The proposition is to change the find_ports() FPGA testing utility function to loop through form factor pins (instead pin-map) and then check if the pin is not NC and is available on the specific pin-map before using it for testing.
2020-02-24 14:44:33 +01:00
Rajkumar Kanagaraj 6eb36f3a8e Remove the deprecated the InterruptManager APIs 2020-02-24 05:32:44 -08:00
Rajkumar Kanagaraj c4a54e38cb The `Ethernet` APIs are no longer supported, so removed header and cpp files and its dependency. 2020-02-24 05:23:21 -08:00
Rajkumar Kanagaraj 692f0a2f24 Removed CAN deprecated APIs 2020-02-24 05:02:15 -08:00