Commit Graph

7732 Commits (feature-nrf52-low-power-ble)

Author SHA1 Message Date
Martin Kojtal 331cebe5eb
Merge pull request #14133 from hugueskamba/hk_heap_size_fix_stm
STM: Fix heap size formula in scatter files
2021-01-11 13:38:37 +00:00
Ahmet Alincak 1fd7de0eee Update header file to include SPDX identifier 2021-01-11 15:04:55 +03:00
Ahmet Alincak c63a9b7ff8 Maxim targets; Add USB stack implementation 2021-01-11 15:04:48 +03:00
Martin Kojtal c79ccf1fb7
Merge pull request #14134 from hugueskamba/hk_heap_size_fix_gigadevice
GigaDevice: Fix heap size formula in scatter files
2021-01-11 11:47:58 +00:00
Martin Kojtal 4ea4058e18
Merge pull request #14083 from MaximIntegrated/max32630fthr-add-sleep-feature
Add SLEEP/DEEPSLEEP support for MAX32630FTHR
2021-01-11 11:46:47 +00:00
Martin Kojtal d3d02eb7e6
Merge pull request #14129 from hugueskamba/hk_heap_size_fix_silabs
EFM32GG: Fix heap size formula in scatter files
2021-01-11 11:46:22 +00:00
Martin Kojtal 4c25b88287
Merge pull request #14135 from hugueskamba/hk_heap_size_fix_nxp
NXP: Fix heap size formula in scatter files
2021-01-11 11:42:45 +00:00
Martin Kojtal b7c639580f
Merge pull request #14066 from jeromecoutant/DEV_F2
STM32F2 update drivers version to CUBE V1.9.2
2021-01-11 11:27:09 +00:00
Hugues Kamba 96dbb42024 MUSCA_B1: 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:35:33 +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 4780dd55e5 NRF52840: 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:32:46 +00:00
Hugues Kamba 0cef209182 GigaDevice: 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:30:44 +00:00
Hugues Kamba 1ca4b1a34f NXP: 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:29:03 +00:00
Hugues Kamba a3fccf7d21 STM: 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:18:40 +00:00
Ahmet Alincak 819d3fc9e0 Add bare-metal support for MAXIM targets 2021-01-07 09:13:14 +03:00
Ahmet Alincak 0a036b3c2a Add SLEEP/DEEPSLEEP support for MAX32630FTHR 2021-01-07 09:03:12 +03:00
Dustin Crossman 82c98618cd Ran astyle for mbed code format. 2021-01-05 13:51:52 -08:00
Dustin Crossman 782b23d626 Addressing review feedback. 2021-01-05 13:50:30 -08:00
Dustin Crossman b0b07477fd Add missing includes. 2021-01-05 12:54:56 -08:00
Dustin Crossman f3caf6a805 Add back nvram image for CYTFM board.
Add label so nvram image is found for 064B0S2 board.
2021-01-05 10:43:57 -08:00
Martin Kojtal d0cd5fa5f1
Merge pull request #13826 from arduino/portenta-mainline
Add Arduino Portenta H7 as target
2021-01-05 15:49:44 +00:00
Martin Kojtal 6e81af259c
Merge pull request #14068 from rvasquez6089/master
Enabled USBDevice in targets.json for H743ZI2
2021-01-05 14:51:03 +00:00
Martino Facchin 62b6cc9a05 cmake: STM32H7: enable PORTENTA* target 2021-01-05 14:49:37 +01:00
jeromecoutant d689e90917 STM32: RESET GPIO during init is configurable
Default value is disabled
2021-01-05 13:56:07 +01:00
Harrison Mutai f8805df55b CMake: add cmake support for Toshiba targets 2021-01-05 09:20:41 +00:00
Martino Facchin 26f758d83c cmake: STM32H7: fix stm32h747 targets
This needs to be defined for "final" targets not contained in their processor subdirectory
2021-01-04 18:04:03 +01:00
Martin Kojtal d6d4fefe29
Merge pull request #14045 from harmut01/port_nordic_targets
CMake: add support for Nordic targets
2021-01-04 09:26:40 +01:00
Martin Kojtal 9e5e245abc
Merge pull request #14036 from ahmetalincak/maxim-max32630fthr-SD-configuration
Add SD component and Update SD card SPI interface for Maxim's MAX32630FTHR
2020-12-18 15:11:09 +00:00
Harrison Mutai 7cb2407446 CMake: add support for Nordic targets 2020-12-18 10:53:57 +00:00
Martin Kojtal 643233ed16
Merge pull request #14029 from arduino/can_h7_wrong_frequency
STM32H7: FDCAN: use PLL1Q frequency for calculations
2020-12-18 09:21:38 +00:00
Ryan Vasquez b7284c94af Enabled USBDEVICE in targets.json for H743ZI2 2020-12-17 11:29:11 -06:00
Dustin Crossman 7a0e0d05d6 Fix mode of changed files. 2020-12-17 09:07:43 -08:00
Ryan Vasquez 795362dde2 Enabled USBDevice in targets.json for H743ZI2 2020-12-17 11:03:04 -06:00
Martin Kojtal d2bf235d41
Merge pull request #14035 from harmut01/remove_rz_targets
Remove unsupported Renesas target include files
2020-12-17 15:37:35 +00:00
Martin Kojtal 24501dffd3
Merge pull request #14042 from hugueskamba/hk_cmake_ambiq_micro_support
CMake: Add support for all Ambiq Micro Mbed targets
2020-12-17 15:07:43 +00:00
Martin Kojtal 89bd565582
Merge pull request #13976 from LDong-Arm/cypress_sleep_debug_rework
PSoC 6: rework sleep overrides by Cypress's debug macro
2020-12-17 14:22:44 +00:00
Martin Kojtal 8196045f20
Merge pull request #14047 from harmut01/clean_nordic_targets
Remove unsupported Nordic SoftDevice build support
2020-12-17 12:59:47 +00:00
Martin Kojtal f5ef511c31
Merge pull request #14050 from evva-sfw/fix_qspif_erase
fix QSPI-API for NRF52
2020-12-17 12:52:32 +00:00
Wenn0101 2e144e83e2 update startup gcc to add back weak definitions and have HciDrvRadioBoot call NVIC_SetVector 2020-12-17 11:21:22 +00:00
Hugues Kamba 94f74b40db Ambiq_Micro: 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
#13474 for more information.
2020-12-17 11:13:42 +00:00
Hugues Kamba fc4e43557d CMake: Add support Ambiq targets 2020-12-17 11:13:42 +00:00
Martin Kojtal 94cc37b380
Merge pull request #14027 from hugueskamba/hk_cmake_fix_analog_devices_support
CMake: Fix Analog Devices targets support
2020-12-17 10:28:42 +00:00
Matthew Macovsky 8c60ce3e32 Create non-public target for Cypress boards with externally-stored WiFi firmware
Targets that inherit from this target will have the defines necessary to
place the WiFi firmware in external storage and enable use of the
external WiFi firmware reserved region block device.
Currently, the only target inheriting from this new target is
CY8CPROTO-062S3-4343W.
2020-12-16 15:31:05 -08:00
Matthew Macovsky fc702737ce Create canonical CyReservedRegionBlockDevice for working with/around Cypress WiFi firmware in external memory
This change allows external memory to be used for other purposes while
the WiFi firmware is stored in it by interacting with it via the
reserved region block device.
2020-12-16 15:31:00 -08:00
Matthew Macovsky 95a85a52e8 Create block device for working around a reserved region
Given an underlying block device and the size of the reserved region, a
CyReservedRegionBlockDevice will act as the underlying block device but
operating only outside of the reserved region. It also allows reading
from the reserved region. The reserved region is assumed to start at
address 0 in the underlying block device.
2020-12-16 15:30:55 -08:00
Matthew Macovsky 71d6f8446c Change Cypress linker script region name from .cy_xip to cy_xip
In some toolchains, in order to use linker symbols referring to the
start and end of a region, the region name must not contain a '.'
character. These changes allow those symbols to be used for the cy_xip
region by renaming it. They also create explicit start and end symbols
for GCC.
2020-12-16 15:30:50 -08:00
Dustin Crossman 202a979a61 Update Cypress udb-sdio-whd to 1.1.1 2020-12-16 15:14:10 -08:00
Dustin Crossman d3e940d64f Fixup ticker api due to cyhal_timer_t changes. 2020-12-16 15:14:10 -08:00
Dustin Crossman 6c764eb149 Add component defines for psoc6 boards. 2020-12-16 15:14:10 -08:00
Dustin Crossman 482a7f1234 Update Cypress abstraction-resource asset to 1.0.0.17634 2020-12-16 15:14:10 -08:00
Dustin Crossman 19e1b7e199 Update Cypress abstraction-rtos asset to 1.3.0.17634 2020-12-16 15:14:10 -08:00
Dustin Crossman 1f36bacb49 Update Cypress core-lib asset to 1.1.4.17634 2020-12-16 15:14:10 -08:00
Dustin Crossman 1b19534662 Update Cypress psoc6hal asset to 1.4.0.17634 2020-12-16 15:14:10 -08:00
Dustin Crossman 4ef34ccdb7 Update Cypress psoc6pdl asset to 2.0.0.6211 2020-12-16 15:14:10 -08:00
Dustin Crossman 5a3af0039f Update Cypress serial flash asset to 1.0.2.17634 2020-12-16 15:14:06 -08:00
Dustin Crossman ee7c7bda37 Update Cypress WHD asset to 1.1.0.19214 2020-12-16 15:14:06 -08:00
Dustin Crossman 9cd6dcabdc Update Cypress udb-sdio-whd to 1.1.0.19214 2020-12-16 15:14:05 -08:00
jeromecoutant c4ccccedf5 STM32F2: ST CUBE drivers update V1.6.0 => V1.9.2 2020-12-15 18:06:21 +01:00
jeromecoutant b9a61de109 STM32F2: alignment with other families 2020-12-15 18:06:20 +01:00
jeromecoutant f449a61da6 STM32F2: directory restructuration
Only files move and targets.json updated accordingly
2020-12-15 18:06:20 +01:00
phst ec6e865607 fix QSPI-API for NRF52 2020-12-15 17:03:34 +01:00
Harrison Mutai 1e96afbe6e Remove unsupported common SoftDevice build support 2020-12-15 12:25:07 +00:00
Harrison Mutai 8ddef46e90 Remove unsupported S140 SoftDevice build support (MBR,OTA,FULL) 2020-12-15 12:25:07 +00:00
Harrison Mutai 3879b7ca31 Remove unsupported S132 SoftDevice build support (MBR,OTA,FULL) 2020-12-15 12:25:07 +00:00
Harrison Mutai 5243adcb8c Remove unsupported S112 SoftDevice build support 2020-12-15 12:24:17 +00:00
Ahmet Alincak b04e7a18c7 Add SD component and Update SD card SPI interface
To support MAX32630FTHR SD card interface implicitly,
target and SD component configurations updated.
2020-12-11 23:51:09 +03:00
Harrison Mutai 65b7950202 Remove unsupported Renesas target include files
MBED_MBRZA1LU, MBED_MBRZA1H, and MBED_MBRZA2M are no longer supported by
Renesas.
2020-12-11 17:13:44 +00:00
Harrison Mutai e8614b341b CMake: Port Renesas targets to CMake
Add targets subdirectory to high level CMake configuration file and
create new configurations for MCUs and individual targets. Change the
interpreter in the ARM scatter file to armclang, which is required for
CMake. Remove private and public interfaces in emac target
configuration. Ensure that all targets build on the arm gcc compiler and
arm compiler.
2020-12-11 16:52:18 +00:00
Martino Facchin 04ac8a08b3 STM32H7: FDCAN: use PLL1Q frequency for calculations 2020-12-11 14:10:06 +01:00
Hugues Kamba 99c92b5005 CMake: Fix Analog Devices targets support
* Fix CMake syntax errors
* Fix indentation
* List directories and source files in alpahabetical order with spaces between files located in different directories
* Create STARTUP_FILE variable as done for all other targets
2020-12-11 11:06:46 +00:00
Martino Facchin eaa3b0f285 PORTENTA_H7: use default linker/startup scripts 2020-12-11 10:11:55 +01:00
Martino Facchin 5b91a00da3 STM32H747_CM4: add RAM_D3 memory section 2020-12-11 10:11:55 +01:00
Martino Facchin a7a6f2a2c5 [Portenta] Add Cmake rules
Completes #13915
2020-12-11 10:11:54 +01:00
Martino Facchin 84790a038a Add SPDX-License 2020-12-11 10:11:54 +01:00
Martino Facchin 7765f39ca3 Fix missing licenses for Arduino original code 2020-12-11 10:11:54 +01:00
pennam f665f1d391 Portenta: enable ETH power supply 2020-12-11 10:11:53 +01:00
Martino Facchin 7e2acee49a PortentaH7: add Ethernet support 2020-12-11 10:11:53 +01:00
Martino Facchin 3d2d683dee Add Arduino Portenta H7 target 2020-12-11 10:11:53 +01:00
Martino Facchin be2201393c STM32H7: dual core: handle interrupts on CM4 2020-12-11 10:11:52 +01:00
Martino Facchin 3084d15821 STM32H7: DualCore: allow no forced CM4 boot 2020-12-11 10:11:52 +01:00
Martino Facchin c2aa453387 STM32: QSPI: allow setting SAMPLE_SHIFTING mode 2020-12-11 10:11:51 +01:00
Martino Facchin ae35c887f3 STM32H747xI: allow overriding SetSysClock 2020-12-11 10:11:51 +01:00
Martino Facchin f2a01f2ba0 STM32: USBPhy: enable HS clock sleep 2020-12-11 10:11:51 +01:00
Martin Kojtal 86ee3003e7
Merge pull request #14024 from 0xc0170/dev_cmake_targets
CMake: add Samsungs, Analog devices and WICED targets
2020-12-11 07:52:19 +00:00
Martin Kojtal 6a83bc096f CMake: fix targets missing ) 2020-12-10 15:56:45 +00:00
Martin Kojtal eef57d3a0f Samsung: remove todo from CMake
tracked here https://github.com/ARMmbed/mbed-os/issues/14025
2020-12-10 14:12:47 +00:00
Martin Kojtal e7315e881e ADUCM3029: remove flag that is already set in core CMake 2020-12-10 13:58:12 +00:00
Martin Kojtal bd3f13c937
Merge pull request #13969 from hugueskamba/hk_remove_MAXIM_support
Maxim: Remove support for some Maxim targets
2020-12-10 13:49:32 +00:00
Martin Kojtal 7c70a0c494 Merge branch 'port_analog_devices' of https://github.com/harmut01/mbed-os into dev_cmake_targets 2020-12-10 13:40:38 +00:00
Martin Kojtal a1ec4ed198 Merge branch 'hk_cmake_add_samsung' of https://github.com/hugueskamba/mbed-os into dev_cmake_targets 2020-12-10 13:36:18 +00:00
Martin Kojtal ae74aa6acd Merge branch 'hk_cmake_wiced_suppport' of https://github.com/hugueskamba/mbed-os into hugueskamba-hk_cmake_wiced_suppport 2020-12-10 13:32:20 +00:00
kylejansen 06d8d6aaff
Added new line at EoF. 2020-12-10 12:48:38 +00:00
kylejansen 2546f5da7e
Fixed alignment. 2020-12-10 12:48:23 +00:00
Harrison Mutai e3cee85350 Update interpreter program used in ARM scatter file
Change interpreter program from armcc to armclang. Pass it different
optional arguments: specify the target compiler and core core type.
2020-12-10 12:35:26 +00:00
Harrison Mutai 6b0fceb2ff Add CMake support for all Renesas targets
Add configuration files for targets and individual MCUs. Add include
paths and sources to mbed-core link library and specify linker and
startup scripts.
2020-12-10 12:33:03 +00:00
Kyle Jansen 8355d802cb Fixed indent 2020-12-10 11:58:07 +00:00
Kyle Jansen 9d1fbf1515 Adding QSPI support to SDP-K1 board support package
Added QSPI support to SDP-K1 BSP. Previous addition wasn't pulled into master.
2020-12-10 11:53:50 +00:00
Hugues Kamba cf23ba5388 CMake: Add support for TARGET_MCUXpresso_MCUS targets
All TARGET_MCUXpresso_MCUS targets supported by Mbed OS
can now be built with CMake.
2020-12-10 11:29:08 +00:00
Hugues Kamba 72d0fb9cc6 CMake: Add support for LPC176X targets
All LPC176X targets supported by Mbed OS
can now be built with CMake.
2020-12-10 11:28:08 +00:00
Hugues Kamba 4acc57c2f4 CMake: Add support for LPC11XX_11CXX targets
All LPC11XX_11CXX targets supported by Mbed OS
can now be built with CMake.
2020-12-10 11:27:27 +00:00