Commit Graph

28351 Commits (4da93bf9796a16e2731e81c22c7d02b6ee2a2efd)

Author SHA1 Message Date
Chun-Chieh Li a0a1c4d52c [M2351] Override NS interface by locking kernel scheduler
Lock kernel scheduler rather than mutex to guarantee serialization of NS
secure calls
2020-01-06 15:55:01 +08:00
ccli8 dec84ede7e [M2351] Enforce locked entry into TFM for platform-specific NSC calls
On M2351, some spaces like SYS/CLK are hard-wired to secure and cannot change.
To access these spaces from non-secure world, we must provide platform-specific NSC
functions. With TFM introduced, we must synchronize NSC calls into TFM to keep TFM
in sync instead of straight NSC calls. To achieve this goal, we go with the following
approach:

1. Like PSA APIs, enforce locked entry through tfm_ns_lock_dispatch().
2. Run platform-specific secure functions in default secure partition, in which SYS/CLK
   spaces have been configured to be accessible.
2020-01-06 15:55:00 +08:00
ccli8 ad80ed17fc [M2351] Change default stdio-baud-rate to 115200 2020-01-06 15:55:00 +08:00
ccli8 41d95ef2fb [M2351] Support TFM level 1 2020-01-06 15:55:00 +08:00
ccli8 76a029e88d [M2351] Support initializing multiple .data/.bss sections with GCC_ARM 2020-01-06 15:54:59 +08:00
ccli8 db11eef0bc [M2351] Remove draft uvisor code with GCC_ARM
uVisor is deprecated since mbed-os 5.10, so remove related code with it.
2020-01-06 15:54:59 +08:00
ccli8 1aca8a5b56 [M2351] Make exported NSC symbols consistent across toolchains
This idea comes from TFM.
2020-01-06 15:54:59 +08:00
Chun-Chieh Li 85dfc1a971 TFM: Change NS lock functions to weak
Default NS lock functions use mutex to guarantee serialization into secure world.
But this mechanism doesn't support pre-rtos and interrupt-disabled.
This commit changes these functions to weak so that platform can override them to provide another mechanism.
This approach is just what TF-M repository is adopting.

https://review.trustedfirmware.org/c/trusted-firmware-m/+/1460
2020-01-06 15:46:09 +08:00
Dustin Crossman dbedc86c06 Removed hardcoded CY8CPROTO_062_4343W bt baudrate limit. 2020-01-03 16:46:00 -08:00
Rajkumar Kanagaraj 504ef7e7e1 Incorporated the review comment 2020-01-03 10:13:39 -08:00
Rajkumar Kanagaraj e5c6254372 Greentea test :Added the print in the exception handler 2020-01-03 09:36:26 -08:00
Qinghao Shi d047b28242 TOOLS: add some inline comments 2020-01-03 17:26:11 +00:00
Juha Heiskanen b71d5edd38 Nanostack Socket event handler fix
SOCKET_TX_DONE not generate event signal anymore for SOCKET_MODE_DATAGRAM.
Event handler try to read socket which is not necessary in that case.
2020-01-03 18:24:12 +02:00
Filip Jagodzinski a958199594 TOSHIBA: Add hal_reset_reason_get_capabilities()
Override the default, weak implementation of
hal_reset_reason_get_capabilities() for TMPM066, TMPM3H6, TMPM3HQ,
TMPM46B & TMPM4G9.
2020-01-03 16:54:19 +01:00
Martin Kojtal 078f71d72a nuvoton: remove dsp math from bitutil file 2020-01-03 15:25:02 +00:00
Martin Kojtal 7fd637b66b
Merge pull request #12095 from NXPmicro/Update_MXRT_SDK6
Update MXRT1050 to SDK 6.0
2020-01-03 15:22:13 +00:00
Hugues Kamba 6afca2460e NRF5x: Fix baremetal linker error
DEBUG_NRF_USER gets defined for build profiles (develop, debug)
which do not define NDEBUG (see nrf_assert.h). Therefore the definition
of the function should also be visible if DEBUG_NRF_USER is defined.
2020-01-03 15:14:09 +00:00
Veijo Pesonen 9763ad3b2d DataFlashBlockDevice: Makes default configuration to use mbed_lib.json settings
DataFlashBlockDevice parameters come from mbed_lib.json if not provided
explicitly.
2020-01-03 15:31:01 +02:00
Veijo Pesonen 67676dc123 SPIFReducedBlockDevice: Makes default configuration to use mbed_lib.json settings
SPIFReducedBlockDevice parameters come from mbed_lib.json if not provided
explicitly.

Introduced an app config file for running filesystem tests with RSPIF
block device
2020-01-03 15:30:13 +02:00
Veijo Pesonen 23f87877a1 SPIFBlockDevice: Makes default configuration to use mbed_lib.json settings
SPIFBlockDevice parameters come from mbed_lib.json if not provided
explicitly.

Introduced an app config file for running filesystem tests with SPIF
modules
2020-01-03 15:28:41 +02:00
Veijo Pesonen 3be2b8bf12 QSPIFBlockDevice: Makes default configuration to use mbed_lib.json settings
QSPIFBlockDevice parameters come from mbed_lib.json if not provided
explicitly.

Introduced an app config file for running filesystem tests with QSPIF
modules
2020-01-03 15:25:40 +02:00
Veijo Pesonen 803ae3444d SDBlockDevice: Makes default configuration to use mbed_lib.json settings
SDBlockDevice parameters come from mbed_lib.json if not provided
explicitly.

Introduced an app config file for running filesystem tests.
2020-01-03 15:25:40 +02:00
Martin Kojtal 83101170a3
Merge pull request #12167 from dustin-crossman/pr/cypress_target_update
Update Cypress Targets and Assets
2020-01-03 13:15:28 +00:00
Przemyslaw Stekiel 79d16ae8f7 STM serial init: Set pin function only if pin is defined (not NC) 2020-01-03 14:14:26 +01:00
cyliangtw 115520a7b8 Add SPDX identifiers in Nuvoton USBD files 2020-01-03 20:40:47 +08:00
cyliangtw eab8555fc8 Support NUC472 with USB 2.0 only and set M487 USB1.1 in default 2020-01-03 20:40:46 +08:00
cyliangtw 4cddc5de25 Add M453 USBD 2020-01-03 20:40:45 +08:00
cyliangtw 6612ee8460 Set NANO130 CLK as 48 MHz for USBD support 2020-01-03 20:40:44 +08:00
cyliangtw abf3eeed64 Support NuMaker M453, NUC472, M2351 & M263 USBD; also support M0 usb-isr non-recloate vector limit 2020-01-03 20:40:43 +08:00
cyliangtw a5aaabff5d NANO130 add extern C into nano100_usbd.h for C++ caller 2020-01-03 20:40:42 +08:00
cyliangtw 93fbef2cde Refine M487 USBD code and build M263A successfully 2020-01-03 20:40:41 +08:00
cyliangtw 9b721bf327 Support M487 USBD 1.1 & 2.0 2020-01-03 20:40:39 +08:00
cyliangtw dc55d741c0 Adjust _rx_in_progress=true in USBCDC.cpp for USB DMA auto-receive chip 2020-01-03 20:40:39 +08:00
cyliangtw 84882f773e M487: Fixed USBD serial input pending issue 2020-01-03 20:40:37 +08:00
cyliangtw b34fd309e3 M487: Support USBD 2020-01-03 20:40:36 +08:00
Martin Kojtal 88ae99ffca LPC55S6: remove cmsis powerquad
This file requires CMSIS library (DSP).
2020-01-03 12:30:54 +00:00
Martin Kojtal 5a985a7da5 cmsis: remove arm math
Fixes #12054

Not needed file, should be part of DSP. The functionality is part of the library provided
by CMSIS.
2020-01-03 12:25:39 +00:00
Martin Kojtal 0dbf34bf06
Merge pull request #12123 from kivaisan/refactor_variable_visibilities
Cellular: Refactor cellular variable visibilities
2020-01-03 12:11:52 +00:00
Martin Kojtal 7090448577
Merge pull request #12182 from fkjagodzinski/test_update-watchdog_teardown
Update watchdog tests to run with bare metal profile
2020-01-03 12:07:48 +00:00
Martin Kojtal fc2a71064d
Merge pull request #12068 from rajkan01/feature_bare_metal
Enabling small C library option and deprecating uARM toolchain
2020-01-03 11:35:48 +00:00
Martin Kojtal 4feca5942a
Merge pull request #12178 from tymoteuszblochmobica/lpctls
Fixes for LPC55S69_NS TLS tests
2020-01-03 11:29:49 +00:00
Filip Jagodzinski ffd8d70a55 K64F: Add hal_reset_reason_get_capabilities() 2020-01-03 12:11:45 +01:00
Filip Jagodzinski 0b8baa568d Tests: ResetReason: Use the get_capabilities()
Make use of the new hal_reset_reason_get_capabilities() function to skip
unsupported reset resaons during tests.
2020-01-03 12:11:45 +01:00
Filip Jagodzinski 57420fc2f5 HAL: ResetReason: Add the get_capabilities function
Add the hal_reset_reason_get_capabilities() to ResetReason HAL API.
Add a default, weak implementation, that every target can override.
2020-01-03 12:11:44 +01:00
Rajkumar Kanagaraj 952330721d Bare metal:Enabling the watchdog green tea test 2020-01-03 11:07:49 +01:00
paul-szczepanek-arm e16889d694 set pointer to null on delete 2020-01-03 09:00:59 +00:00
Qinghao Shi e957b4f0e0 remove BLE from feature key 2020-01-02 18:48:48 +00:00
Dustin Crossman f53e10e330 Update psoc6pdl to version 1.4.0 2020-01-02 10:04:45 -08:00
Dustin Crossman 6ef5fb19bd Update abstraction rtos with improved documentation and utilities. 2020-01-02 10:02:18 -08:00
Dustin Crossman 7649d92131 Update psoc6 core_lib with additional documentation and bit manipulation
utilities.
2020-01-02 09:58:26 -08:00