Commit Graph

239 Commits (4767b7e1ac9b03fdd4212fb19fb3b3d31facb33f)

Author SHA1 Message Date
George Psimenos 61cfaa15cd Update UART pin names & add MBED_CONF_TARGET_STDIO_UART overrides 2021-03-23 11:17:17 +00:00
George Psimenos 885cdef5f7 Add standard pin-names validation script & tests 2021-03-18 17:01:53 +00:00
Harrison Mutai ee5946c990 Add bare metal support to EFM32 targets
Modify scatter files to add heap load region, and remove hard coded
values. Add supported c libs and bare metal profile to `targets.json`
configurations. Affects the following targets: EFM32GG_STK3700,
TB_SENSE_12, and EFM32GG11_STK3701.
2021-03-02 10:29:47 +00:00
Harrison Mutai 5b1c704622 Remove uARM dependencies for EFM32FF targets 2021-03-02 10:25:41 +00:00
Hugues Kamba 2c3481297c CMake: Create CMSIS library targets to remove dependency on MBED_TARGET_LABELS
This goes towards eventually removing reliance on targets.json to specify
the requirements of Mbed targets.
2021-02-19 13:39:32 +00:00
Hugues Kamba d960d8fb49 CMake: Refactor Silicon Laboratories targets
Refactor all Silicon Laboratories targets to be CMake buildsystem targets. This removes
the need for checking MBED_TARGET_LABELS repeatedly and allows us to be
more flexible in the way we include MBED_TARGET source in the build.

A side effect of this is it will allow us to support custom targets
without breaking the build for 'standard' targets, as we use CMake's
standard mechanism for adding build rules to the build system, rather
than implementing our own layer of logic to exclude files not needed for
the target being built. Using this approach, if an MBED_TARGET is not
linked to using `target_link_libraries` its source files will not be
added to the build. This means custom target source can be added to the
user's application CMakeLists.txt without polluting the build system
when trying to compile for a standard MBED_TARGET.
2021-02-12 15:39:18 +00:00
Hugues Kamba ad68c17096 EFM32GG: Fix heap size formula in scatter files
The heap size was incorrectly calculated.
This fixes it by subtracting the Stack size, any memory chunks allocated
before the start of the application (for vectors and/or crash report), and
finally the size of the application from the total RAM size.
2021-01-08 18:34:28 +00:00
Hugues Kamba 00ccec6ed2 CMake: Add support for SiLabs SL_RAIL 2020-12-09 15:29:59 +00:00
Hugues Kamba 42b948aa62 CMake: Add support for SiLabs EFR32MG12 targets 2020-12-09 15:29:59 +00:00
Hugues Kamba 02a70d286b CMake: Add support for SiLabs EFM32GG11 targets 2020-12-09 15:29:59 +00:00
Hugues Kamba 3865b0cb4e CMake: Add support for SiLabs EFM32GG targets 2020-12-09 15:29:58 +00:00
Martin Kojtal c62b8e5330
Merge pull request #13961 from hugueskamba/hk_remove_silabs_rail_EFR32_1
Silabs: Remove EFR32_1 rail files
2020-12-09 15:21:38 +00:00
petroborys e37aeb0c74 Workaround to fix RTC-reset issue on the EFM32GG11_STK3701 2020-11-30 18:53:01 +02:00
Hugues Kamba 3f182c59ee Silabs: Remove EFR32_1 rail files
Mbed OS 6 does not support Silicon Labs EFR32_1 rail
2020-11-25 13:17:02 +00:00
petroborys 41975a27ea Workaround to fix RTC-reset issue on the EFM32GG11_STK3701 2020-11-13 16:33:57 +02:00
petroborys 236748234e Workaround to fix RTC-reset issue on the EFM32GG11_STK3701 2020-11-13 14:32:47 +02: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 b1eedc0a7c fixed order of operations 2020-09-08 17:08:06 +02:00
talorion 0361627c33 fixed order of operations 2020-09-08 16:53:29 +02:00
amq 6da9237f6f
Fix a typo in PeripheralPins.c for EFM32GG11
- PF13 had the same value as PF15
2020-09-08 12:04:32 +00:00
talorion 067431e088 pwmout - EFM32 - add read methods for period and pulsewidth 2020-09-02 13:39:16 +02:00
Marcelo Salazar 4d8a720e21 Remove EFM32PG12 targets 2020-04-30 09:56:37 +01:00
MarceloSalazar 52581cdd0e Remove EFR32MG1_BRD4150 target 2020-04-30 09:56:35 +01:00
MarceloSalazar 1553868748 Remove TB_SENSE_1 target 2020-04-30 09:56:35 +01:00
MarceloSalazar 80aaa29e85 Remove efm32zg_stk3200 target 2020-04-30 09:56:35 +01:00
MarceloSalazar 851fd4c0a7 Remove efm32hg_stk3400 targets 2020-04-30 09:56:35 +01:00
MarceloSalazar e4b243b334 Remove efm32wg_stk3800 target 2020-04-30 09:56:35 +01:00
MarceloSalazar 0d46778392 Remove efm32lg_stk3600 target 2020-04-30 09:56:34 +01:00
MarceloSalazar 9276eb0cc3 Remove efm32pg_stk3401 target 2020-04-30 09:56:34 +01:00
Martin Kojtal 66bf7e85a6
Merge pull request #12547 from amq/update-emlib
EFM32: update emlib to 5.9.1
2020-04-01 14:19:10 +02:00
amq ef28b74802 EFM32: move __Vectors from header to source 2020-03-31 10:37:28 +02:00
Martin Kojtal f011ccb2cb
Merge pull request #12692 from petroborys/master
EFM32G11: Add RGB LEDs to PinNames.h
2020-03-26 09:08:53 +01:00
petroborys 3f6a48fcc8 Added RGB LEDs to PinNames.h 2020-03-24 21:05:07 +02:00
amq 0fdb9f237a EFM32: fix minor emlib changelog typos 2020-03-02 14:00:40 +01:00
amq 6f7b242ff5 EFM32: update emlib for EFR32MG12 2020-03-02 13:32:41 +01:00
amq 4c375046bc EFM32: update emlib for EFR32MG1 2020-03-02 13:32:41 +01:00
amq 0361bdea3f EFM32: update emlib for EFM32ZG 2020-03-02 13:32:41 +01:00
amq c68bcf806e EFM32: update emlib for EFM32WG 2020-03-02 13:32:40 +01:00
amq 4c230763db EFM32: update emlib for EFM32PG 2020-03-02 13:32:40 +01:00
amq 012682a244 EFM32: update emlib for EFM32LG 2020-03-02 13:32:40 +01:00
amq b3f13b8d4a EFM32: update emlib for EFM32HG 2020-03-02 13:32:39 +01:00
amq 39d5c86829 EFM32: update emlib for EFM32PG12 2020-02-27 22:32:39 +01:00
amq 5dfea97afc EFM32: update emlib for EFM32GG11 2020-02-27 22:31:57 +01:00
amq a1a55d8c5c EFM32: update emlib for EFM32GG 2020-02-27 22:31:16 +01:00
amq b81d585404 EFM32: update emlib src and inc 2020-02-27 22:16:06 +01:00
amq 9399887686 EFM32: update emlib changelog 2020-02-27 22:15:44 +01:00