Commit Graph

29064 Commits (abaf612ccd9cafb2e9acab3332f642a116bbdcb0)

Author SHA1 Message Date
Veijo Pesonen 7c692f5196 SPIFBlockDevice: Refactor vendor specific workarounds
To follow the same convention as with QSPIFBlockDevice there was need to
create a separate function for handling vendor specific workarounds.
2020-03-02 11:14:01 +02:00
Veijo Pesonen 98dbebb3ed SFDP: Refactor Sector Map Parameter Table parsing
Doxygen documentation was updated.

Code reorganized to make it more readable.

Moves SFDP specific bits out from Q/SPIFBlockDevices.
2020-03-02 11:07:03 +02:00
Veijo Pesonen 4f9fcf8df8 Bugfix: Concurrent SFDP header address init fixed
After switching from local variables to shared info structure JEDEC
Basic Flash Parameter Table and Sector Map Parameter Table addresses
and sizes must be protected by a mutex. Theoretically multiple calls
to Q/SPIFBlockDevice might occur.
2020-03-02 11:05:15 +02:00
Veijo Pesonen c84deff782 SFDP: consolidates check for addressability
Takes implementations found from SPIFBlockDevice and QSPIFBlockDevice
and makes those as part of the SFDP module.
2020-03-02 11:04:05 +02:00
Veijo Pesonen 2ce3bed910 SFDP: consolidates device density detection
Combines implementations found from SPIFBlockDevice and QSPIFBlockDevice
and makes it as part of the SFDP module.
2020-03-02 11:02:09 +02:00
JojoS62 a33d622f4f suppress 'unknown object name' messages
by using the -lto option on gcc and windows,
 many messages like above are produced.
removed by ignoring .ltrans.o files
2020-02-29 15:10:37 +01:00
David Lin d5f4b8effb
Fix function spelling mistake in Thread
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 12:05:18 +08:00
David Lin 922452d8d0
Fix function spelling mistake in border_router.c
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 12:00:39 +08:00
David Lin d76df4c3d0
Fix function spelling mistake in iphc_decompress.c
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:56:43 +08:00
David Lin c2e649a4c3
Fix function spelling mistake in lowpan_context.c
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:53:32 +08:00
David Lin 5a883a2fe2
Fix function spelling mistake in lowpan_context.h
lowpan_contex_get_by_id -> lowpan_context_get_by_id
2020-02-29 11:50:39 +08:00
David Lin 949bcaa155
Fixed typo 'thead' in thread_neighbor_class.h
Note that the word 'thead' is wrong,
so that 'thead' should been replaced with thread'.
2020-02-29 08:44:22 +08:00
Dustin Crossman 2f97c2d747 Add check so that FlashIAP does not allocate memory on flash_init failure. 2020-02-28 09:58:25 -08:00
Martin Kojtal 06b22d91e3
Merge pull request #12530 from dustin-crossman/pr/remove_reset_reason_future_sequana
Remove reset reason from Future Sequana targets.
2020-02-28 16:12:09 +00:00
Rajkumar Kanagaraj 6e969ec5ab Remove the deprecated CallChain class and its APIs. 2020-02-28 07:41:44 -08:00
Rajkumar Kanagaraj b3ba0905ac Remove the deprecated CriticalSectionLock APIs 2020-02-28 07:19:19 -08:00
Norbert Hesse 327445a00b release _semaphore only once
see issues #12325
2020-02-28 15:06:55 +01:00
Kevin Bracey d8d35eda9f C++11-ify virtualisation in netsocket
Use `override` and `final` where appropriate, and eliminate unnecessary
`virtual`.

Some other C++11 simplifications.

Reduces code size.
2020-02-28 13:34:18 +02:00
Kevin Bracey 695e872202 Correct NetworkStackWrapper::get_ip_address
Previous change that removed string-based APIs missed
`NetworkStackWrapper::get_ip_address`. Remove string-based method (which
is not overriding anything in `NetworkStack`) and add missing binary
form to implement `NetworkStack::get_ip_address`.
2020-02-28 13:29:16 +02:00
Martin Kojtal 3c441eb763 travis: scancode check log instead
Fix to properly evaluate the findings - read the logs to get how many files there are reported.
2020-02-28 09:54:40 +00:00
Martin Kojtal 0286e3c325
Merge pull request #12525 from rajkan01/ticker_remove_deprecated
Remove the deprecated Ticker APIs
2020-02-28 09:52:22 +00:00
Martin Kojtal 272c42d0fe
Merge pull request #12527 from rajkan01/atcmd_remove_deprecated
Remove the deprecated ATCmdParser APIs.
2020-02-28 09:48:05 +00:00
Martin Kojtal 9ad292a2a3
Merge pull request #12466 from jeromecoutant/PR_METRIC
MBED_STACK_STATS_ENABLED : Add stack_name information in greentea metrics
2020-02-28 08:45:44 +00:00
Martin Kojtal 1bf93039fb
Merge pull request #12457 from artokin/update_stm32_emac_ethernet_driver
Update STM32 EMAC driver - limit RX frame length
2020-02-28 08:45:24 +00:00
Dustin Crossman c7ec670886 Remove reset reason from Future Sequana targets. 2020-02-27 09:59:43 -08:00
Martin Kojtal 1f36b1cf09
Merge pull request #12450 from VeijoPesonen/sfdp_split_bptbl_2
SFDP: consolidation of SFDP parsing [3/n]
2020-02-27 17:08:14 +00:00
Martin Kojtal fc5f3259de
Merge pull request #12458 from GaborAbonyi/add_musca_b1_platform
Add Musca B1 target
2020-02-27 13:53:58 +00:00
Martin Kojtal c250781de0
Merge pull request #12518 from rajkan01/intin_remove_deprecated
Remove InterruptIn deprecated APIs
2020-02-27 13:23:22 +00:00
Rajkumar Kanagaraj 72d2f40bff Remove the deprecated ATCmdParser APIs. 2020-02-27 04:51:36 -08:00
Filip Jagodzinski 4bd29791ee GCC: Fix the GCC_ARM_LTO_WORKAROUND for Python 3
In the Python3 version of re module, the Unicode strings (str) and 8-bit
strings (bytes) cannot be mixed.
2020-02-27 12:58:36 +01:00
Rajkumar Kanagaraj db0bf08e4d Remove the deprecated Ticker APIs 2020-02-27 03:26:12 -08:00
Martin Kojtal 2d93a4578d
Merge pull request #12451 from jeromecoutant/PR_QSPI_TRACE
STM32 : enable MBED trace for QSPI
2020-02-27 10:02:46 +00:00
Chun-Chieh Li cbf1a8a6fd M487: Get around h/w issue with reset from power-down mode
When UART interrupt enabled and WDT reset from power-down mode, in the next
cycle, UART interrupt keeps breaking in and cannot block unless via NVIC. To
get around it, we deliberately make up a signal of WDT wake-up from power-down
mode in the start of boot proces when WDT reset is detected.
2020-02-27 17:46:19 +08:00
Chun-Chieh Li 55f88a0942 M487: Re-implement Reset_Handler() in naked inline assembly
This is to guarantee SRAM bank2, not initialized yet, isn't used for stack by function preamble code at the very start.
2020-02-27 17:38:53 +08:00
Martin Kojtal 555981e522
Merge pull request #12498 from jamesbeyond/usb_test
TEST: update usb tests and guard them with macro
2020-02-27 08:52:30 +00:00
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