Commit Graph

27428 Commits (9dc0c3737eb2454184ee376f0fe8cc538b5a2ad0)

Author SHA1 Message Date
Martin Kojtal 9dc0c3737e
Merge pull request #11888 from fredlee12001/master
Pelion enable for UNO_91H
2019-11-20 16:31:56 +01:00
Martin Kojtal 48f38a420b
Merge pull request #11654 from tymoteuszblochmobica/mesh
Adjustment of netsocket tests to the lossy mesh network limitation.
2019-11-20 16:31:30 +01:00
Martin Kojtal 6064983f49
Merge pull request #11882 from hugueskamba/hk-DISCO_L475VG_IOT01A-enable-baremetal
DISCO_L475VG_IOT01A: Fix baremetal profile Greentea tests
2019-11-20 14:01:49 +01:00
Tymoteusz Bloch 983c9586ee Adjustment of netsocket tests to the lossy mesh network limitation. 2019-11-20 12:13:34 +01:00
Martin Kojtal 2dfed373c7
Merge pull request #11713 from ABOSTM/FREMOVE_TICKLESS_FROM_STM32F4_TARGETS
Remove Tickless from STM32F4 targets
2019-11-20 10:56:04 +01:00
fred.li 72c5c78642 Default value for APPLICATION_ADDR if restrict_size not given 2019-11-20 10:34:49 +08:00
Anna Bridge 71c6b9aca5
Merge pull request #11872 from jussisip/update_examples
Change mbed-os-example-wifi to build only DISCO_L475VG_IOT01A
2019-11-19 17:03:37 +00:00
Martin Kojtal a183033f59
Merge pull request #11867 from mprse/cypress_gpio_fix
Fix for Cypress GPIO driver (fix for issue #11835)
2019-11-19 08:31:15 +01:00
fred.li 79f06c7b6c Fix UART write logic issue 2019-11-19 12:08:06 +08:00
fred.li cef6aba55e RESET for each connect operation 2019-11-19 12:08:06 +08:00
fred.li fc8ae6fb18 All timer will not correct with 40M Clock, set back to 160M 2019-11-19 12:08:05 +08:00
fred.li 18fa28db77 Disable UNISOC Reconnect patch, Optimize workaround for LWIP issue 2019-11-19 12:08:05 +08:00
fred.li 88cf7df286 1, Restrict access to 1st 4K of flash
2, Merge UNISOC change for auto reconnect patch
2019-11-19 12:08:05 +08:00
fred.li 0a2d843e15 Fix SystemReset Hang issue 2019-11-19 12:08:05 +08:00
fred.li bf4f1b18ba Skip clock setting, keep all code running with 40M 2019-11-19 12:08:04 +08:00
fred.li 08ef03492f reset I2C_WAKEUP_EN bit with Clock reset 2019-11-19 12:08:04 +08:00
fred.li ee2f7ce6bb Vector Table should accordng to application offset 2019-11-19 12:08:04 +08:00
Osamu Koizumi 0c8196168a Avoid setting clock parameter twice 2019-11-19 12:08:04 +08:00
fred.li 33f59b426f Fix for PDMC Timer stopped working issue 2019-11-19 12:08:03 +08:00
Hugues Kamba dfae4e72bd DISCO_L475VG_IOT01A: Fix baremetal profile Greentea tests
The build was missing the `"qspif"` lib to sucessefully build
2019-11-18 14:32:20 +00:00
Jussi Siponen 1c4a5b9d87 Change wifi example to build only DISCO_L475VG_IOT01A
Currently mbed-os-example-blinky and mbed-os-example-wifi are built for each and every target in Mbed OS. This will change that only DISCO_L475VG_IOT01A is built for mbed-os-example-wifi. DISCO_L475VG_IOT01A was chosen as its one of the wi-fi supported boards and having integrated wi-fi.
2019-11-18 13:46:50 +02:00
Martin Kojtal 2e96145b76
Merge pull request #11871 from AriParkkila/test-udpechotest-timeout
TESTS: Add socket.set_timeout in udpsocket_echotest
2019-11-16 07:55:53 +01:00
Martin Kojtal cb54f5065f
Merge pull request #11859 from kivaisan/fix_cellular_baremetal_scheduling
Cellular: Fix queue scheduling for bare metal
2019-11-16 07:55:36 +01:00
Martin Kojtal ee46d03a6c
Merge pull request #11861 from trowbridgec/update-ep-agora-target
Replace calls to printf() with mbed-trace in netsocket tests
2019-11-16 07:54:27 +01:00
Martin Kojtal 60a470a7ef
Merge pull request #11844 from amq/patch-1
EFM32: Enable RESET_REASON and WATCHDOG for EFM32GG11_STK3701
2019-11-15 18:34:06 +01:00
Martin Kojtal 97a7466e54
Merge pull request #11841 from AriParkkila/wifi-reorder
WiFi: Re-order Greentea tests with minor fixes
2019-11-15 18:33:11 +01:00
Martin Kojtal 30145b1393
Merge pull request #11736 from OpenNuvoton/nuvoton_remove_trng
Nuvoton: Remove TRNG support
2019-11-15 18:29:14 +01:00
Martin Kojtal 7b79157a4d
Merge pull request #11580 from wajahat-ublox/ubx_modems_custom_boards
Remove target dependency in ublox cellular APIs
2019-11-15 18:26:54 +01:00
Chris Trowbridge a1edbb9099 Switch to using mbed-trace for greentea test debug output 2019-11-15 11:18:13 -05:00
Anna Bridge 7cfa6faa5b
Merge pull request #11714 from tymoteuszblochmobica/linklocal
LWIP::get_ipv6_addr for link-local only
2019-11-15 12:32:54 +00:00
Anna Bridge 6bc2831247
Merge pull request #11869 from ARMmbed/IOTSTOR-978
IOTSTOR-978: Skip a unstable testcase until fixed
2019-11-15 12:29:25 +00:00
Przemyslaw Stekiel 48b02af144 Fix for Cypress GPIO driver 2019-11-15 10:10:29 +01:00
Seppo Takalo af0708ca48 IOTSTOR-978: Skip a unstable testcase until fixed 2019-11-15 10:38:32 +02:00
Tymoteusz Bloch 6514433b68 LWIP::get_ipv6_addr fixed to avoid returning NULL even if only linklocal adress exits. 2019-11-14 17:19:54 +01:00
Ari Parkkila ed754434b7 TESTS: Add socket.set_timeout in udpsocket_echotest
Some packet loss may be expected/allowed with UDP.
Set socket timeout to continue testing if no response is received within a timeout.
2019-11-14 06:04:37 -08:00
Martin Kojtal 699372421a
Merge pull request #11790 from 0xc0170/master-rob
nrf52: reset UARTE peripheral in serial_free
2019-11-14 10:42:08 +01:00
Alexandre Bourdiol 328862028d Remove Tickless from STM32F4 targets
Ticless on STM32 F4 boards causes SPI issue with following PR:
# 11682 Make FPGA tests to pass on CI targets (SPI, analogIn, PWM)

In asynch mode, using interrupts, SPI hardware detect an RX overrun.
Our understanding is that lpticker wrapper latency
causes issue similar to #8714 and #9785,
specially with SPI asynch which use interrupts.
2019-11-14 09:29:56 +01:00
Martin Kojtal fd22997b60
Merge pull request #11559 from kjbracey-arm/crc
MbedCRC and CRC HAL revisions
2019-11-13 18:24:04 +01:00
Martin Kojtal 539779fa58
Merge pull request #11531 from kyle-cypress/pr/qspi-sfdp
Improve QSPIFBlockDevice conformance to SFDP
2019-11-13 17:55:36 +01:00
Martin Kojtal eab1c2e594
Merge pull request #11796 from hugueskamba/hk-add-minimal-console-to-retarget
mbed_retarget: Add a minimal console implementation to provide basic functionalities
2019-11-13 17:11:27 +01:00
Martin Kojtal 249d35c873
Merge pull request #11848 from manchoz/arduino_nano33ble_itm
Remove ITM Trace support from Arduino Nano 33 BLE
2019-11-13 15:17:16 +01:00
Martin Kojtal 5291228c00
Merge pull request #11850 from amitchone/amitchone-patch-1
Correct PB_6/PB_7 Serial AF mapping
2019-11-13 14:59:56 +01:00
Martin Kojtal d496ab567b
Merge pull request #11854 from AnttiKauppila/athandler_warn_fix
ATHandler build warning fixed
2019-11-13 14:59:35 +01:00
Kimmo Vaisanen deadcee06c Cellular: Fix queue scheduling for bare metal
For non-rtos build (bare metal) cellular event queue is now scheduled by shared event queue.
2019-11-13 14:51:14 +02:00
Kevin Bracey 8811972201 Adjust code for MbedCRC changes
* Make mbed_error use bitwise MbedCRC call rather than local
  implementation.
* Remove use of POLY_32BIT_REV_ANSI from LittleFS.
* Move some MbedCRC instances closer to use - construction cost is
  trivial, and visibility aids compiler optimisation.
2019-11-13 14:31:49 +02:00
Kevin Bracey 3939c992d4 Revise MbedCRC template
* Use compile-time detection of hardware CRC capability, so unneeded
  code and tables do not go into the image.
* Add global JSON config option to allow choice between no tables,
  16-entry tables or 256-entry tables for software CRC. Default set
  to 16-entry, reducing ROM size from previous 256-entry.
* Allow manual override in template parameter to force software or
  bitwise CRC for a particular instance.
* Micro-optimisations, particularly use of `RBIT` instruction and
  optimising bitwise computation using inline assembler.

Incompatible changes:

* Remove special-case "POLY_32BIT_REV_ANSI" - users can use standard
  POLY_32BIT_ANSI, which now uses the same 16-entry tables by default,
  or can use hardware acceleration, which was disabled for
  POLY_32BIT_REV_ANSI. MbedCRC<POLY_32BIT_ANSI, 32, CrcMode::TABLE> can
  be used to force software like POLY_32BIT_REV_ANSI.
* The precomputed table for POLY_16BIT_IBM had errors - this has been
  corrected, but software CRC results will be different from the previous
  software calculation.
* < 8-bit CRC results are no longer are shifted up in the output value,
  but placed in the lowest bits, like other sizes. This means that code
  performing the SD command CRC will now need to use `(crc << 1) | 1`,
  rather than `crc | 1`.
2019-11-13 14:31:49 +02:00
Kevin Bracey 1f94428a56 Update HAL CRC API
* Change "is supported" check to be a macro, so it can be done at
  compile-time.
* Eliminate weird shift on 7-bit CRCs.
* Add support for 32-bit CRCs and reversals to TMPM3HQ.
2019-11-13 14:31:49 +02:00
Chun-Chieh Li aae04b2516 Nuvoton: Remove TRNG support
These targets below just support PRNG, not real TRNG. They cannot annouce TRNG.

-   NUMAKER_PFM_NUC472
-   NUMAKER_PFM_M487
-   NUMAKER_IOT_M487

On targets without TRNG, to run mbedtls applications which require entropy source,
there are two alternatives to TRNG:

-   Custom entropy source:
    Define MBEDTLS_ENTROPY_HARDWARE_ALT and provide custom mbedtls_hardware_poll(...)
-   NV seed:
    1.  Define MBEDTLS_ENTROPY_NV_SEED
    2.  Define MBEDTLS_PLATFORM_NV_SEED_READ_MACRO/MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO and provide custom mbedtls_nv_seed_read(...)/mbedtls_nv_seed_write(...).
    3.  Don't define MBEDTLS_PSA_INJECT_ENTROPY. Meet mbedtls_psa_inject_entropy(...) undefined and then provide custom one, which must be compatible with mbedtls_nv_seed_read(...)/mbedtls_nv_seed_write(...) above.
    4.  For development, simulating partial provision process, inject entropy seed via mbedtls_psa_inject_entropy(...) pre-main.
2019-11-13 18:01:24 +08:00
Martin Kojtal f1848f9e6d
Merge pull request #11828 from 0xc0170/fix_11652
MCU_LPC11U35_501: fix MCU inheritance
2019-11-13 11:00:15 +01:00
Antti Kauppila 8aac93a593 ATHandler build warning fixed 2019-11-13 09:38:02 +02:00