Commit Graph

416 Commits (38f4507ff0834b70b533d1f7c973ba544316f633)

Author SHA1 Message Date
Harrison Mutai 4fad1112e5 Add SPDX license identifier to Arm files
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
Harrison Mutai d1d6bf51b3 Add license notice to Arm copyrighted source files
Scancode found missing license notices in our source files. This commit
addresses those issues by adding an Apache-2.0 notice to source files
highlighted.
2020-10-15 10:46:35 +01:00
Martin Kojtal 468372e759
Merge pull request #13492 from talorion/fix-PwmOut-resets-after-suspend
Fix pwm out resets after suspend
2020-09-10 12:40:18 +01:00
Jaeden Amero 612b148fd4 stack: armc: Workaround config passing bug
Workaround a bug where the boot stack size configuration option is not
passed on to armlink, the Arm Compiler's linker. Prefer
MBED_CONF_TARGET_BOOT_STACK_SIZE if present, as this is what the
configuration system should provide. Fall back to MBED_BOOT_STACK_SIZE
if MBED_CONF_TARGET_BOOT_STACK_SIZE is not defined, as in the case of
buggy tools. If both MBED_CONF_TARGET_BOOT_STACK_SIZE and
MBED_BOOT_STACK_SIZE are not defined, then we fall back to a hard-coded
value provided by the linkerscript. See
https://github.com/ARMmbed/mbed-os/issues/13474 for more information.
2020-09-10 10:08:38 +01:00
Jaeden Amero 39e69d328d Use boot stack size from config system
To allow overriding of the boot stack size from the Mbed configuration
system, consistently use MBED_CONF_TARGET_BOOT_STACK_SIZE rather than
MBED_BOOT_STACK_SIZE.

Fixes #10319
2020-09-10 10:08:38 +01:00
talorion b03d80fd08 pwmout - fixed compile errors 2020-09-02 13:39:17 +02:00
talorion 9f83ce1cc7 pwmout - IMX - add read methods for period and pulsewidth 2020-09-02 13:39:15 +02:00
talorion ea6e806a31 pwmout - LPC176X - add read methods for period and pulsewidth 2020-09-02 13:39:15 +02:00
talorion 7270f296d3 pwmout - LPC11XX_11CXX - add read methods for period and pulsewidth 2020-09-02 13:39:14 +02:00
talorion fabd906534 pwmout - LPC11U6X - add read methods for period and pulsewidth 2020-09-02 13:39:14 +02:00
vivek 8d1503b220 Fix: #13203: USB device: wait_us instead of ThisThread::sleep_for, delay given is 5us 2020-07-01 13:11:42 +05:30
Mahesh Mahadevan 469ada5a11 MIMXRT1050_EVK: Fix to linker script for non-cached region
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-06-17 11:04:35 -05:00
Mahesh Mahadevan 81a1193012 MIMXRT1050_EVK: Add USB support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-06-17 11:04:35 -05:00
Martin Kojtal 6cbe22dc59
Merge pull request #12623 from toyowata/baremetal_lpc1114
LPC1114: baremetal profile support
2020-05-15 13:17:52 +02:00
Martin Kojtal 8b777a571c TARGET_MIMXRT1050: fix vector table redef from cmsis
We need a linker script as it was. As files update in the future, should be compatible
with newer CMSIS core.
2020-05-13 13:24:56 +01:00
Martin Kojtal d04b4036a1 MIMXRT1050: undefine vector table symbol from CMSIS (not used) 2020-05-12 16:03:39 +01:00
toyowata 9cb039144a [LPC11XX] Disable interrupt in us_ticker_init 2020-05-12 10:07:34 +09:00
toyowata ab791ae01a LPC1114 - linker script & startup code improvement 2020-05-12 10:07:33 +09:00
toyowata d6779bb930 Support bare-metal build for NXP LPC1114 2020-05-12 10:07:33 +09:00
Marcelo Salazar 4083469d09 Remove Ublox targets 2020-05-06 16:39:29 +01:00
Marcelo Salazar 84b596db06 Fix pin config for LPC1768 2020-04-30 09:56:37 +01:00
Marcelo Salazar 81a92e3cb5 Re-enable K82F target 2020-04-30 09:56:37 +01:00
Marcelo Salazar d7d4589597 Remove SSCI824 config 2020-04-30 09:56:37 +01:00
MarceloSalazar a58de82a7f Remove KL82Z target 2020-04-30 09:56:33 +01:00
MarceloSalazar 16a40c9f9c Remove LPC4337 target 2020-04-30 09:56:33 +01:00
MarceloSalazar d2741c1075 Remove LPC8x targets 2020-04-30 09:56:33 +01:00
MarceloSalazar 3ed5491ae5 Remove LPC1549 target 2020-04-30 09:56:33 +01:00
MarceloSalazar d96a19ea1d Remove LPC4330 target 2020-04-30 09:56:32 +01:00
MarceloSalazar 143342fcfa Remove LPC810 target 2020-04-30 09:56:32 +01:00
MarceloSalazar de01b388e5 Remove XBED_LPC1768 target 2020-04-30 09:56:32 +01:00
MarceloSalazar 51c2484c06 Remove LPC1769 target 2020-04-30 09:56:32 +01:00
MarceloSalazar e98959c582 Remove LPC1347 target 2020-04-30 09:56:32 +01:00
MarceloSalazar b7a787d710 Remove LPC11C24 target 2020-04-30 09:56:32 +01:00
MarceloSalazar 5dcfe57c41 Remove LPC4088 based targets 2020-04-30 09:56:32 +01:00
Martin Kojtal a9cb876b39
Merge pull request #12737 from Patater/psa-breaking-changes
Remove PSA implementation for v8-M and dual CPU targets
2020-04-30 10:42:24 +02:00
Hugues Kamba 58c8d622bb ARCH_PRO: Remove uARM tooolchain support
* Update scatter file for the ARM toolchain to use 2 region memory model.
  The scatter file changes affect the following boards:
    * LPC1768, ARCH_PRO, UBLOX_C027, XBED_LPC1768 (LPC1768.sct)
* Remove the TOOLCHAIN_ARM_MICRO directory.
* Remove release_version as not necessary and as the target can also run
  Mbed OS 6.
* Remove uARM toolchain in the list of supported toolchains for the target.
* Indicate that the target supports the small ARM toolchain C library.
2020-04-28 01:30:30 +01:00
Devaraj Ranganna 493a043528 psa: Remove PSA targets not supported in TF-M
Mbed OS depends on TF-M to implement PSA. Any targets that need to
provide PSA must be supported by TF-M. The following targets are removed
from Mbed OS as they don't yet have TF-M support. We can re-add these
targets to Mbed OS when they have TF-M support in the official upstream
TF-M repository hosted at trustedfirmware.org.

These PSA targets no longer have a PSA implementation and are removed:
- LPC55S69
- LPC55S69_NS
- LPC55S69_S
- NU_PFM_M2351_NS
- NU_PFM_M2351_S
- HANI_IOT

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-27 09:43:01 +01:00
MarceloSalazar a3538f7047 Remove ELEKTOR_COCORICO target 2020-04-20 16:55:34 +01:00
MarceloSalazar d3223c9502 Remove LPC11u targets 2020-04-20 16:55:34 +01:00
MarceloSalazar 3db4746754 Remove OC_MBUINO target 2020-04-20 16:55:34 +01:00
Martin Kojtal 92f58096c5
Merge pull request #12711 from liugang-gavin/master
targets:MIMXRT1050: Add QSPI flash support
2020-04-15 09:18:28 +02:00
Yoshihiro TSUBOI 5114eb707b [Seeed] Removing unsupported targets for OS 6
Removing targets: Seeed Arch Link, Seeed Arch-RO359B, Seeed Arch BLE, Seeed Tiny BLE, Seeed Arch GPRS V2,Seeed Xadow M0
2020-04-13 18:30:32 +09:00
Rajkumar Kanagaraj 9739b565b2 Fix the CI build issue 2020-04-08 10:35:07 +01:00
Gavin Liu 288946a226 targets:MIMXRT1050: Update link file for application
For the application(firmware) booted by bootloader(OTA),
the image doesn't need the "flash_config" and "ivt" header.
So update the link file to support both kinds of application
(firmware) booted by bootROM and bootloader.

In default, the compilation will get the image with
"flash_config" and "ivt" header, for example the bootloader
compiling.

When compiling the OTA application image, please add the
line as below in the mbed_app.json file.

	"target.macros_add" : ["MBED_APP_COMPILE"]

This will remove the "flash_config" and "ivt" header in the
final image.

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:48:46 +08:00
Gavin Liu 1d1e69a4a2 targets:MIMXRT1050: Add QSPI Flash FLASHIAP support
Update the flash driver to support both Hyper Flash
and QSPI Flash.

In addition, the static function cannot be linked to
SRAM even defined by AT_QUICKACCESS_SECTION_CODE macro.
So remove all "static" modifier for the FLASHIAP
functions.

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:46:55 +08:00
Gavin Liu 2be0790c4a targets:TARGET_IMX: Fix the memset issue for FLASHIAP
The memset function from c library will be linked in flash
space, it's risk for FLASHIAP. So I wrote flexspi_memset
to replace the memset for IMX FLASHIAP, and put the function
into targets/.../TARGET_IMX/flash_api.c file. All IMX Soc
platforms can declare it as extern and use in their Soc
flexspi driver files.

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:41:34 +08:00
Gavin Liu f8a8401a13 targets:TARGET_IMX: Fix the flash init risk
The flash access may fail when implementing flash
initialization. So there is risk for interrupt handler
which linked in flash space.

Add the critical section to avoid the risk.

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:41:07 +08:00
Gavin Liu b53d40b269 targets:MIMXRT1050: Add QSPI Flash boot support
NXP MIMXRT1050 EVK can support Hyper Flash or QSPI Flash with
small hardware reworks. Modify the XIP file to support boot
from the two kinds of Flash device. The Hyper Flash should be
the default device and defined in tartgets.json with the macro
"HYPERFLASH_BOOT". To select the QSPI Flash, just remove the
macro with the below line in any overriding json file.
	"target.macros_remove" : ["HYPERFLASH_BOOT"]

Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:40:39 +08:00
Martin Kojtal 6e46e2ddd3
Merge pull request #12639 from rajkan01/ethernethal_remove_deprecated
Remove the deprecated ethernet hal APIs
2020-04-01 20:28:17 +02:00
mudassar-ublox bf65342d75 Added UBLOX modem api for power up modem UBLOX_C027 2020-03-30 17:01:09 +05:00