Commit Graph

381 Commits (134c39cb7e8279653394da7478217b779fc2050a)

Author SHA1 Message Date
Moshe Shahar ca39f9588a fix incorrect condition 2020-11-12 17:20:08 +02:00
Moshe Shahar 157788e6a0 fix #error condition and message to include interrupts and flash config 2020-11-12 17:14:23 +02:00
Moshe Shahar e70ee75a6e K64F, K66F - Remove flash_config area if MBED_APP_START isn't zero
This will also fix GCC_ARM non-contiguous FW:
Issue: https://github.com/ARMmbed/mbed-os/issues/13831
2020-11-12 17:14:22 +02:00
Hugues Kamba 794e32df74 CMake: Use relative paths to list source files and directories
The absolute path is still required for listing linker
files as they are referenced from a function in the top
level CMake input source file.
2020-11-09 12:32:30 +00:00
Rajkumar Kanagaraj e7c0d93ad4 CMake: add mbed-os and mbed-baremetal targets
mbed-os consists of mbed-core and mbed-rtos
mbed-baremetal consists of mbed-core

The main change is for mbed-core. Changing from object library to be interface. This way it allows us to do the above to have 2 main targets for users to use.

This should be backward compatible change as mbed-os target we used contains the same files/options as previously set.
2020-11-06 17:25:22 +00:00
Hugues Kamba bf84a5b329 CMake: Rename CMake targets
* mbed-os renamed mbed-core
* mbed-os-<COMPONENT> renamed mbed-<COMPONENT>
2020-11-06 17:25:22 +00:00
Rajkumar Kanagaraj 8016a53400 CMake: replace usage of the mbed_add_cmake_directory_if_labels() function (#13754)
Directories that start with special prefixes (TARGET_, FEATURE_, COMPONENT_)  are added to the build based on Mbed target configuration from targets.json instead of calling utility function mbed_add_cmake_directory_if_labels().
2020-11-06 17:25:21 +00:00
Hugues Kamba 3ab8179b1e CMake: Add support for K66F 2020-11-06 17:25:20 +00:00
Hugues Kamba 8b21238e08 CMake: Fix failure due to events and netsocket dirs changes 2020-11-06 17:25:17 +00:00
Hugues Kamba 70d92298b8 CMake: Add support for K64F target 2020-11-06 17:25:15 +00:00
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 e117ef5c3c use descriptive variable names 2020-09-08 10:54:09 +02:00
talorion b03d80fd08 pwmout - fixed compile errors 2020-09-02 13:39:17 +02:00
talorion 659bd2098d pwmout - K64F - add read methods for period and pulsewidth 2020-09-02 13:39:11 +02:00
talorion 009191ea6b pwmout - K22F - add read methods for period and pulsewidth 2020-09-02 13:39:10 +02:00
talorion 8aab37c721 pwmout - KW41Z - add read methods for period and pulsewidth 2020-09-02 13:39:10 +02:00
talorion cbe9129dca pwmout - KL43Z - add read methods for period and pulsewidth 2020-09-02 13:39:10 +02:00
talorion ac648170a4 pwmout - KL27Z - add read methods for period and pulsewidth 2020-09-02 13:39:10 +02:00
talorion 32bcd62e76 pwmout - K82F - add read methods for period and pulsewidth 2020-09-02 13:39:09 +02:00
talorion 8c2c7bddb8 pwmout - K66F - add read methods for period and pulsewidth 2020-09-02 13:39:09 +02:00
talorion 5763b3a136 pwmout - KLXX - add read methods for period and pulsewidth 2020-09-02 13:39:09 +02:00
talorion 091e40ee04 pwmout - K20XX - add read methods for period and pulsewidth 2020-09-02 13:39:09 +02:00
Martin Kojtal a34dfea24e kinetis: fix headers for usbphy 2020-08-21 15:03:27 +01:00
Martin Kojtal 78a3785423
USBPhyHw: remove mbed.h inclusion
Remove user facing header file, it should not be included within a library. The header itself does not need anything from Mbed.

It could possibly fail if targets which implement usb are not including what is required for their implementation.
2020-08-18 15:36:24 +01:00
Martin Kojtal 41995a7427 nxp: fix vector redefinition from CMSIS
Since 5.7 CMSIS update to Mbed OS, __VECTOR_TABLE is defined in cmsis_gcc header
file. Many MCU in NXP uses this symbol as linker definition, therefore we should
check if already defined and undefined it.

Fixes #13062
2020-06-04 09:10:08 +01:00
Marcelo Salazar 81a92e3cb5 Re-enable K82F target 2020-04-30 09:56:37 +01:00
Marcelo Salazar 7925a468a9 Remove KL05Z target 2020-04-30 09:56:36 +01:00
Marcelo Salazar 470293c2e8 Remove MTS_GAMBIT target 2020-04-30 09:56:36 +01:00
MarceloSalazar f21759bc35 Remove TEENSY3_1 target 2020-04-30 09:56:35 +01:00
MarceloSalazar e24a9f5d95 Remove KW24D target 2020-04-30 09:56:34 +01:00
MarceloSalazar 646bce0523 Remove K24F target 2020-04-30 09:56:34 +01:00
MarceloSalazar 3fa7f03508 Remove RAPIDIOT targets 2020-04-30 09:56:33 +01:00
MarceloSalazar a58de82a7f Remove KL82Z target 2020-04-30 09:56:33 +01:00
MarceloSalazar 5d63b0f5a0 Remove K20D50M target 2020-04-30 09:56:33 +01:00
MarceloSalazar 47a439c596 Remove KL26Z target 2020-04-30 09:56:33 +01:00
MarceloSalazar 4f3a621569 Remove TEENSY3_1 target 2020-04-20 16:55:34 +01:00
MarceloSalazar 31d0986816 Remove UBRIDGE target 2020-04-20 16:55:34 +01:00
MarceloSalazar e4973ee148 Remove USENSE target 2020-04-20 16:55:34 +01: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
heejungPark 7cb2344f42
Update PeripheralPinMaps.h
Add SPDX identifier
2020-04-02 20:08:42 +09:00
heejungPark e87e2f4770 Change files in TARGET_SDT64B 2020-04-02 11:36:34 +09:00
Martin Kojtal 22f3bc4ae7
Merge pull request #12436 from mprse/fpga_remove_gpio_pinmaps
Remove GPIO pin-maps used for FPGA testing
2020-03-04 13:24:05 +00:00
Martin Kojtal bad9c57085
Merge pull request #12460 from mprse/spi_init_nc_fix
Allow MISO/MOSI set to NC during SPI initialisation (fix for issue #12435)
2020-03-03 09:56:47 +00: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 d36f2aacb2 KW24D, KW41Z: Remove GPIO pin-maps (use restricted GPIO pins if needed) 2020-02-24 14:56:54 +01:00
Martin Kojtal dc733d8883
Merge pull request #12477 from fkjagodzinski/hal-gpio-get_capabilities
HAL: Add a get_capabilities() function to GPIO API
2020-02-24 07:47:39 +00:00