Tauno Magnusson
1389b1ac9d
Adding CMakeLists.txt files for NUCLEO_G431KB
2021-01-24 02:15:21 +01:00
Tauno Magnusson
0368cab27b
Add: Added STM32G4 series to LP USB list
2021-01-24 02:15:21 +01:00
Tauno Magnusson
d720792191
G431 only has 1 Flash Bank. Code is written with the assumption all G4 devices has 2 Flash Banks. Fix: Commented out SYSCFG_MEMRMP_FB_MODE since stm32g431KB only has 1 Flash Bank. flash_api.c checks for this #define and if it's set understands it as if the chip has 2 flash banks. STM32G4xx_HAL_Driver/stm32g4xx_hal.c also needs to check for this #define since it has flash bank swapping commands that are called in the startup sequence. Fix: Check for SYSCFG_MEMRMP_FB_MODE in Enable/Disable Flash bank swapping.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
98e48828b1
Fix: Added ALIGN(8) for __etext section. This existed in mbed-6.3.0 version. I have not verified if it is truly needed, but it is better to err on the safe side.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
5bd272aabc
Adding support for NUCLEO_G431KB. Created this file based on G474RE file. Added support for USB - connected the HSI48 clock to USB (and RNG). Warning: I'm assuming Flash latency is the same as for G474RE.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
70bd5b916d
Adding support for NUCLEO_G431KB. Created this file based on G474RE. I have done a decent effort to port it / check it. However - Warning - Not everything is verified the the G431 Spec Sheets.
2021-01-24 02:15:21 +01:00
Tauno Magnusson
936467ebab
Adding support for NUCLEO_G431KB. Created this file based on G474RE. Fully verified with Spec Sheets
2021-01-24 02:15:21 +01:00
Tauno Magnusson
9dc882e7d2
Added entry for STM32 NUCLEO_G431KB Board
2021-01-24 02:15:20 +01:00
Hugues Kamba
dd6c5b3ab0
NXP: Remove LPC55S69 CMake listing
...
Support for LPC55S69 had been removed without removing references in CMake.
2021-01-22 11:13:02 +00:00
Hugues Kamba
425b9a7311
NXP: Use armclang shebang in scatter files
...
The armclang shebang is required in the scatter file in order to build with CMake.
2021-01-22 11:11:42 +00:00
Martin Kojtal
5f541b22d0
Merge pull request #14142 from hugueskamba/hk_heap_size_fix_stm32l4
...
STM32L4: Correct heap size formula
2021-01-20 14:58:45 +00:00
Hugues Kamba
21840a4e92
Cypress: Fix CYTFM_064B0S2_4343W CMake build
...
List missing CAT1A files.
2021-01-20 14:13:50 +00:00
Martin Kojtal
96aa1bb067
Merge pull request #14132 from hugueskamba/hk_heap_size_fix_apollo3
...
Apollo3: Fix heap size formula and stack start address in scatter file
2021-01-20 08:37:22 +00:00
Martin Kojtal
f7d1f18a80
Merge pull request #14144 from sstaub/STM32-Arduino-Pinnames
...
Update for Arduino Pinnames
2021-01-20 08:34:56 +00:00
Martin Kojtal
6969140110
Merge pull request #14023 from kylejansen/sdpk1-qspi
...
Adding QSPI support to SDP-K1 board support package.
2021-01-20 08:34:38 +00:00
Martin Kojtal
8effecdf29
Merge pull request #14063 from dustin-crossman/pr/wifi_reserved_region
...
Support arbitrary storage alongside WiFi firmware in external storage on Cypress targets
2021-01-20 08:34:23 +00:00
Martin Kojtal
080ea9f903
Merge pull request #14080 from MaximIntegrated/max32630fthr-bare-metal-support
...
Add bare-metal support for MAXIM targets
2021-01-20 08:05:16 +00:00
Martin Kojtal
d841c77921
Merge pull request #13968 from hugueskamba/hk_cmake_arm_ssg_support
...
CMake: Add support for all ARM SSG Mbed targets
2021-01-20 08:03:03 +00:00
Martin Kojtal
4cf0365582
Merge pull request #14075 from MaximIntegrated/maxim-usb-stack-dev
...
Maxim targets; Add USB stack implementation
2021-01-19 09:27:01 +00:00
Martin Kojtal
8dc27fd84e
Merge pull request #14154 from jeromecoutant/PR_STM32_CMAKE
...
STM32: correct cmake compilation issues
2021-01-19 09:22:49 +00:00
Martin Kojtal
1e7dce5bdc
Merge pull request #14166 from arduino/pin_arduino_nano33ble
...
ARDUINO_NANO33BLE: don't define Arduino pins if compiling in Arduino core
2021-01-19 09:21:27 +00:00
Martin Kojtal
c4c28773aa
Merge pull request #14149 from jeromecoutant/PR_G4
...
STM32G4: enable TRNG and correct dual bank flash detection
2021-01-19 09:19:37 +00:00
Hugues Kamba
1d6214df0b
CMake: Add support Arm Musca S1 target
...
Add CMakeLists.txt file for the target
2021-01-18 17:39:13 +00:00
Hugues Kamba
8123cdbe2f
CMake: Add support for ARM's MUSCA B1 target
...
Add CMakeLists.txt input source file for the target
2021-01-18 17:39:13 +00:00
Martino Facchin
ee2e5ad794
Arduino_NANO33BLE: don't define Arduino pins if compiling in Arduino core
2021-01-18 15:43:11 +01:00
Martin Kojtal
95a524ae25
Merge pull request #14145 from arduino/config_sd_transceiver
...
STM32H7: disable uSD transceiver
2021-01-18 08:49:02 +00:00
Hugues Kamba
0ac503312a
CMake: Add support for Arm's MPS2 targets
2021-01-15 16:32:43 +00:00
Hugues Kamba
470cc1a1a6
CMake: Add support for Arm's CM3DS_MPS2 target
2021-01-15 16:32:43 +00:00
Martin Kojtal
eff0d4c8b9
Merge pull request #14032 from jeromecoutant/PR_RESET_GPIO
...
STM32: RESET GPIO during init is configurable
2021-01-15 15:49:11 +00:00
jeromecoutant
1bbceb48f0
STM32 / CMAKE / targets : correct CMakeLists.txt files
2021-01-15 15:11:16 +01:00
Martin Kojtal
aef93ca7c9
Merge pull request #14020 from pea-pod/stm-spi-more-bits
...
Add SPI bitwidths to ST targets where supported
2021-01-15 10:01:28 +00:00
Dustin Crossman
ef6284cad5
Added process to reinitialize qspi if qspi_init is called twice without free.
2021-01-14 12:59:01 -08:00
Dustin Crossman
95a5d60b65
Implement qspi_frequency for Cypress Mbed HAL.
2021-01-14 12:58:50 -08:00
Martin Kojtal
2e905a0060
Merge pull request #14104 from hugueskamba/hk_cmake_fix_STM32F413xH_sysclock_listing
...
CMake: Fix the listing of system_clock.c for STM32F413xH
2021-01-14 17:16:34 +00:00
jeromecoutant
61d00d858f
STM32G4: dual bank FLASH detection
2021-01-13 16:45:03 +01:00
jeromecoutant
eb627788ca
STM32G4: TRNG enabled
...
+ some cleanup/optimisation in SetSysClock
2021-01-13 16:44:57 +01:00
Hugues Kamba
24132695e3
These targets have a different memory layout,
...
they have two RAMs at two distinct locations:
RAM1 (address: MBED_RAM_START, size: MBED_RAM_SIZE):
* stack
* heap
* some part of static memory
RAM2 (address: MBED_IRAM2_START, size: MBED_IRAM2_SIZE):
* remaining part of static memory starting at MBED_IRAM2_START
* crash report
* vector
2021-01-13 12:46:35 +00:00
pennam
df4e397004
STM32H7: disable uSD transceiver
2021-01-13 11:13:15 +01:00
Stefan Staub
c3dca94b78
Update for Arduino Pinnames
2021-01-12 22:43:42 +01:00
Hugues Kamba
f00aeea70f
Apollo3: Fix heap size formula and stack start address in scatter file
...
The heapsize 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.
The stack start address should be the top of the RAM which is also fixed.
2021-01-12 11:31:50 +00:00
jeromecoutant
e0217ad9f7
DISCO_L072CZ_LRWAN1: enable LORAWAN by default
2021-01-12 11:42:07 +01:00
Martin Kojtal
74ac9b9b28
Merge pull request #14120 from jeromecoutant/DEV_CMAKE_F4
...
STM32F439 : correct cmake compilation
2021-01-12 08:28:10 +00:00
Martin Kojtal
36a2a808a8
Merge pull request #14130 from hugueskamba/hk_heap_size_fix_nrf52840
...
NRF52840: Fix heap size formula in scatter files
2021-01-12 08:22:31 +00:00
Ahmet Alincak
2ca990eb53
Use MBED_ALIGN and remove mbed.h from header
2021-01-11 22:53:36 +03:00
jeromecoutant
61059d45e4
STM32F439 : correct cmake compilation
2021-01-11 18:07:58 +01:00
Hugues Kamba
1a90deb608
CMake: Fix the listing of system_clock.c for STM32F413xH
...
Each variant now has its own system_clock.c file.
Therefore ensure the correct one is added for each variant.
Also reduce the number of CMakeLists.txt file as each
variant does not have significant number of files.
2021-01-11 16:17:46 +00:00
pea-pod
e1c754b179
Add SPI bitwidths to ST targets where supported
2021-01-11 07:53:07 -06:00
Martin Kojtal
4e34abbbf1
Merge pull request #14062 from dustin-crossman/pr/dec_asset_update
...
Cypress Asset Update
2021-01-11 13:40:26 +00:00
Martin Kojtal
549f887ce0
Merge pull request #14131 from hugueskamba/hk_heap_size_fix_arm_ssg
...
MUSCA_B1: Fix heap size formula in scatter files
2021-01-11 13:39:11 +00:00
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
Martin Kojtal
ccd1c65cb8
Merge pull request #14002 from jeromecoutant/PR_F0
...
STM32F0 update drivers version to CUBE V1.11.2
2020-12-10 11:13:49 +00:00
Hugues Kamba
742782d657
CMake: Add support for Samsung S5JS100 target
2020-12-10 09:39:39 +00:00
Hugues Kamba
747dca9e9f
Samsung: Correct ARM toolchain identifier
...
TOOLCHAIN_ARM_STD is specific to Mbed OS and is not generated if Mbed CLI
is not used.
2020-12-10 09:39:38 +00:00
Hugues Kamba
af5782b290
CMake: Add support for Samsung SIDK_S1SBP6A target
2020-12-10 09:39:37 +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
Martin Kojtal
bf88a3fd32
Merge pull request #13995 from hugueskamba/hk_cmake_gigadevice_support
...
CMake: Add support for GigaDevice targets
2020-12-09 14:12:29 +00:00
Martin Kojtal
0169915a71
Merge pull request #13998 from MultiTechSystems/mtqn-crash-data-ram
...
Add crash reporting and autoreboot capability to MTS_DRAGONFLY_L471QG
2020-12-09 11:58:19 +00:00
Martin Kojtal
336dd99091
Merge pull request #14017 from OpenNuvoton/nuvoton_remove_enabledisable_macro
...
Nuvoton: Remove DISABLE/ENABLE macro definitions in BSP
2020-12-09 11:56:29 +00:00
Martin Kojtal
75e59a59f0
Merge pull request #14000 from RyoheiHagimoto/grmango-oram-calib
...
Add octa RAM calibration feature to GR-MANGO.
2020-12-09 11:46:06 +00:00
Martin Kojtal
18f6794498
Merge pull request #14003 from jeromecoutant/PR_H7_PWR
...
STM32H7: system power supply configuration
2020-12-09 08:57:43 +00:00
Martin Kojtal
626804aa54
Merge pull request #13992 from jeromecoutant/PR_SCRIPT
...
STM32_gen_PeripheralPins.py v1.19
2020-12-09 08:57:26 +00:00
Martin Kojtal
3a71f314d6
Merge pull request #13907 from petroborys/master
...
Workaround to fix RTC-reset issue on the EFM32GG11_STK3701
2020-12-09 08:57:08 +00:00
Chun-Chieh Li
68df919e3f
Nuvoton: Remove DISABLE/ENABLE macro definitions in BSP
...
These are not used on Mbed OS. Remove them to avoid name conflict with other modules.
2020-12-09 14:27:23 +08:00
Martin Kojtal
e5e315eb80
Merge pull request #13936 from artokin/mac_address_set_get_mbed_os_master
...
Network interface MAC address set/get
2020-12-09 05:55:49 +00:00
Martin Kojtal
e2777c2995
Merge pull request #13777 from jeromecoutant/PR_L152
...
STM32 : full GPIO reset during mbed init
2020-12-09 05:55:02 +00:00
Hugues Kamba
f13e4959c9
CMake: Add support for GigaDevice targets
...
Add CMakeLists.txt files to list all the target sources and include directories
2020-12-07 11:25:12 +00:00
Martin Kojtal
0fa43ca750
Merge pull request #13898 from RyoheiHagimoto/add_can_to_grmango
...
Adding CAN function to GR-MANGO
2020-12-07 11:03:27 +00:00
Martin Kojtal
660b964bb2
Merge pull request #13970 from hugueskamba/hk_cmake_add_maxim_support
...
CMake: Add support for all Maxim Mbed targets
2020-12-07 11:01:13 +00:00
Martin Kojtal
50e0981be3
Merge pull request #13978 from LDong-Arm/remove_s5js100_idle_hook
...
S5JS100: remove idle hook in favour of Mbed-default idle hook
2020-12-07 09:08:38 +00:00
Martin Kojtal
65281b9db7
Merge pull request #13934 from hugueskamba/hk_cmake_add_cypress_targets
...
CMake: Add support for Cypress targets
2020-12-07 09:08:06 +00:00
RyoheiHagimoto
c34a7b2609
Modified license and code style.
2020-12-07 10:11:20 +09:00
jeromecoutant
cc90ec9096
STM32H7: system power supply configuration
2020-12-04 10:52:59 +01:00
jeromecoutant
b0c50d4905
STM32F0: ST CUBE drivers update V1.11.1 => V1.11.2
2020-12-03 18:00:26 +01:00
jeromecoutant
c46bfe0e1a
STM32F0: CMakeLists update
2020-12-03 17:18:00 +01:00
jeromecoutant
eef17a5d5d
STM32F0: ST CUBE drivers update V1.9.0 => V1.11.1
2020-12-03 17:15:39 +01:00
jeromecoutant
8f07246008
STM32F0: targets.json update to create MCU sub families
2020-12-03 17:15:39 +01:00
jeromecoutant
6f25e46181
STM32F0: code alignment
...
No impact, no change
2020-12-03 17:15:31 +01:00
jeromecoutant
58ac265039
STM32F0: directory restructuration
2020-12-03 13:05:06 +01:00
RyoheiHagimoto
0572cf3310
Added octa RAM calibration feature to GR-MANGO.
...
Modified files in the sub-directory of targets/TARGET_RENESAS/TARGET_RZ_A2XX/.
2020-12-03 20:57:15 +09:00
Martin Kojtal
d2adc9ef78
Merge pull request #13925 from hugueskamba/hk_remove_CY8CKIT_064S2_4343W
...
Cypress: Remove CY8CKIT_064S2_4343W files
2020-12-03 10:00:36 +00:00
Martin Kojtal
56f731027e
Merge pull request #13929 from JeanMarcR/DEEP_SLEEP
...
STM32: LPUART clock source selection up to a serial driver
2020-12-03 08:47:01 +00:00
Leon
310b6dd127
Add crash reporting and autoreboot capability to MTS_DRAGONFLY_L471QG
2020-12-01 14:18:16 -06:00
Hugues Kamba
efafbd5dc4
Add support for CYTFM_064B0S2_4343W
2020-12-01 15:16:36 +00:00
Hugues Kamba
fafc5c33e7
Add support for CYW9P62S1_43438EVB_01
2020-12-01 15:16:35 +00:00
Hugues Kamba
db6df682b5
Add support for CYW9P62S1_43012EVB_01
2020-12-01 15:16:35 +00:00
Hugues Kamba
aa415e621d
Add support for CYSBSYSKIT_01
2020-12-01 15:16:35 +00:00
Hugues Kamba
43b86ff083
Add support for CY8CPROTO_062_4343W
2020-12-01 15:16:35 +00:00
Hugues Kamba
06f2f34a0d
Add support for CY8CPROTO_062S3_4343W
2020-12-01 15:16:35 +00:00
Hugues Kamba
fb9b920f03
CMake: Add support for CY8CKIT_062_WIFI_BT
2020-12-01 15:16:35 +00:00
Hugues Kamba
36bcb0c04b
CMake: Add support for CY8CKIT_062_BLE
2020-12-01 15:16:35 +00:00
Hugues Kamba
d7b5307608
CMake: Add support for CY8CKIT_062S2_43012
2020-12-01 15:16:35 +00:00
Hugues Kamba
be88fe2a21
CMake: Enable baremetal support for MCU_PSOC6 targets
2020-12-01 15:16:35 +00:00
Hugues Kamba
b66439f39b
CMake: Add support for CY8CKIT064B0S2_4343W
2020-12-01 15:16:35 +00:00
Hugues Kamba
19f3d4c265
CMake: Add support for Maxim MAX32630 targets
...
Add CMakeLists.txt file to for the target family source files.
2020-12-01 15:08:32 +00:00
Hugues Kamba
deac9c047c
CMake: Add support for Maxim MAX32625 targets
...
Add CMakeLists.txt file to for the target family source files.
2020-12-01 15:08:32 +00:00
Hugues Kamba
348b4e9770
CMake: Add support for Maxim MAX32620C targets
...
Add CMakeLists.txt file to for the target family source files.
2020-12-01 15:08:32 +00:00
Hugues Kamba
b4bc521f13
CMake: Add support for WICED target
...
* Add CMakeLists.txt file
* Update the list of supported target
2020-12-01 15:05:28 +00:00
jeromecoutant
186a258b99
STM32_gen_PeripheralPins.py v1.19
...
- Use https://github.com/STMicroelectronics/STM32_open_pin_data.git
instead of CubeMX
- Add GPIO pinmap list
- Add STM32WL support
2020-12-01 15:52:20 +01:00
Martin Kojtal
e77b1d8a17
Merge pull request #13952 from hugueskamba/hk_cmake_freescale_support
...
CMake: Add support for all Freescale Mbed targets
2020-12-01 14:35:11 +00:00
Martin Kojtal
3fa8897f66
Merge pull request #13950 from hugueskamba/hk_remove_freescale_kl27z
...
Freescale: Remove KL27Z files
2020-12-01 13:57:59 +00:00
Martin Kojtal
d5f20ed0f8
Merge pull request #13945 from hugueskamba/hk_remove_freescale_k20xx
...
Freescale: Remove K20XX files
2020-12-01 13:57:01 +00:00
petroborys
e37aeb0c74
Workaround to fix RTC-reset issue on the EFM32GG11_STK3701
2020-11-30 18:53:01 +02:00
Martin Kojtal
4e0d07d50f
Merge pull request #12897 from kjbracey-arm/tickeropt
...
Optimise mbed_ticker_api.c
2020-11-30 16:15:37 +00:00
Arto Kinnunen
671dec565c
Update WICED binary for ARMC6
...
A new method has been added to the NetworkInterface. Therfore WICED
library needs to be rebuild for ARMC6.
2020-11-30 14:54:13 +02:00
Lingkai Dong
65e5db8631
S5JS100: remove idle hook which is essentially the non-Tickless hook from Mbed OS
2020-11-27 17:47:08 +00:00
Lingkai Dong
b1da3429df
PSoC 6: enable/disable sleep modes based on CY_CFG_PWR_SYS_IDLE_MODE
2020-11-27 17:10:24 +00:00
Lingkai Dong
7f0c98d977
PSoC 6: remove debug sleep lock and hook from mbed_sdk_init
2020-11-27 17:10:24 +00:00
Martin Kojtal
33a7e66a07
Merge pull request #13906 from jeromecoutant/PR_G070
...
STM32G070: generic target creation
2020-11-27 12:49:52 +00:00
Martin Kojtal
28eeee2b4c
Merge pull request #13922 from 0xc0170/cmake-nuvoton
...
CMake: add nuvoton targets
2020-11-27 11:02:53 +00:00
Ladislas de Toldi
eba8df7ed6
Delete objects.h
2020-11-27 09:24:31 +01:00
Hugues Kamba
43fb514832
CMake: Add support for Freescale MCUXpresso_MCUS targets
...
All Freescale MCUXpresso_MCUS targets supported by Mbed OS
can now be built with CMake.
2020-11-26 16:13:25 +00:00
Hugues Kamba
8ef0087314
CMake: Add support for Freescale KLXX targets
...
All Freescale KLXX targets supported by Mbed OS
can now be built with CMake.
2020-11-26 16:13:24 +00:00
Martin Kojtal
b20278a5f4
Merge pull request #13964 from hugueskamba/hk_cmake_arm_fm_support
...
CMake: Add support for all ARM FM Mbed targets
2020-11-26 15:55:43 +00:00
Martin Kojtal
22c1c6c7cf
Merge pull request #13951 from LDong-Arm/NRF52_DK-baremetal
...
MCU_NRF52832 (NRF52_DK, SDT52832B): use two-region memory model to support MicroLib
2020-11-26 15:54:46 +00:00
Hugues Kamba
6ccee16e87
MAX32610: Remove source files
...
The targets of this family are not supported by Mbed OS 6
2020-11-26 13:47:20 +00:00
Hugues Kamba
4a0718c697
MAX32620HSP: Remove source files
...
This target was not supported by Mbed OS 6
2020-11-26 13:23:18 +00:00
Martin Kojtal
c9ff692858
Merge pull request #13780 from JojoS62/PR-fix-H7-USB
...
STM32 H7: fix USB in sleep mode
2020-11-26 13:19:35 +00:00
Martin Kojtal
d0cfc67652
Merge pull request #13962 from 0xc0170/cmake-fix-stm-armclang
...
STM: fix ARMClang sct files, using proper -E command
2020-11-26 13:13:34 +00:00
Hugues Kamba
ff5fca636b
MAX32600MBED: Remove support
...
The target is no longer supported by Maxim
2020-11-26 12:58:59 +00:00
Hugues Kamba
ec9c6cbc02
CMake: Add support for all ARM's FM Mbed targets
...
Add CMakeLists.txt files so all ARM's FM Mbed targets can be built with CMake
2020-11-25 14:55:17 +00:00
Martin Kojtal
b5b0cfb2c6
STM32: fix H7 target definition in sct files
2020-11-25 14:12:26 +00:00
Martin Kojtal
fc16d2bae7
STM: fix ARMClang sct files, using proper -E command
...
This is required for ARMClang, otherwise there is an error with unknown command.
2020-11-25 13:35:36 +00:00
Martin Kojtal
0efffa3411
CMake nuvoton: fix ARMClang linker script command
2020-11-25 13:18:15 +00: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
David Douard
5a4a34802b
Fix a typo in STM32F3's CMakeList.txt
...
A typo has been introduced preventing the STM32F303x8 to be buildable using the new cmake based build system.
2020-11-25 11:53:59 +01:00
Martin Kojtal
62faa46fb4
Merge pull request #13921 from hugueskamba/hk_remove_lpc55s69
...
TARGET_NXP: Remove support for LPC55S69
2020-11-25 10:03:17 +00:00
jeromecoutant
59fc99bf50
STM32: full GPIO reset during mbed init
2020-11-25 09:07:58 +01:00
Lingkai Dong
b174edb282
MCU_NRF52832: use two-region memory layout (stack + heap) to support MicroLib
...
MicroLib is the lightweight C lib for the Arm toolchain and
used as the default C lib on bare metal builds with the Arm
toolchain. It requires two separate memory regions for stack
and heap.
The change is based on nRF52840.sct.
2020-11-24 16:35:02 +00:00
Martin Kojtal
6d89500dfe
Merge pull request #13935 from MultiTechSystems/mtqn-soft-power-on
...
Dragonfly Nano(MTQN): power on/off so soft_power_on() fix
2020-11-24 14:14:07 +00:00
Martin Kojtal
ced4aa6e2d
Merge pull request #13939 from jeromecoutant/PR_LSEDRIVE
...
STM32: LSE DRIVE feature update
2020-11-24 14:13:52 +00:00
Martin Kojtal
9de73f89ef
Merge pull request #13932 from LDong-Arm/st_trace_verbosity
...
Reduce ST QSPI/OSPI trace verbosity to debug
2020-11-24 14:12:13 +00:00
Martin Kojtal
b552127916
Merge pull request #13931 from jeromecoutant/PR_I2C_LEGACY
...
STM32 I2C: use correct HAL API
2020-11-24 14:12:05 +00:00
Martin Kojtal
985fab4ea0
Merge pull request #13918 from hugueskamba/hk_removed_lpc11u6x
...
TARGET_NXP: Remove support for LPC11U6X
2020-11-24 14:10:35 +00:00
Martin Kojtal
a1fc9cdad5
Merge pull request #13915 from 0xc0170/cmake-stm32
...
CMake: add all TARGET_STM targets
2020-11-24 14:09:28 +00:00
Martin Kojtal
59c03e1e75
Merge pull request #13914 from JeanMarcR/FLASH_API
...
STM32 FLASH API : add critical sections
2020-11-24 14:08:52 +00:00
Martin Kojtal
2f709cc13f
Merge pull request #13896 from jeromecoutant/PR_OSPI
...
STM32 OSPI support
2020-11-24 13:53:30 +00:00
Martin Kojtal
57bbb4739b
Merge pull request #13085 from pea-pod/remove-deprecated-mbed-assert
...
Change MBED_STATIC_ASSERTs version for built-in
2020-11-24 13:38:07 +00:00
Hugues Kamba
6a6864b6df
Freescale: Remove KL27Z files
...
Mbed OS 6 does not support the KL27Z target
2020-11-23 17:02:03 +00:00
reme
41ed9239be
LPUART CLOCK SOURCE SELECTION LEFT TO SERIAL DRIVER.
...
The clock source selection of LPUART depends on System clocks but also on
the serial baudrate. There is a specific computation done in serial driver
targets/target_STM/serial_api.c
At first start-up the LPUART1 clock selected in SetSysClock was anyway
overridden by the serial driver, so this was of no effect. But in case
of deep sleep SetSysClock is called again, while the driver isn't, so
SetSyClock was corrupting the serial clock configuration.
So let's remove these few lines of code which are causing trouble.
For targets L496 and L5.
Taking into account device TRNG in L5 configuration
2020-11-23 17:10:49 +01:00
Hugues Kamba
942f62c148
Freescale: Remove K20XX files
...
Mbed OS 6 does not support K20XX targets
2020-11-23 14:34:27 +00:00
jeromecoutant
29af76fcca
STM32: LSE DRIVE feature update
2020-11-20 17:31:26 +01:00
Martin Kojtal
6574054d26
CMake: remove M2351 cmakelists, not supported yet
2020-11-20 13:46:15 +00:00
Martin Kojtal
58bf0ed9f2
CMake: fix NUC472 ARM path
2020-11-20 13:42:32 +00:00
Martin Kojtal
033c48dee7
CMake: fix NUMAKER_IOT_M263A name
2020-11-20 13:41:34 +00:00
reme
16e63dc108
STM32 FLASH API : add critical sections
...
See PR #13802 (for F4 board)
Concerned boards are
STM32F0
STM32F1
STM32F2
STM32F3
STM32F4
STM32F7
STM32G0
STM32G4
STM32H7
STM32L0
STM32L1
STM32L4
STM32L5
Adding test of return code of HAL_FLASH_Lock() function
Adding board STM32F4
Running AStyle
2020-11-20 08:03:24 +00:00
Leon
01b60c20a1
Update Dragonfly Nano(MTQN) power on/off so soft_power_on() performs a reset
2020-11-19 18:09:06 -06:00
Lingkai Dong
8f50b03a38
Reduce ST QSPI/OSPI trace verbosity to debug
2020-11-19 16:22:12 +00:00
jeromecoutant
b01940200c
STM32 I2C: use correct HAL API
2020-11-19 12:03:48 +01:00
Hugues Kamba
9d32a473b6
Cypress: Remove CY8CKIT_064S2_4343W files
...
Mbed OS 6 does not support this target.
2020-11-19 11:00:43 +00:00
Martin Kojtal
02c35fdd48
CMake: add nuvoton targets
2020-11-18 15:18:18 +00:00
Hugues Kamba
07b6db2f0d
TARGET_NXP: Remove support for LPC55S69
...
Mbed OS 6 dropped support for all LPC55S69 targets.
This commit removes all source files for those targets.
2020-11-18 15:01:20 +00:00
Martin Kojtal
468b66944d
CMake: STM32 TARGET_ prefix removal fix
2020-11-18 12:13:46 +00:00
Hugues Kamba
8972cde3ab
TARGET_NXP: Remove support for LPC11U6X
...
Mbed OS no longer supports any LPC11U6X targets.
This commit removes all source files for those targets.
2020-11-18 11:39:56 +00:00
Martin Kojtal
907868d1de
CMake: STM32F0 fix startup/linker prefixes
2020-11-18 11:19:57 +00:00
Martin Kojtal
134c39cb7e
Merge pull request #13905 from jeromecoutant/PR_L422
...
STM32L4: ADC compilation issue with L422
2020-11-18 10:59:06 +00:00
Martin Kojtal
e1b8dd6e22
Merge pull request #13797 from JojoS62/PR_fix_LSE-drive-load-setting
...
STM32: add setting for LSE drive load level
2020-11-18 09:42:45 +00:00
Martin Kojtal
450afa81fb
Merge pull request #13904 from 0xc0170/fix_disco_cmake
...
CMake STM32L475xG: fix linker/startup inclusion
2020-11-18 09:37:45 +00:00
Martin Kojtal
c49d0b88aa
CMake: STM32F1 Cube fix driver includes
2020-11-17 16:52:10 +00:00
Martin Kojtal
23eed7cda1
CMake: add STM32WB targets
2020-11-17 16:48:24 +00:00
Martin Kojtal
39cb929749
CMake: add STM32L5 targets
2020-11-17 16:48:11 +00:00
Martin Kojtal
4c115a5c8d
CMake: fix STM32 cmsis include
2020-11-17 16:30:37 +00:00
Martin Kojtal
519ac980ab
CMake: add STM32L4 targets
2020-11-17 16:22:16 +00:00
Martin Kojtal
93e35a07ab
CMake: add STM32L1 targets
2020-11-17 15:45:52 +00:00
Martin Kojtal
959c194b02
CMake: add STM32L0 targets
2020-11-17 15:40:35 +00:00
Martin Kojtal
80161f59ca
CMake: add STM32H7 targets
2020-11-17 15:32:24 +00:00
Martin Kojtal
fea34ce976
CMake: add STM32G4 targets
2020-11-17 15:17:17 +00:00
Martin Kojtal
1f2bb47391
CMake: add STM32G0 targets
2020-11-17 15:03:02 +00:00
Martin Kojtal
d4f1f2560e
CMake: add STM32F7 targets
2020-11-17 14:27:23 +00:00
Martin Kojtal
a918ba4cba
CMake: add STM32F4 targets
2020-11-17 14:00:04 +00:00
Martin Kojtal
6582c0af2c
CMake: add STM32F3 targets
2020-11-17 12:37:26 +00:00
Martin Kojtal
9933b7d808
CMake: add STM32F2 targets
2020-11-17 12:06:59 +00:00
Martin Kojtal
81b61b2090
CMake: add STM32F1 targets
2020-11-17 11:59:44 +00:00
Martin Kojtal
f05db1b47a
CMake: add STM32F0 targets
2020-11-17 11:43:09 +00:00
jeromecoutant
b79b8f5126
STM32G0: creation of MCU_STM32G070xx for custom boards
...
NB: no LPTIM on this MCU, so default values applied
2020-11-16 08:35:30 +01:00
jeromecoutant
08a7fd6c15
STM32G0: no TIM2 for G070xx
2020-11-16 08:35:22 +01: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
jeromecoutant
4c2945128c
STM32G0: USART3_4_LPUART1_IRQn compilation issue with G070xx
2020-11-13 12:05:01 +01:00
jeromecoutant
9b8492bb13
STM32G0: RTC IRQ name error
2020-11-13 12:03:26 +01:00
jeromecoutant
c288034ff7
STM32L4: ADC compilation issue with L422
2020-11-13 10:13:46 +01:00
RyoheiHagimoto
edbcb78bb4
Added Apache-2.0 license to the files in r_can directory.
2020-11-13 08:56:15 +09:00
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
Martin Kojtal
18b898d708
STM32L475xG: fix linker/startup inclusion
...
No function required.
2020-11-12 11:54:21 +00:00
Martin Kojtal
76ff098e94
Merge pull request #13691 from jrobeson/drop-nordic-sdk11
...
Remove unused Nordic TARGET_SDK_11
2020-11-12 09:35:42 +00:00
Martin Kojtal
32398685f8
Merge pull request #13880 from heuisam/master
...
S1SBP6A fix RTC range
2020-11-12 08:45:03 +00:00
Martin Kojtal
74f9603c0a
Merge pull request #13861 from idea--list/ambiq-apollo3-dev-squash
...
Ambiq apollo3 fix of an SPI related SD bug
2020-11-12 08:43:58 +00:00
Martin Kojtal
f5f638952b
Merge pull request #13849 from kalle16lab/add-apollo3-sleep
...
Add apollo3 sleep
2020-11-11 16:53:06 +00:00
Martin Kojtal
3ec633cbe2
Merge pull request #13893 from teetak01/fix-rt1050-bootloader-support
...
MIMXRT1050_EVK return bootloader support
2020-11-11 13:00:19 +00:00
Martin Kojtal
f867a949a9
Merge pull request #13864 from LDong-Arm/cypress_baremetal_fixes
...
Fix bare metal builds on Cypress targets
2020-11-11 08:55:39 +00:00
Martin Kojtal
a0e8ab93a4
Merge pull request #13859 from jeromecoutant/PR_L4_LPUART_HSI
...
STM32L4: Use HSI for LPUART
2020-11-11 08:27:35 +00:00
Martin Kojtal
e8a3282181
Merge pull request #13816 from pennam/patch-stm32-usbhs-pull
...
STM32: allow HS USB endpoints and increase USB OTG_HS endpoints number
2020-11-11 08:27:19 +00:00
Martin Kojtal
f550ed3bd5
Merge pull request #13802 from jeromecoutant/PR_FLASH_F4
...
STM32F4 FLASH API update
2020-11-11 08:26:44 +00:00
Martin Kojtal
43ff4ae865
Merge pull request #13874 from jeromecoutant/PR_F3_11
...
STM32F3 update drivers version to CUBE V1.11.1
2020-11-11 08:26:25 +00:00
Heuisam Kwag
eb32b25c8a
SIDK_S1SBP6A: fix to support rtc range from 0 to 0xEFFFFFFF
...
BP6A do not support from 0 to 0xEFFFFFFF in SOC.
This patch fixes it in s/w manner.
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-11-11 13:54:32 +09:00
RyoheiHagimoto
6795607f32
Added CAN function to RZ/A2M.
2020-11-11 13:25:55 +09:00
RyoheiHagimoto
ec6e74ab1e
Updated periperal definition files for Renesas RZ/A2M
2020-11-11 13:23:07 +09:00
jeromecoutant
f7a2247442
STM32 : enable OSPI for DISCO_L562QE
2020-11-10 18:38:21 +01:00
jeromecoutant
3697167b73
STM32: add OSPI capability
...
PeripheralPins.c and PinNames.h files
generated by STM32_gen_PeripheralPins.py v1.17
2020-11-10 18:37:51 +01:00
Martino Facchin
f1ea281613
STM32: USB: allow more endpoints for OTG_HS ports
2020-11-10 17:22:29 +01:00
Martino Facchin
db7954bc9b
STM32: allow high speed USB endpoints
2020-11-10 17:22:28 +01:00
Teemu Takaluoma
f74b1293c2
MIMXRT1050_EVK return bootloader support
2020-11-10 15:29:24 +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
Martin Kojtal
d48415cc67
CMake nrf52480: fix startup/linker inclusion
2020-11-06 17:25:23 +00:00
Hugues Kamba
e0aa49ffcf
CMake: Add support for NUCLEO_F303K8
...
Added the board so it can be used for testing the bare-metal profile on a Mbed 2 board
2020-11-06 17:25:22 +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
a42ad9dea4
Update CMake based on new STM32L4 directory structure
2020-11-06 17:25:22 +00:00
Martin Kojtal
448986feb6
CMake: remove string.h in STM32 usb, already included ( #13773 )
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
fa98689639
CMake: Componentize Mbed OS into multiple CMake targets ( #13732 )
...
Aside from the core mbed-os CMake target, a number of targets have been created so they can optionally be included by application executables that require them using `target_link_libraries()`.
Co-authored-by: Martin Kojtal <martin.kojtal@arm.com>
Co-authored-by: Rajkumar Kanagaraj <rajkumar.kanagaraj@arm.com>
2020-11-06 17:25:21 +00:00
Hugues Kamba
22dd57b35b
CMake: Add support for NUCLEO_F401RE
2020-11-06 17:25:21 +00:00
Hugues Kamba
043cb37ff5
CMake: Fix DISCO_L475VG_IOT01A ARM toolchain support
...
Correct location of startup code and linker file.
2020-11-06 17:25:21 +00:00
Hugues Kamba
042e9c7078
CMake: Remove TOOLCHAIN_ARM_STD dir for TARGET_STM32F439xI
2020-11-06 17:25:21 +00:00
Hugues Kamba
0ba05246cc
CMake: Fix selection of scatter file and startup file for DISCO_L475_IOT01A
2020-11-06 17:25:20 +00:00
Hugues Kamba
3ab8179b1e
CMake: Add support for K66F
2020-11-06 17:25:20 +00:00
Hugues Kamba
01ddb7d471
CMake: Fix NRF52840_DK build failure
...
* Remove duplicated ARM toolchain directory
* Link with archived cryptocell 310 libraries instead
of adding them as source files
* Provide default MBED_BOOT_STACK_SIZE definition
in scatter file as is done for GCC_ARM linker file
2020-11-06 17:25:19 +00:00
Hugues Kamba
eb4102be48
CMake: Fix failure due to BLE component dir move
2020-11-06 17:25:19 +00:00
Hugues Kamba
f1a3d690c7
CMake: Fix WIO_3G scatter file shebang to work with ARM Compiler 6
2020-11-06 17:25:18 +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
53d712849a
CMake: Add support for WIO_3G target
2020-11-06 17:25:15 +00:00
Hugues Kamba
30e88863f4
CMake: Add support for DISCO_L475VG_IOT01A target
2020-11-06 17:25:15 +00:00
Hugues Kamba
8a74bf1d04
CMake: Add support for NRF52840_DK target
2020-11-06 17:25:15 +00:00
Hugues Kamba
70d92298b8
CMake: Add support for K64F target
2020-11-06 17:25:15 +00:00
Lingkai Dong
810884b448
Add mbed_lib.json for PSOC6 SCL to exclude it from build metal build
...
SCL is for the Cypress Ethernet driver which is not currently
compatible with bare metal.
2020-11-06 10:08:24 +00:00
Lingkai Dong
7641f1cb3c
CYTFM_064B0S2_4343W: use cytfm_flash only if TFM and PSA are present
...
This fixes bare metal builds
2020-11-06 10:08:12 +00:00
jeromecoutant
56a7afdf66
STM32F3: update to match mbed
2020-11-06 10:29:54 +01:00
jeromecoutant
5cd353306b
STM32F4 FLASH update
...
Add critical section in
- flash_erase_sector and
- flash_program_page
to make FLASH erase procedure interrupt safe
(can occur with Ethernet)
2020-11-05 17:46:18 +01:00
jeromecoutant
084b873173
STM32F3: CUBE V1.11.1
2020-11-05 16:59:06 +01:00
Martin Kojtal
c87736574f
Merge pull request #13862 from jeromecoutant/PR_RTS_FREE
...
STM32 SERIAL: free RTS/CTS pins
2020-11-05 15:43:29 +00:00
Martin Kojtal
61bed01ee8
Merge pull request #13846 from 0xc0170/fix-stm32-usb-header
...
STM32 usb: fixing missing header file
2020-11-05 14:48:07 +00:00
jeromecoutant
7f57005082
STM32F3: alignment with current CUBE V1.9.0
2020-11-05 15:34:54 +01:00
jeromecoutant
29e7e5ad4d
STM32F3: directory restructuration
2020-11-05 13:32:09 +01:00
jeromecoutant
73d1c63741
STM32 SERIAL: free RTS/CTS pins
2020-11-04 15:47:14 +01:00
jeromecoutant
39b724cd9d
STM32L4: Use HSI for LPUART
...
Impact all STM32L4x5 and STM32L4x6 targets
2020-11-04 12:41:56 +01:00
Heuisam Kwag
f661c2389c
fix compile error
...
Including unused header file, "cmsis-os.h", causes compile errors.
This commit fixes it.
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-11-04 18:20:01 +09:00
kalle16lab
6bf039d44c
Update sleep.c
...
copyright date change
2020-11-04 11:09:37 +02:00
Martin Kojtal
097adb57a2
STM32 usb: fixing missing header file
...
Fixes #13838
2020-11-04 08:49:04 +00:00
Kalle-Gustav Kruus
3c848063f3
also added tickless option
2020-11-03 18:59:26 +02:00
Kalle-Gustav Kruus
851eca4ddb
added naieve way of sleeping seems to work at first glance
2020-11-03 18:05:21 +02:00
Martin Kojtal
798c3c5f4f
Merge pull request #13817 from facchinm/patch_lse_bypass
...
STM32: define RCC_LSE_BYPASS to allow using PC_15 as gpio
2020-11-02 14:17:53 +00:00
Peter B
02a12a8722
Update spi_api.c
...
Modified the spi_master_block_write() function yet again. SD related examples still read/erase/write the SD cards as expected and with these alterations the power consumption does not remain high after the SPI transaction has been finished. However i still only tested the SD functionality. Please test other SPI scenarios and different sensors as well to find out if this PR introduces unexpected bugs or not.
Changes:
- deleted the whole if (xfer.ui32NumBytes) condition as i did not find it logical (by that i mean xfer.ui32NumBytes was also true within the following else if (tx_length != rx_length){} block, so basically when the 2 buffers had different lengths an extra transfer has been done for nothing)
- removed the bool Rw = (rx_length >= tx_length) as the comparison >= has no sense anymore after if (tx_length == rx_length) on line 159.
2020-10-28 23:28:34 +01:00
Martin Kojtal
f57f2657f8
Merge pull request #13747 from RyoheiHagimoto/modify_renesas_deepsleep
...
Renesas: fix timing to wait UART completion in deep sleep function
2020-10-27 14:09:04 +00:00
Martin Kojtal
f9e62fe615
Merge pull request #13692 from RyoheiHagimoto/gr_i2c_slave
...
Fix I2C slave bugs on Renesas RZ/A series.
2020-10-27 14:08:47 +00:00
pea-pod
507181d262
Change MBED_STATIC_ASSERTs version for built-in
2020-10-27 08:30:40 -05:00
pennam
45ac79aa3b
STM32H7: define RCC_LSE_BYPASS to allow using PC_15 as gpio
2020-10-27 11:24:30 +01:00
Peter B
d56f942ae7
Update spi_api.c
...
Modified line 145: previously the fill character has been hard coded to 0x00. However in Mbed OS core SPI_FILL_CHAR is defined in the core to be 0xFF by default (one can change that through mbed_app.json for example). This mod allows us to use the same fill character that is defined for Mbed OS.
Also modified spi_master_block_write(): previously it called am_hal_iom_blocking_transfer on line 182, but that prevented succesful SD card writing operations. Now i changed that part to am_hal_iom_spi_blocking_fullduplex and SD functionality seems to be working.
2020-10-26 16:03:04 +01:00
JojoS62
6264e0abc4
add defaults values
...
set all defaults to initial low as after a reset
most STM32 eval boards use low power crystals and work with this setting
2020-10-23 19:38:55 +02:00
JojoS62
622a452661
fix macro usage error
...
use unique #if defined()
2020-10-23 17:00:28 +02:00
JojoS62
64072a925e
fix for targets with non-modifiable
...
transconductance
2020-10-22 20:11:15 +02:00
JojoS62
80847e958d
simplify default setting
2020-10-22 11:27:42 +02:00
JojoS62
e7f1430d37
remove duplicate LSEDRIVE_CONFIG
2020-10-22 11:24:51 +02:00
JojoS62
a209d44a07
simplify checking for F4_g2 exception
2020-10-22 11:20:51 +02:00
JojoS62
8145b69959
add setting for LSE drive load level
2020-10-21 18:54:47 +02:00
jeromecoutant
379182299d
STM32H7 readme update
2020-10-20 13:10:59 +02:00
jeromecoutant
04c8ff91d4
STM32H7: new target NUCLEO_H7A3ZI_Q
2020-10-20 13:10:59 +02:00
jeromecoutant
1e2aacd373
STM32H7: create MCU_STM32H7A3xIQ
2020-10-20 13:10:59 +02:00
Martin Kojtal
d418667f07
Merge pull request #13690 from jeromecoutant/PR_H7_180
...
STM32H7 update drivers version to CUBE V1.8.0
2020-10-20 11:36:56 +01:00
jeromecoutant
3c6ba98823
STM32L4: STM32Cube_FW_L4_V1.16.0
...
source: https://github.com/STMicroelectronics/STM32CubeL4
2020-10-20 08:51:37 +02:00
jeromecoutant
c8711b600a
STM32L4 : targets.json update introducing subfamily level
...
Goal is to halp custom boards creation
2020-10-20 08:51:36 +02:00
jeromecoutant
81f919b6c2
STM32L4 : license header alignment
2020-10-20 08:51:36 +02:00
jeromecoutant
95f8b2dfd4
STM32L4 : common file factorisation
2020-10-20 08:51:36 +02:00
jeromecoutant
dcc066db59
STM32L4 : alignment with STM32Cube_FW_L4_V1.14.0
2020-10-20 08:51:35 +02:00
jeromecoutant
3b14c478c1
STM32L4 : directory retructuration
...
- Alignment with other STM32 families
2020-10-20 08:51:35 +02:00
jeromecoutant
3f843d55ed
STM32H7: readme update
2020-10-20 08:19:28 +02:00
jeromecoutant
2ccf534aaa
STM32H7: fix ADC internal channels
2020-10-20 08:19:27 +02:00
jeromecoutant
e322870219
STM32H7: FLASH update
2020-10-20 08:19:27 +02:00
jeromecoutant
f0b7e8b98c
STM32H7: update target specific files with Cube-1.8
...
- startup files pdated from Cube
- all SetSysClock aligned and checked
- license header updated
2020-10-20 08:19:16 +02:00
jeromecoutant
13df49e315
STM32H7: STM32Cube_FW_H7_V1.8.0
...
https://github.com/STMicroelectronics/STM32CubeH7
2020-10-20 08:18:21 +02:00
jeromecoutant
a62736bba2
STM32L0: STM32Cube_FW_L0_V1.11.3
...
https://github.com/STMicroelectronics/STM32CubeL0
2020-10-19 17:42:38 +02:00
jeromecoutant
d9cdd31f21
STM32L0: back to updated files
2020-10-19 17:42:38 +02:00
jeromecoutant
a519a2fe6b
STM32L0: directory restructuration
...
+ STM32Cube_FW_L0_V1.10.0 original files
+ targets.json update introducing subfamily level
2020-10-19 17:42:38 +02:00
jeromecoutant
7c214cbd68
STM32WB: STM32Cube_FW_WB_V1.8.0
...
https://github.com/STMicroelectronics/STM32CubeWB
2020-10-19 14:36:02 +02:00
Martin Kojtal
bf90b7736b
Merge pull request #13697 from jeromecoutant/PR_L5_130
...
STM32L5 update drivers version to CUBE V1.3.1
2020-10-19 13:21:32 +01:00
JojoS62
38f4507ff0
fix USB in sleep mode
...
in sleep mode, USB interrupts were disabled
and USB Device was not working. Sleep mode is default in Mbed-os
e.g. in a call to sleep_for()
2020-10-17 00:50:40 +02:00
jeromecoutant
4b999b3e7f
STM32L5: STM32Cube_FW_L5_V1.3.0
...
https://github.com/STMicroelectronics/STM32CubeL5
2020-10-16 17:31:58 +02:00
jeromecoutant
759a817005
STM32G4: STM32Cube_FW_G4_V1.3.0
...
source: https://github.com/STMicroelectronics/STM32CubeG4
2020-10-16 17:31:04 +02:00
jeromecoutant
cd99f641dc
STM32G4: cleanup
2020-10-16 17:31:03 +02:00
jeromecoutant
4f95500dc9
STM32G4: target directoty restructuration
...
- Alignment with other STM32 families
- Subfamily level in targets.json
2020-10-16 17:31:03 +02:00
RyoheiHagimoto
e3fea114ec
Fixed I2C slave bugs on Renesas RZ/A series:
...
Added the register operation when received the slave address.
2020-10-16 18:00:42 +09:00
RyoheiHagimoto
5931050b64
Fixed I2C slave bugs on Renesas RZ/A series.
...
Fixed following I2C slave bugs on Renesas RZ/A series:
- Send an incorrect value during slave mode.
- The behavior for the restart condition is wrong.
2020-10-16 17:58:40 +09:00
Martin Kojtal
2d01a4412d
Merge pull request #13723 from boraozgen/feature/f412xg-crash-ram
...
Add crash RAM to STM32F412xG
2020-10-16 09:10:55 +01:00
Martin Kojtal
61aa6817f0
Merge pull request #13724 from harmut01/license_refactor
...
Add license notice to Arm copyrighted source files
2020-10-16 09:09:53 +01:00
Martin Kojtal
aa0cd631a2
Merge pull request #13655 from jeromecoutant/PR_GENPERIPH_1_17
...
STM32_gen_PeripheralPins.py v1.17
2020-10-16 09:08:27 +01:00
Martin Kojtal
c8345a3490
Merge pull request #13595 from gutbag/add-nrf52-midi-baud-rate
...
Nordic: Support 31250 baud rate
2020-10-16 09:06:31 +01:00
Martin Kojtal
36de28e1ff
Merge pull request #13683 from 0xc0170/fix_stm32_usb
...
USB STM32: fix header inclusion, removing mbed.h
2020-10-15 15:41:03 +01:00
Martin Kojtal
2514479360
Merge pull request #13743 from idea--list/master
...
Define SD and STORAGE for the MAX32630FTHR and prevent warnings during compilation on Mbed 5.12 and above
2020-10-15 15:06:48 +01:00
Martin Kojtal
2311398adf
Merge pull request #13738 from OpenNuvoton/nuvoton_m23_fault_handler
...
Nuvoton: Enable fault handler dump message on CM23 targets
2020-10-15 15:06:23 +01:00
Martin Kojtal
ab14eb60e2
Merge pull request #13677 from CharleyChu/topic/master_cytfm_471
...
psoc64: Update flash layout of CYTFM_064B0S2_4343W
2020-10-15 13:51:29 +01:00
jeromecoutant
7eb43b104a
STM32_gen_PeripheralPins.py move to TARGET_STM
2020-10-15 12:08:25 +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
e56d4298cb
USB STM32: fix header inclusion, removing mbed.h'
...
Fixes #13667 issue
2020-10-13 13:23:21 +01:00
Peter B
0db0f0d22a
alignment fixed
2020-10-13 10:27:51 +02:00
RyoheiHagimoto
15c28e919d
Modified the timing to wait UART completion in deep sleep function.
...
Moved waiting UART transmission completion to the out of critical
section. This is issued by the following pull request.
https://github.com/ARMmbed/mbed-os/pull/11816
2020-10-09 17:28:52 +09:00
jeromecoutant
ee09ae904d
STM32F4: align F412 and F411 linker scripts
2020-10-09 10:28:28 +02:00
Bora Özgen
abb5b1221f
Merge branch 'master' into feature/f412xg-crash-ram
2020-10-09 08:52:26 +02:00
Bora Özgen
8c9d38f12a
Align ARMC linker script with GCC
2020-10-09 08:48:55 +02:00
Peter B
669c703e46
Prevent warnings during compilations for MAX32620C
...
In Mbed OS 5.12.0 mbed_toolchain.py has been introduced, that automatically defines the macro TARGET_NAME (on line 241). This leads to a high number of generating the following warning: 'TARGET_NAME' macro redefined while compiling code for MAX32620C on Mbed OS 5.12 and above. This patch fixes it, while it keeps the definition in place for lower versions that lack mbed_toolchain.py
2020-10-08 17:28:12 +02:00
Peter B
fee7a1c79a
Prevent warnings during compilations for MAX32625
...
In Mbed OS 5.12.0 mbed_toolchain.py has been introduced, that automatically defines the macro TARGET_NAME (on line 241). This leads to a high number of generating the following warning: 'TARGET_NAME' macro redefined while compiling code for MAX32625 on Mbed OS 5.12 and above. This patch fixes it, while it keeps the definition in place for lower versions that lack mbed_toolchain.py
2020-10-08 17:25:38 +02:00
Peter B
48c71b3649
Prevent warnings during compilations for MAX32630FTHR
...
In Mbed OS 5.12.0 mbed_toolchain.py has been introduced, that automatically defines the macro TARGET_NAME (on line 241). This leads to a high number of generating the following warning: 'TARGET_NAME' macro redefined while compiling code for MAX32630FTHR on Mbed OS 5.12 and above. This patch fixes it, while it keeps the definition in place for lower versions that lack mbed_toolchain.py
2020-10-08 17:23:06 +02:00
Peter B
a9dfa0ceba
Define SD and STORAGE for the MAX32630FTHR
...
MAX32630FTHR has an on-board uSD slot, but targets.json did not contain info about this until now.
Handling it in targets.json is a better idea than doing it via mbed_app.json as most people can not figure out how to do that.
2020-10-08 16:08:40 +02:00
Chun-Chieh Li
82ce0243f9
Nuvoton: Enable fault handler dump message for M23 targets
...
Support targets:
- NUMAKER_IOT_M263A
- NUMAKER_IOT_M252
2020-10-08 14:18:25 +08:00
Bora Özgen
0c3879a553
Add crash RAM to STM32F412xG
2020-10-06 16:48:42 +02:00
jeromecoutant
282bc22247
STM32: update SetSysClock for NUCLEO_L476RG
...
Change in case of clock_source is set to HSI or HSE
(not the default configuration)
2020-10-06 15:11:34 +02:00
jeromecoutant
2d25882d1f
STM32_gen_PeripheralPins.py v1.17
...
- GPIO xml parsing correction (#13711 )
- Octo SPI support
- bug correction
- warning style correction
- new TIM_MST choice algo
- full PinNames.h file creation
- output directory is now
targets_custom/TARGET_STM/TARGET_STM32XX/TARGET_STM32XXXX
2020-10-05 17:55:58 +02:00
Johnny Robeson
394c976f5f
Remove unused Nordic TARGET_SDK_11
2020-09-30 20:22:48 -04:00
Martin Kojtal
fbe04097c7
Merge pull request #13601 from AGlass0fMilk/fix-g474-adc
...
Fix AnalogIn implementation on STM32G4 series
2020-09-30 16:12:18 +01:00
Martin Kojtal
21652971a5
Merge pull request #12644 from macronix/macronix_ospi
...
Add OSPI driver to support the Octa mode of Macronix octaflash MX25LM51245G
2020-09-30 16:07:20 +01:00
Martin Kojtal
1f868f96de
Merge pull request #13646 from boraozgen/bugfix/system-clock-weak
...
Make STM32F412xG system_clock.c functions weak
2020-09-30 16:01:02 +01:00
Martin Kojtal
1dea16bc58
Merge pull request #13611 from alcheagle/stm32l071xx-fixes
...
Edit on Toolchain linker files for stm32L071xx target
2020-09-30 16:00:20 +01:00
Martin Kojtal
efd385d6ce
Merge pull request #13679 from OpenNuvoton/nvt_i2c_timeout
...
Nuvoton: Fix NuMaker I2C timeout
2020-09-30 15:57:53 +01:00
Martin Kojtal
05ea20c44a
Merge pull request #13681 from winneymj/nrf52840_SPIM3_Updates
...
Nrf52840 spim3 updates
2020-09-30 15:56:36 +01:00
cyliangtw
3916026dd7
Commit M451/NANO100 i2c_api again to resolve abnormal gitattribute
2020-09-30 10:27:16 +08:00
winneymj
d60af095ba
Fix spacing
2020-09-29 17:55:06 -05:00
winneymj
38e6bdc8f4
Fixes for nrf52840 SPIM 3 implementation. Specifically:
...
- Correct definition of SPI2C_INSTANCES when using SPIM vs SPI
- Use NRFX_SPIM_XFER_TRX macro vs manually filling structure.
- Fix compile error in NRFX_SPIM_DEFAULT_EXTENDED_CONFIG where ordering of members does not match structure nrfx_spim_config_t
- Use High Drive if using SPIM3 on MOSI and SCK pins.
2020-09-29 17:13:30 -05:00
cyliangtw
ffee35a5c8
Fix NuMaker I2C timeout,
...
some H/W timer count is 24 bits only, hardcode 0xffffffff causing
wrong judgement of timeout as while H/W timer counting overflow.
2020-09-29 21:01:18 +08:00
Charley Chu
57f36264c5
psoc64: Update flash layout of CYTFM_064B0S2_4343W
...
Only report the flash region that can be accessed by none-secure CPU
Signed-off-by: Charley Chu <haoc@cypress.com>
2020-09-28 17:10:42 -07:00
Heuisam Kwag
6ff504a89f
targets/s1sb6a: change UART_STDIO_PORT from UART0 to UART2
...
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-29 08:32:49 +09:00
Heuisam Kwag
f0679cca36
tartgets/s1sbp6a: fix afe clock initial value
...
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-29 08:32:49 +09:00
Heuisam Kwag
bc68113566
targets/s1sbp6a: fix uart baud rate setting of UART1~2
...
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-29 08:32:35 +09:00
Heuisam Kwag
8fb4d80f29
targets/s1sbp6a: fix typo
...
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-09-28 17:14:26 +09:00
Martin Kojtal
f38aa597c8
Merge pull request #13632 from sdrstone1/master
...
fix DAPLINK error for S1SBP6A Target using GNU Toolchain.
2020-09-23 15:58:53 +01:00
Martin Kojtal
f3d91fdba1
Merge pull request #13633 from jeromecoutant/PR_WB_FLASH_BARE
...
STM32WB: FLASH compilation issue with baremetal
2020-09-23 15:58:38 +01:00
Martin Kojtal
cd9a0d1f49
Merge pull request #13634 from jeromecoutant/PR_L4_IAR
...
STM32L4: link issue with IAR
2020-09-23 15:57:35 +01:00
Martin Kojtal
60cbab381d
Merge pull request #13640 from isaev-d/fix-pll-stm32h743
...
STM32: Fix system clock setup for XTAL and/or internal source on STM32H743
2020-09-23 10:53:58 +01:00
Bora Özgen
011cd19175
Remove weak statement for HSI clock config
2020-09-23 10:59:00 +02:00
Martin Kojtal
66423948e0
Merge pull request #13645 from boraozgen/bugfix/stm32f412xg_usart3
...
Patch STM32F4 HAL to fix F412CG USART3 issue
2020-09-22 16:24:49 +01:00
George Beckstein
76d488ded1
Revert sampling time decrease and remove todos.
2020-09-22 09:32:14 -04:00
Andrea Gilardoni
b99702094c
fixing nvic num
2020-09-22 09:46:48 +02:00
Dmitriy Isaev
8597f6ae12
Removed excess space simbol. Also runtime config check changed to compile time check.
2020-09-21 20:17:45 +03:00
jeromecoutant
bbc7355df5
Merge internal ADC channel changes from ST
...
Co-authored-by: jeromecoutant <jerome.coutant@st.com>
2020-09-21 12:26:23 -04:00
George Beckstein
bbc15f65c0
Implemented adc deinitialization functionality
2020-09-21 12:19:50 -04:00
George Beckstein
e9d6c9c0b1
Fix AnalogIn implementation on STM32G4 series
2020-09-21 12:19:50 -04:00
Bora Özgen
401a6b4f2b
Apply review suggestions
2020-09-21 14:52:22 +02:00
Bora Özgen
9623d4e7fc
Make system_clock.c functions weak
2020-09-21 13:51:29 +02:00
Bora Özgen
9b56a4cb82
Patch STM32F4 HAL to fix F412XG USART3 issue
2020-09-21 13:27:20 +02:00
Dmitriy Isaev
3f83163a63
Fixed system clock setup for XTAL and/or internal source on stm32f743 chips.
2020-09-20 16:26:25 +03:00
jeromecoutant
0af260fe43
STM32L4: link issue with IAR
2020-09-18 12:27:53 +02:00
jeromecoutant
49ceb3c4b6
STM32WB: FLASH compilation issue with baremetal
2020-09-18 11:47:15 +02:00
Martin Kojtal
33a538ab6c
Merge pull request #13593 from LDong-Arm/platform_storage_default_requirements
...
STM32F: skip LittleFileSystem default instance and TDBStore tests
2020-09-17 15:21:40 +01:00
Martin Kojtal
75544a7ce0
Merge pull request #13565 from m-ecry/feature-stm32g4-can-support
...
Feature stm32g4 can support
2020-09-17 15:08:46 +01:00
Martin Kojtal
3801f6e389
Merge pull request #13406 from Allmoz/master
...
STM32F1 USBDevice
2020-09-17 08:56:03 +01:00
KollHong
dd1c59f588
Update startup_s1sbp6a.S
...
fix DAPLINK "The transfer timed out." error
2020-09-17 15:35:35 +09:00
m-ecry
73493b909a
STM-can-api: Fixed variable name for H7
...
- can_frequency uses f instead of hz for can frequency
- Also added comment to system_clock
2020-09-16 17:35:32 +02:00
Andrea Gilardoni
1d77cfa08b
trying to fix startup file
2020-09-16 08:41:41 +02:00
rogeryou
48524f25ae
add opsi driver
2020-09-16 11:27:23 +08:00
Andrea Gilardoni
303b3c28b6
making some cleaning
2020-09-15 11:25:47 +02:00
Andrea Gilardoni
d5adca141b
Edit on Toolchain linker files
...
Previous one were not working, using nucleol073RZ files
2020-09-15 11:13:03 +02:00
m-ecry
2a13fa199d
STMG4-sys-clk: If can PLLQ=160MHz, else 170MHz
...
- with 170MHz as can-core-frequency, the accuracy for many baudrates is
too low. 160MHz is better for a broad range of frequencies
2020-09-14 18:15:41 +02:00
m-ecry
d0c8ad75e1
STM-can-api: Support reading of remote_msg
...
- Previously a received msg was fixed of data_type
2020-09-14 18:10:48 +02:00
m-ecry
13b663397f
STM-can-api: Added usage of prescaler
...
- This enables more frequencies, but without regard to the accuracy.
May still require manual clock setup, to remain in tolerance window
2020-09-14 16:29:12 +02:00
Martin Eckardt
35c9e7a5ad
Use HAL function for FDCAN_CLK-calculation
...
- Thanks to @jeromecoutant for showing the HAL funtion
- Added #ifdef guard to FDCAN2/3 handler functions
2020-09-14 15:24:14 +02:00
Kevin Bracey
65bc41a96b
Optimise mbed_ticker_api.c
...
The generic code in mbed_ticker_api.c uses run-time polymorphism to
handle different tickers, and has generic run-time calculations for
different ticker widths and frequencies, with a single special-case for
1MHz.
Extend the run-time special casing to handle any conversion cases where
either the multiply or divide can be done as a shift. This is a speed
optimisation for certain platforms.
Add a new option `target.custom-tickers`. If turned off, it promises
that only USTICKER and LPTICKER devices will be used. This then permits
elimination and/or simplification of runtime calculations, saving size
and speed. If either both USTICKER and LPTICKER have the same width, or
same period numerator or denominator, or only one of them exists, then
operations can be hard-coded. This is a significant ROM space saving,
and a minor speed and RAM saving.
We get to optimise all the calculations, but the run-time polymorphism
is retained even if there is only one ticker, as it doesn't
significantly affect code size versus direct calls, and the existence of
lp_ticker_wrapper and various us_ticker optimisations requires it, even
if only LPTICKER is available.
2020-09-14 13:25:10 +03:00
Lingkai Dong
84f3444691
Add config target.internal-flash-uniform-sectors and set it to false for STM32L2/4/7
...
Some internal flashes have non-uniform sectors, and for those
ones we want to skip the initialization of default LittleFileSystem
on FlashIAPBlockDevice (unless the user specifies an address
range that's uniform).
This commit adds a config to indicate if sectors are uniform.
2020-09-11 09:49:53 +01:00
Martin Kojtal
6bfd89e656
Merge pull request #13196 from gbrtth/musca_s1_support_mbed6
...
Add ARM_MUSCA_S1 as a new target platform
2020-09-10 16:53:14 +01:00
Martin Kojtal
f7d5dfbe3b
Merge pull request #13587 from jeromecoutant/PR_G031
...
MCU_STM32G031xx : decrease boot-stack-size
2020-09-10 15:04:47 +01:00
Martin Kojtal
47e943af2d
Merge pull request #13558 from jeromecoutant/PR_L4PLUS_SRAM3
...
STM32L4+ : SRAM3 is powered off in deepsleep
2020-09-10 14:03:32 +01:00
Mark Horvath
37f26692b1
Workaround to fix clang build
...
Change-Id: Ib0d207d4ca22ae239f6b40b95618b66eb329a29c
Signed-off-by: Mark Horvath <mark.horvath@arm.com>
2020-09-10 13:59:32 +01:00
Gabor Toth
bdf2306f16
Add platform support to Musca S1
...
Change-Id: Iebdd4bc402446caba6b7bd894eddb0a85ed884d8
Signed-off-by: Mark Horvath <mark.horvath@arm.com>
Signed-off-by: Gabor Toth <gabor.toth@arm.com>
2020-09-10 14:53:41 +02:00
jeromecoutant
2441e150a4
MCU_STM32G031xx : decrease boot-stack-size
...
As a small RAM target,
default boot-stack-size is decreased
for baremetal full support
2020-09-10 14:38:09 +02: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
Martin Kojtal
a17a481c54
Merge pull request #13583 from jeromecoutant/PR_ARDUINO_PIN
...
STM32: correct few Arduino pins value
2020-09-10 12:38:02 +01:00
Martin Kojtal
e2077197d9
Merge pull request #13452 from Patater/conf-boot-stack-size
...
Use boot stack size from config system
2020-09-10 12:32:05 +01:00
Martin Kojtal
267a5ac5bf
Merge pull request #13538 from sparkfun/ambiq-apollo3-dev-squash
...
Ambiq AMA3B1KK and SparkFun Artemis Boards Target Update
2020-09-10 11:53:04 +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
Hugues Kamba
2ed7403e3e
NRF52: Fix failure if boot stack size is not provided
...
The same default value is provided in the GCC_ARM linker file.
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
jeromecoutant
668412ccde
NUCLEO_L433RC_P: wrong D0 and D1 pins
2020-09-10 10:05:41 +02:00
jeromecoutant
5bcb02a013
DISCO_L072CZ_LRWAN1: wrong A1/A3/A4/A5 pin values
2020-09-10 10:05:41 +02:00
jeromecoutant
e695db9944
NUCLEO_F207ZG: change default SPI_MOSI pin to match Arduino standard
2020-09-10 10:05:40 +02:00
jeromecoutant
3e653223d2
NUCLEO_F303ZE: wrong D1 pins
2020-09-10 10:05:40 +02:00
jeromecoutant
d20385e396
STM32G4: remove ADC support
...
Waiting for implementation and test
2020-09-10 10:05:40 +02:00
jeromecoutant
88fcd669d4
NUCLEO_L552ZE_Q: wrong D0 and D1 pins
2020-09-10 10:05:40 +02:00
Wenn0101
c2bddbbc57
Apollo3 and artemis, remove dead code and include relevant header
2020-09-09 16:43:59 -06:00
Wenn0101
e97ebc033a
Apollo3 and artemis code review changes, remvoe dead code, add missing spdx identifiers, fix style
2020-09-09 15:47:23 -06:00
Mark Lamb
9ffd462a28
Support 31250 baud rate
2020-09-09 20:13:11 +01:00
Martin Kojtal
3b5ab54618
Merge pull request #13542 from jeromecoutant/PR_DISCO_L4S
...
B_L4S5I_IOT01A: new ST target
2020-09-09 15:54:27 +01:00
Martin Kojtal
1f6fe470e1
Merge pull request #13564 from More-Wrong/LSI-for-STM32Gx
...
STM32Gx: LSI clock selection when LSE is not available
2020-09-09 15:16:44 +01:00
jeromecoutant
423bea50e6
B_L4S5I_IOT01A: BLE support
2020-09-09 15:19:21 +02:00
jeromecoutant
7dfe7024f0
B_L4S5I_IOT01A: HW crypto support
2020-09-09 15:19:21 +02:00
jeromecoutant
d804167816
STM32L4S5xI: B_L4S5I_IOT01A new target
2020-09-09 15:19:21 +02:00
jeromecoutant
c65ad59ccd
STM32L4S5xI introduction
2020-09-09 15:19:11 +02:00
Martin Kojtal
ae8d5a4fb6
Merge pull request #13574 from amq/patch-4
...
Fix a typo in PeripheralPins.c for EFM32GG11
2020-09-09 09:51:40 +01:00
Martin Kojtal
511c89728f
Merge pull request #13572 from jeromecoutant/PR_H7_ADC2
...
STM32H7 ADC: clock selection lost after deepsleep
2020-09-09 09:51:34 +01:00
Martin Kojtal
0190014103
Merge pull request #13547 from OpenNuvoton/nvt_nuc472_sd
...
Nuvoton: Fixed NUC472 SD buffer alignment
2020-09-09 09:51:17 +01:00
Martin Kojtal
2fe10ddb21
Merge pull request #13516 from romanjoe/pr/064b0s2_rename
...
Cypress: Rename CY8CKIT_064B0S2_4343W to CY8CKIT064B0S2_4343W
2020-09-09 09:49:19 +01:00
Wenn0101
68d59d3781
Add new targets, Ambiq Apollo3 and Sparkfun Electronics, SFE, boards
2020-09-09 01:13:05 -06: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
jeromecoutant
b65afe028e
STM32H7 ADC: clock selection lost after deepsleep
2020-09-08 11:40:02 +02:00
talorion
e117ef5c3c
use descriptive variable names
2020-09-08 10:54:09 +02:00
Robert
14ac4064b7
STM32Gx: LSI clock selection when LSE is not available
2020-09-07 14:47:11 +01:00
Martin Kojtal
1f735a63d9
Merge pull request #13536 from OpenNuvoton/nuvoton_fix_downgrade_qspi
...
Nuvoton: Fix degrading QSPI to SPI
2020-09-07 10:11:04 +01:00
jeromecoutant
e650470206
STM32L4+ : SRAM3 is powered off in Stop 2 mode
...
By default, SRAM3 content is then lost.
2020-09-07 09:48:02 +02:00
Roman Okhrimenko
877078003c
Rename CY8CKIT_064B0S2_4343W to CY8CKIT064B0S2_4343W, which fits in 20 characters limit
2020-09-07 08:25:31 +03:00
Martin Eckardt
08ce2f2de8
Calculate FDCAN_clk instead of assuming fix 10MHz
...
- The FDCAN_clk is calculated on runtime from the according
RCC-registers
2020-09-07 02:08:59 +02:00
Martin Eckardt
f32efe4c28
Changed PLL to 160MHz, PLLQ to 80MHz
2020-09-07 02:04:13 +02:00
Martin Eckardt
9886532029
Added support for FDCAN3
2020-09-07 02:04:13 +02:00
Martin Eckardt
9bc2deb9aa
make G4 target compileable with CAN support
2020-09-07 02:04:13 +02:00
cyliangtw
47a28dacd7
Fix nuc472 SD buffer alignment
2020-09-04 16:23:24 +08:00
Martin Kojtal
895488f945
Merge pull request #13523 from jeromecoutant/PR_H7_ADC2
...
STM32H7 ADC: No MultiMode configuration needed for ADC2
2020-09-03 13:24:55 +01:00
Martin Kojtal
2eb2fe4184
Merge pull request #13522 from jeromecoutant/PR_USB_PULLUP
...
STM32 USB connect procedure update
2020-09-03 13:24:10 +01:00
Chun-Chieh Li
ce63a17212
Nuvoton: Fix degrading QSPI to SPI
...
In most cases, we can control degraded QSPI H/W to standard through BSP SPI driver directly as if it is just SPI H/W.
However, BSP SPI driver distinguishes among SPI H/W instances in below functions:
- SPI_Open
- SPI_Close
- SPI_SetBusClock
- SPI_GetBusClock
In these cases, we must change to QSPI version instead for QSPI H/W.
Change target:
- NUMAKER_PFM_M487
- NUMAKER_IOT_M487
- NU_PFM_M2351*
2020-09-03 10:25:08 +08:00
talorion
b03d80fd08
pwmout - fixed compile errors
2020-09-02 13:39:17 +02:00
talorion
f2bed4d582
pwmout - TMPM4G9 - add read methods for period and pulsewidth
2020-09-02 13:39:16 +02:00
talorion
7388ff8b43
pwmout - TMPM46B - add read methods for period and pulsewidth
2020-09-02 13:39:16 +02:00
talorion
067431e088
pwmout - EFM32 - add read methods for period and pulsewidth
2020-09-02 13:39:16 +02:00
talorion
6a50ecad5f
pwmout - STM - add read methods for period and pulsewidth
2020-09-02 13:39:15 +02:00
talorion
2d5e51794b
pwmout - RZ_A2XX - add read methods for period and pulsewidth
2020-09-02 13:39:15 +02:00
talorion
c4559ba8e2
pwmout - RZ_A1XX - add read methods for period and pulsewidth
2020-09-02 13:39:15 +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
talorion
a6f9c5b84f
pwmout - NUC472 - add read methods for period and pulsewidth
2020-09-02 13:39:14 +02:00
talorion
20dce73257
pwmout - NANO100 - add read methods for period and pulsewidth
2020-09-02 13:39:14 +02:00
talorion
05128898a5
pwmout - M480 - add read methods for period and pulsewidth
2020-09-02 13:39:13 +02:00
talorion
bdfe6a8ba6
pwmout - M451 - add read methods for period and pulsewidth
2020-09-02 13:39:13 +02:00
talorion
1a9d8576d7
pwmout - M261 - add read methods for period and pulsewidth
2020-09-02 13:39:13 +02:00
talorion
1c75956312
pwmout - M251 - add read methods for period and pulsewidth
2020-09-02 13:39:13 +02:00
talorion
b859d7039f
pwmout - M2351 - add read methods for period and pulsewidth
2020-09-02 13:39:13 +02:00
talorion
dda71f0262
pwmout - NRF52 - add read methods for period and pulsewidth
2020-09-02 13:39:12 +02:00
talorion
3db5d7b595
pwmout - MAX32630 - add read methods for period and pulsewidth
2020-09-02 13:39:12 +02:00
talorion
f9962162d9
pwmout - MAX32625 - add read methods for period and pulsewidth
2020-09-02 13:39:12 +02:00
talorion
fea23ef0a2
pwmout - MAX32620C - add read methods for period and pulsewidth
2020-09-02 13:39:12 +02:00
talorion
ebc2bc23b1
pwmout - MAX32620 - add read methods for period and pulsewidth
2020-09-02 13:39:12 +02:00
talorion
d33e06ed46
pwmout - MAX32610 - add read methods for period and pulsewidth
2020-09-02 13:39:11 +02:00
talorion
b27b8698b4
pwmout - MAX32600 - add read methods for period and pulsewidth
2020-09-02 13:39:11 +02:00
talorion
13f57feaef
pwmout - GD32F4XX - add read methods for period and pulsewidth
2020-09-02 13:39:11 +02:00
talorion
a67e8d1c07
pwmout - GD32F30X - add read methods for period and pulsewidth
2020-09-02 13:39:11 +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
talorion
dc7aa873f0
pwmout - PSOC6 - add read methods for period and pulsewidth
2020-09-02 13:39:09 +02:00
Martin Kojtal
29f54fe9aa
Merge pull request #13509 from alcheagle/new_target_STM32L071CXCTX
...
Adding STM32L071xx target
2020-09-02 09:41:12 +01:00
Nicolás Elliott
ee4a4e9ad8
Rebase of Initial support for USB Device on STM32F1
2020-09-01 15:05:48 -04:00
jeromecoutant
02c79e8603
STM32H7 ADC: No MultiMode configuration needed for ADC2
2020-09-01 17:52:13 +02:00
jeromecoutant
ac9c4b7b66
STM32 USB connect procedure update
...
Pull up on USB DP to manage (external for STM32F1)
2020-09-01 17:32:20 +02:00
Andrea Gilardoni
3c39eeb8dd
fixing SPDX identifiers in all files
2020-09-01 10:08:41 +02:00
Martin Kojtal
4ef38f95d8
Merge pull request #13513 from jeromecoutant/PR_README
...
STM32 readme update
2020-09-01 08:48:54 +01:00
jeromecoutant
53008d9447
STM32 USB: use SNG_BUF
...
To avoid RAM location issue
2020-08-31 17:30:52 +02:00
Andrea Gilardoni
15ca58b9c8
fixing small issues
2020-08-31 14:03:49 +02:00
jeromecoutant
1996552a9c
STM32 readme update
2020-08-31 13:23:25 +02:00
Andrea Gilardoni
23a3ea06cb
fixing the remaining parts after the rename
2020-08-28 19:37:53 +02:00
Andrea Gilardoni
c62fc559c9
renaming the mcu to stm32l071xx
2020-08-28 19:24:43 +02:00
Andrea Gilardoni
0c0692a3d1
fixing the issues
2020-08-28 19:12:37 +02:00
Andrea Gilardoni
a03f5ff4e6
Adding a new target
...
Adding STM32L071CXCTX as a generic target to be extended.
This addition required to fix some issues on stml0 library
2020-08-28 19:10:41 +02:00
Evelyne Donnaes
297300e38d
Merge pull request #13502 from hugueskamba/hk_add_default_form_factor
...
Targets: Add default "supported_form_factors" for all targets
2020-08-28 12:39:53 +01:00
Hugues Kamba
1e5cdafab4
Targets: Add default "supported_form_factors" for all targets
...
This helps mbed-tools to build targets that do not set that
attribute themselves.
2020-08-27 15:17:37 +01:00
Martin Kojtal
afcf91f331
Merge pull request #13006 from AGlass0fMilk/add-nucleo-g031k8
...
NUCLEO_G031K8: Add new target
2020-08-26 07:24:28 +01:00
Martin Kojtal
555c7dbe1a
Merge pull request #13416 from dustin-crossman/pr/cysbsyskit_update_6.2.0
...
Update CYSBSYSKIT_01
2020-08-26 07:14:46 +01:00
George Beckstein
5b3eb52f09
Fix indentation within G031K8 definition
2020-08-25 09:20:03 -04:00
Anna Bridge
36764b98be
Merge pull request #13456 from ARMmbed/dev_usb_remove_mbedh
...
USBPhyHw: remove mbed.h inclusion
2020-08-25 11:50:59 +01:00
Martin Kojtal
0ef5eaddb2
Merge pull request #13467 from romanjoe/pr/cy-psoc6cm0p-1.2.1.676
...
Cypress: Update psoc6cm0p library to 1.2.1.676
2020-08-25 08:46:59 +01:00
Martin Kojtal
4bd8d8ca56
Merge pull request #13470 from MultiTechSystems/update-dragonfly-linkers
...
Update dragonfly linkers
2020-08-24 15:54:11 +01:00
George Beckstein
167241a9df
Limit NUCLEO_G031K8 to bare-metal builds due to memory constraints
2020-08-24 08:52:40 -04:00
jeromecoutant
44b7c1165e
STM32G0 UART: compilation warning
2020-08-24 13:55:10 +02:00
jeromecoutant
2f2a1ea3f2
STM32G0 stm32g0xx_ll_rtc.h compilation warning
...
Waiting for
https://github.com/STMicroelectronics/STM32CubeG0/issues/11
2020-08-24 13:55:03 +02:00
Martin Kojtal
a34dfea24e
kinetis: fix headers for usbphy
2020-08-21 15:03:27 +01:00
Martin Kojtal
a775c7dd4c
Merge pull request #13425 from LDong-Arm/cypress_rtos_check
...
Fix bare metal support on Cypress targets
2020-08-21 13:46:47 +01:00
Martin Kojtal
7b211f0ba4
Merge pull request #13375 from RyoheiHagimoto/add_gr-mango
...
Add GR_MANGO as a new target
2020-08-21 13:37:48 +01:00
Martin Kojtal
d44fb29723
Merge pull request #13397 from winneymj/enable_SPIM
...
Provide enablement of nrf52840 SPIM
2020-08-21 10:41:08 +01:00
Leon Lindenfelser
622b7cfc60
Add MBED_APP_START & MBED_APP_SIZE check/set to MTS_MDOT_F411RE arm linker
2020-08-20 10:21:12 -05:00
RyoheiHagimoto
c854392344
Added public token for RZ_A2XX in target.json
2020-08-20 19:42:50 +09:00
Roman Okhrimenko
a8a2a0ee03
Update cypress psoc6cm0p library to 1.2.1.676, compatible with psoc6pdl 1.6.1.4886
2020-08-20 13:02:28 +03:00
Leon Lindenfelser
aa2c80fa52
Update MTS_DRAGONFLY_F411RE linker files for removed post_binary_hook
2020-08-19 16:09:44 -05: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
RyoheiHagimoto
e818c489d5
Modifed some source files for GR-MANGO.
...
Aligned with the astyle rule.
Deleted old ARM5 check.
2020-08-18 10:48:56 +09:00
RyoheiHagimoto
db3cec4398
Added GR-MANGO to be a target.
...
Passed GreenTea CI.
Added RZ_A2XX and GR_MANGO to targets.json.
Added RZ_A2XX to mbedlib.json in lwipstack and netsocket/ppp.
Added TARGET_RZ_A2XX directory to targets/TARGET_RENESAS.
Added TARGET_RENESAS_EMAC directory to features/netsocket/emac-drivers.
Moved TARGET_RZ_A1_EMAC directory into the TARGET_RENESAS_EMAC directory below and renamed to TARGET_RZ_A1XX.
Added TARGET_RZ_A2XX directory to features/netsocket/emac-drivers/TARGET_RENESAS_EMAC.
2020-08-18 10:48:48 +09:00
Charley Chu
ace81a8be7
psoc64: Update TF-M release image
...
Upgrade PDL to v1.6.1 to resolve #13440
Signed-off-by: Charley Chu <haoc@cypress.com>
2020-08-17 18:05:48 -07:00
winneymj
e5f32ff3f9
Add SPIM description to README.md
2020-08-17 10:27:46 -05:00
winneymj
b72adbe5c0
Fix defines
2020-08-16 12:42:18 -05:00
winneymj
21c928e6e5
Fix detection of enabled SPIM
2020-08-15 08:02:49 -05:00
winneymj
6dbeece347
Fix detection of enabled SPIM
2020-08-14 19:43:24 -05:00
George Beckstein
470ef492b3
Revert "Removed const from register declaration"
...
This reverts commit c569dcce79
.
2020-08-14 12:03:25 -04:00
Martin Kojtal
3ff5a3b560
Merge pull request #13418 from CharleyChu/topic/master_cytfm
...
Update PSoC64 TFM release package.
2020-08-14 11:24:58 +01:00
George Beckstein
c569dcce79
Removed const from register declaration
2020-08-13 16:50:03 -04:00
jeromecoutant
8165bca233
STM32G0 review and test
2020-08-13 15:49:50 -04:00
Pavel Slama
ab6fd6e1eb
add D13 pin
2020-08-13 15:49:50 -04:00
Pavel Slama
25ea7be2ff
add NUCLEO_G031K8 target
2020-08-13 15:49:50 -04:00
Pavel Slama
e3d26ed888
delete LED2-4 and buttons
2020-08-13 15:49:50 -04:00
George Beckstein
16ac412807
Add NUCLEO_G031K8 target configuration
2020-08-13 15:49:50 -04:00
Martin Kojtal
9df8d33f49
Merge pull request #13386 from avptin/psoc6pdl-1.6.1
...
PSoC6: update to psoc6pdl-1.6.1
2020-08-13 17:32:39 +01:00
Dustin Crossman
79c7c3d622
Add back sectors definition to CYSBSYSKIT_01 target.
2020-08-13 09:28:55 -07:00
Lingkai Dong
017b043473
TARGET_PSOC6: set CY_RTOS_AWARE based on RTOS availability
2020-08-13 12:12:46 +01:00
Martin Kojtal
aff95c0d19
Merge pull request #13392 from heuisam/dev_bp6a
...
Adding Samsung Bioprocessor S1SBP6A target
2020-08-13 09:00:50 +01:00
Martin Kojtal
408461b9de
Merge pull request #13382 from OpenNuvoton/nuvoton_m252_iot
...
M252: Support custom board
2020-08-13 08:41:31 +01:00
Charley Chu
4749e176d7
psoc64: Update TF-M release image
...
- Fix key derivation issue
- Update PSoC64 BSP
- Replace IPC semaphore spin-lock with IPC lock
Signed-off-by: Charley Chu <haoc@cypress.com>
2020-08-12 16:46:52 -07:00
Volodymyr Medvid
563e216cc8
PSOC6: update BSP startup code to match psoc6pdl-1.6.1
2020-08-12 04:33:29 +01:00
Heuisam Kwag
e3ba0100bb
introduce S1SBP6A
...
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-08-12 07:19:29 +09:00
Anna Bridge
88d931384f
Merge pull request #13358 from RaymondNgun/topic/cytfm_064b0s2_4343w
...
Add CYTFM_064B0S2 4343W Target
2020-08-11 10:52:39 +01:00
Heuisam Kwag
7bc9d54c76
move security_subsystem to TARGET_SIDK_S5JS100
...
The TARGET_Samsung had security_subsystem and SIDK_S5JS100.
If I add another target that does not use security_subsystem, I get
a build error.
This commit moves security_subsyste to TARGET_SIDK_S5JS100.
Signed-off-by: Heuisam Kwag <heuisam@samsung.com>
2020-08-11 16:26:48 +09:00
Dustin Crossman
522888886b
Add bootloader info to CYSBSYSKIT_01 targets.json
2020-08-10 17:02:40 -07:00
Dustin Crossman
6ba8885ad3
Update COMPONENT_SCL.
2020-08-10 17:02:35 -07:00
Dustin Crossman
0944d0e9b0
Update CYSBSYSKIT_01 bsp.
2020-08-10 16:59:04 -07:00
Maarten de Klerk
e6150ac722
Added error checking to can_filter() for Classic CAN
...
Previously the function always returned 1 even when the configuration was illegal. I added a small check to HAL_CAN_ConfigFilter(...).
2020-08-08 23:25:42 +02:00
Raymond Ngun
1be0b1f297
CYTFM_064B0S2_4343W: Inital creation of PSA target
...
Target is similar to CY8CKIT_064B0S2_4343W but with PSA
and TFM enabled.
Signed-off-by: Raymond Ngun <raymond.ngun@cypress.com>
2020-08-07 08:02:01 -07:00
Charley Chu
badfa189d6
Move current TFM to TFM_V1_1
...
Named TFM V1.1 as TFM_V1_1 instead of TFM_V1.1 as TFM_V1.1 is invalid
as macro name
Signed-off-by: Charley Chu <haoc@cypress.com>
2020-08-07 08:02:00 -07:00
winneymj
5249a9ad31
Remove duplicate code
2020-08-05 19:46:54 -05:00
winneymj
541a2c8664
Remove DEBUG
2020-08-05 19:40:54 -05:00
winneymj
40831f7018
remove NRFX_SPIM_NRF52_ANOMALY_109_WORKAROUND_ENABLED
2020-08-05 19:35:42 -05:00
winneymj
0b80e3c302
Disable SPIM & enable SPI
2020-08-05 19:33:47 -05:00
winneymj
32b5f2d3fb
Revert "Initial commit"
...
This reverts commit dec6e3600f
.
2020-08-05 19:30:16 -05:00
winneymj
e4e7dcc1ff
First stab at implement SPIM DCX
2020-08-03 20:10:07 -05:00
winneymj
b6a1ec7716
Mix SPI with SPIM
2020-08-02 11:21:03 -05:00
winneymj
f65cd0f461
Add Int handler for SPIM3_IRQHandler
2020-07-31 19:58:39 -05:00
winneymj
2d5776a757
Fix more SPIM
2020-07-31 16:29:49 -05:00
winneymj
c6bc6513bd
Enable nrfx_spim_1_irq_handler
2020-07-31 16:12:49 -05:00
Oleksiy Peutin
e95c64f798
PSoC6: update to psoc6pdl-1.6.1
2020-07-31 16:12:15 +01:00
Chun-Chieh Li
dde8f6f015
M252: Re-organize PinNames.h
...
This is to support M251 series based targets.
2020-07-31 17:05:36 +08:00
Chun-Chieh Li
a76f5dcbdf
M252: Support configurability of USB/STDIO UART pins
...
- STDIO_UART and STDIO_UART_TX/STDIO_UART_RX
- USB_UART and USBTX/USBRX
2020-07-31 17:05:35 +08:00
Chun-Chieh Li
f7e4a75041
M252: Make memory specification configurable
...
This is to support all M251 series based targets.
2020-07-31 17:05:35 +08:00
Chun-Chieh Li
1f70a3caa2
M252: Change SERIAL_TX/SERIAL_RX pin names to other than USBTX/USBRX
...
USBTX/USBRX should be dedicated for USB VCOM and not for other uses.
2020-07-31 17:05:34 +08:00
Chun-Chieh Li
2e1627d31e
M252: Introduce base target MCU_M251
...
This is to support all M251 series based targets.
2020-07-31 17:05:33 +08:00
Martin Kojtal
821631a7f9
Merge pull request #13351 from MultiTechSystems/fix-dragonfly-F413RH
...
Fix MTS_DRAGONFLY_F413RH drag and drop failure
2020-07-30 13:27:01 +01:00
winneymj
bcacf2136d
Fix include
2020-07-29 19:39:19 -05:00
winneymj
db23d53d32
Enable SPIM and bring into code.
2020-07-29 19:27:19 -05:00
Rajkumar Kanagaraj
2add7064ec
Update astyleignore and source code comment
2020-07-27 10:04:01 -07:00
Leon Lindenfelser
53a75c83cb
Fix MTS_DRAGONFLY_F413RH drag and drop failure
...
When manually flashing an application binary to the MULTITECH drive, a FAIL.TXT
file is produced with the following info:
“The application file format is unknown and cannot be parsed and/or processed”.
2020-07-24 14:13:35 -05:00
Martin Kojtal
f5358a7ff4
Merge pull request #13332 from OpenNuvoton/nvt_iot_m252_target
...
Nuvoton: Update M252 target name
2020-07-24 09:22:42 +01:00
Martin Kojtal
f83d100fa6
Merge pull request #13261 from LDong-Arm/move_cellular
...
Refactor cellular directory structure
2020-07-23 14:06:23 +01:00
Martin Kojtal
1bd138b6fc
Merge pull request #13304 from jeromecoutant/PR_WB_CUBE17
...
STM32WB update drivers version to CUBE V1.7.0
2020-07-22 15:09:22 +01:00
cyliangtw
7da5afc054
Change M252 target name as NUMAKER_IOT_M252
2020-07-22 19:39:11 +08:00
Martin Kojtal
efae4028d7
Merge pull request #13325 from OpenNuvoton/nvt_m263_button
...
Nuvoton: Revise the pin name of M263A button
2020-07-22 11:30:09 +01:00
Lingkai Dong
2b24a7a31e
Update paths to cellular framework
2020-07-22 11:06:23 +01:00
cyliangtw
dd48500cc3
Revise M263A button pin name
2020-07-21 20:50:19 +08:00
winneymj
65ed9d42fc
Move SPI_PSELSSO = p41
2020-07-20 19:16:48 -05:00
Leon Lindenfelser
c946c2a713
Remove MTS_DRAGONFLY_F411RE post binary hook that adds the bootloader
...
Bootloader to be added using mbed_app.json
2020-07-20 14:15:51 -05:00
winneymj
4c299fe96d
Add USBConsole.h so that default printf can be sent to USBSerial
2020-07-19 15:23:52 -05:00
winneymj
8526148001
Add missing softdevice common
2020-07-17 16:33:12 -05:00
jeromecoutant
03296f03e7
STM32WB55xx creation in targets.json
...
Each custom boards can now easily inherit from MCU_STM32WB55xx
2020-07-17 12:54:38 +02:00
jeromecoutant
0b5a91c9a2
STM32WB FLASH activity shared with M0+ core
...
source:
- https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_RfWithFlash/Core/Src/flash_driver.c
- Figure 10 from AN5289
2020-07-17 12:06:40 +02:00
jeromecoutant
ec1e659d3a
STM32WB readme update
2020-07-17 12:06:40 +02:00
jeromecoutant
285d533075
STM32WB: ST CUBE drivers update V1.4.0 => V1.7.0 / BLE
2020-07-17 12:06:39 +02:00
jeromecoutant
643c7a44f3
STM32WB: ST CUBE drivers update V1.4.0 => V1.7.0 / HAL
2020-07-17 12:06:39 +02:00
Anna Bridge
640da338f9
Merge pull request #13229 from jeromecoutant/PR_TARGET2
...
STM32 custom target: create MCU_STM32xx for each family
2020-07-17 10:55:43 +01:00
winneymj
24624d25ab
Fix missing pins
2020-07-15 20:48:43 -05:00
winneymj
dec6e3600f
Initial commit
2020-07-15 16:15:10 -05:00
Vikas Katariya
776ccce8d6
psa: Update TF-M for ARM_MUSCA_B1
2020-07-14 11:54:57 +01:00
Jaeden Amero
2f2e4a95a1
psa: Update TF-M for ARM_MUSCA_B1
2020-07-09 15:40:38 +01:00
jeromecoutant
dda1dcf229
STM32 custom target: create MCU_STM32xx inherit
...
Each target based on STM32 MCU can now inherit
common configuration defined by its STM32 family.
2020-07-09 11:32:25 +02:00
Martin Kojtal
fb3728f39f
Merge pull request #13223 from kyle-cypress/pr/psoc-greentea-sync
...
PSoC Targets: Increase greentea sync timeout
2020-07-07 20:45:06 +02:00
Martin Kojtal
3400ef66e7
Merge pull request #13222 from jeromecoutant/PR_PWM
...
STM32 PWM : avoid glitch after duty cycle change
2020-07-03 10:51:19 +02:00
Martin Kojtal
379bda2214
Merge pull request #13221 from jeromecoutant/PR_DAC_TICKLESS
...
STM32 ANALOGOUT and DEEPSLEEP
2020-07-03 10:50:59 +02:00
jeromecoutant
e10a233c80
STM32 PWM : avoid glitch after duty cycle change
2020-07-02 14:54:09 +02:00
jeromecoutant
a0b718fc04
STM32 ANALOGOUT and DEEPSLEEP
...
keep DAC on during wait period
2020-07-02 14:18:44 +02:00
jeromecoutant
c8737c593d
STM32WB RNG: enable use from both M4 and M0+ core
2020-07-02 10:17:08 +02:00
Kyle Kearney
1751983ca1
PSoC Targets: Increase greentea sync timeout
2020-07-01 09:37:52 -07:00
Martin Kojtal
ffeb926a67
Merge pull request #13206 from vvkaggarwal12/usb-device-fix
...
Usb device init: wait_us fix
2020-07-01 14:08:47 +02:00
Martin Kojtal
ab84dcde03
Merge pull request #13198 from kyle-cypress/pr/whd-1.91.2
...
Cypress: Update WHD to version 1.91.2
2020-07-01 12:01:51 +02:00
Martin Kojtal
0e225f9298
Merge pull request #13173 from jeromecoutant/PR_I2C_L4R
...
STM32L4: I2C init parameters for L4+ MCU
2020-07-01 11:30:38 +02:00
Martin Kojtal
22e9925ca9
Merge pull request #13172 from yarbcy/pr/dev-mbed-init-fix
...
Cypress: Fix internal JIRA. Add check if cybsp_init() is successful
2020-07-01 10:25:11 +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
Kyle Kearney
4c95356f58
PSoC: Update WHD to v1.91.2
2020-06-26 10:03:08 -07:00
Martin Kojtal
6c27da57d9
Merge pull request #13122 from romanjoe/pr/add_cy8ckit_064b0b2_4343w
...
Cypress: Add target CY8CKIT_064B0S2_4343W, update psoc6pdl, psoc6cm0p
2020-06-24 09:36:39 +02:00
jeromecoutant
0d277eefe4
STM32L4: I2C init parameters for L4+ MCU
2020-06-23 10:05:24 +02:00
Marcelo Salazar
dbbdb3f5bd
Remove Musca A1 target
...
The MUSCA_A1 target isn't supported in Mbed OS 6.
Removing as it was left in master by mistake.
However, it continues to be available in 5.15 branch.
2020-06-22 13:24:40 +01:00
YARB(Cypress)
383b8f98de
Fix internal JIRA. Add check if cybsp_init() is successful
2020-06-22 12:45:09 +03:00
Roman Okhrimenko
00cbc2d54e
Update GeneratedSource of 064B0S2 with repo-starging 15347 revision
2020-06-19 16:16:55 +03:00
Roman Okhrimenko
dcc3559a82
Update GeneratedSources for 064B0S2 - disable ALT systick due to changes in psoc6pdl-1.6.0.4266
2020-06-19 16:16:55 +03:00
Roman Okhrimenko
1bd215ba1a
Update GeneratedSource files for 064B0S2 using psoc6pdl-1.6.0.4266-rc3
2020-06-19 16:16:55 +03:00
Roman Okhrimenko
611c95614d
Update psoc6cm0p to 1.2.0.237-rc2
2020-06-19 16:16:55 +03:00
Roman Okhrimenko
7a862d2059
Update psoc6pdl to 1.6.0.4266-rc3
2020-06-19 16:16:55 +03:00
Roman Okhrimenko
bcc8c2cdae
Rename 064B0S2 linker scripts names per common pattern
2020-06-19 16:16:54 +03:00
Roman Okhrimenko
2a313c3ed7
Update prebuild Secure CM0p hex file from multi image case with 064B0S2 to 1.2.0.210
2020-06-19 16:16:54 +03:00
Roman Okhrimenko
4043deee7e
Update linker scripts with templates from psoc6pdl 1.6.0.4172 for IAR and ARM for 064B0S2, add cm4_dual versions
2020-06-19 16:16:54 +03:00
Roman Okhrimenko
66f6e2a199
Update asset psoc6cm0p build 1.2.0.210 RC1
2020-06-19 16:16:54 +03:00
Roman Okhrimenko
f99a1c49b9
Update GeneratedSource and system files for B0S2 using psoc6pdl 1.6.0.4172 RC2
2020-06-19 16:16:54 +03:00
Roman Okhrimenko
aa3c81e749
Update psoc6pdl to .1.6.0.4172 RC2
2020-06-19 16:16:54 +03:00
Roman Okhrimenko
797bf090b9
Delete policies and linker files for multi image for B0S2
2020-06-19 16:16:53 +03:00
Roman Okhrimenko
edcda5192a
Delete ES10 related sb-tools folder from TARGET_PSOC6, post build now use cysecuretools
2020-06-19 16:16:47 +03:00
Roman Okhrimenko
b59a80d6ca
Add 064B0S2 target to targets.json
2020-06-19 16:16:47 +03:00
Roman Okhrimenko
773a4becf1
Delete ES10 targets from targets.json
2020-06-19 16:16:47 +03:00
Roman Okhrimenko
c97f140590
Delete ES10 target source CY8CKIT_064S2_4343W
2020-06-19 16:16:00 +03:00
Roman Okhrimenko
07bf595dce
Delete ES10 target source CYESKIT_064B0S2_4343W
2020-06-19 16:15:45 +03:00
Roman Okhrimenko
64a3d26493
Delete ES10 target source CY8CPROTO_064_SB
2020-06-19 16:15:34 +03:00
Roman Okhrimenko
571e097d9f
Add secure cm0 psoc6cm0p hex prebuild 1.2.0.174 file to 064B0S2 BSP
2020-06-19 16:13:59 +03:00
Roman Okhrimenko
bdac29e93e
Add 064B0S2 target BSP files using psoc6pdl 1.6.0.3875
2020-06-19 16:13:59 +03:00
Roman Okhrimenko
683e3631da
Update psoc6cm0p to 1.2.0.174
2020-06-19 16:13:59 +03:00
Roman Okhrimenko
4700a726f8
Update psoc6pdl to 1.6.0.3875
2020-06-19 16:13:59 +03:00
Martin Kojtal
3d031cebe4
Merge pull request #13158 from toyowata/fix_wio_emw3166
...
[WIFI] Add NSAPI_PRESENT macro in the WicedInterface
2020-06-19 12:52:42 +02:00
Martin Kojtal
6646e8e79e
Merge pull request #13128 from farrenv/add-EP-ATLAS
...
Add support for Embedded Planet target Atlas
2020-06-19 09:09:35 +02:00
toyowata
7ad0174815
[WIFI: WicedInterface] Add NSAPI_PRESENT macro
2020-06-19 14:28:45 +09:00
Martin Kojtal
920133e8ed
Merge pull request #13118 from evedon/ed-full-profile
...
Replaced rtos profile with full profile
2020-06-18 22:19:59 +02:00
Vance Farren
70b0acaa33
clean up dead code
2020-06-18 08:56:40 -04:00
Jaeden Amero
4961d4a52d
psa: Configure Mbed TLS to use PSA as needed
...
Configure Mbed TLS to automatically enable PSA as needed. When Mbed OS
is configured to use PSA, configure Mbed TLS to use PSA. This prevents
leaking of the "how to make Mbed TLS use PSA" knowledge up into
targets.json, and thus makes porting simpler. There is now one place
where "how to make TLS use PSA" exists rather than repeated throughout
targets.json for each target that can't inherit from PSA_Target.
2020-06-18 12:18:12 +01:00
Devaraj Ranganna
76e911c5ef
psa: Replace Mbed PSA with TF-M
...
Add TF-M to Mbed OS, replacing the previous PSA implementation for
TF-M-capable targets. This commit adds files imported from TF-M, without
modification. The version of TF-M imported can be found in
`features/FEATURE_PSA/TARGET_TFM/VERSION.txt`.
These changes switch to TF-M as the sole PSA implementation for v8-M and
dual core targets, with TF-M running on the secure side and Mbed OS
running on the non-secure side. Single core v7-M targets will continue
to have PSA implemented via PSA emulation, implemented by Mbed OS.
Move or remove many PSA-implementing files, as PSA will be provided by
TF-M on non-single-v7-M targets. Delete any files that are not relevant
for PSA emulation mode.
- Remove imported TF-M SPM
- Remove Mbed SPM and tests
- Remove Mbed-implemented PSA services and tests
- Remove PSA_SRV_IMPL, PSA_SRV_IPC, PSA_SRV_EMUL and NSPE.
- Replace PSA_SRV_EMUL and PSA_SRV_IMPL with MBED_PSA_SRV
- Remove any files autogenerated by
"tools/psa/generate_partition_code.py", which no longer exists.
Add new feature `PSA` to support PSA in Mbed OS.
Move the Mbed OS implementation of PSA services for v7-M targets (which
employ PSA emulation, and don't yet use TF-M) to
features/FEATURE_PSA/TARGET_MBED_PSA_SRV. Update the `requires`
attribute in TESTS/configs/baremetal.json to avoid breaking baremetal
testing builds.
Update .astyleignore to match new directory structure
Update Mbed TLS importer to place files into FEATURE_PSA
Create the following generic PSA targets:
* `PSA_Target` (Root level PSA generic target)
* `PSA_V7_M` (Single v7-M PSA generic target)
* `PSA_DUAL_CORE` (Dual-core PSA generic target)
* `PSA_V8_M` (v8-M PSA generic target)
Flatten MUSCA_NS and private MUSCA targets into public MUSCA targets.
Move mcuboot.bin to flat location (removing prebuilt folder)
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-06-18 12:16:20 +01:00
Devaraj Ranganna
01dd997d55
target: Include missing `cmsis_nvic.h`
...
The header `cmsis_nvic.h` defines vector start address in RAM
`NVIC_RAM_VECTOR_ADDRESS` which is used in
`mbed_boot.c:mbed_cpy_nvic()`. But `mbed_boot.c` only includes
`cmsis.h`. Due to this `mbed_cpy_nvic` becomes an empty function and the
vectors don't get relocated to RAM. This causes BusFault error when Mbed
OS tries to update any of the IRQ handlers.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-06-18 12:16:19 +01:00
Devaraj Ranganna
db67302850
target: Add BL2 macro to MUSCA B target config
...
BL2 macro is used in `region_defs.h` to define the `BL2_HEADER_SIZE`.
Without BL2 macro, `BL2_HEADER_SIZE` is set to 0. This leads to
incorrect start address (Reset_Handler of Mbed OS) derived by TF-M based
on `region_defs.h` and BL2 macro.
BL2 macro is set for MUSCA B in TF-M.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-06-18 12:16:17 +01:00
Devaraj Ranganna
e2af612a99
tools: Musca B1 signing strategy
...
Currently, the final binary (TF-M + Mbed OS) is signed after
concatenating TF-M and Mbed OS binaries. But TF-M signs the images
separately and then concatenates them. Update the Musca B1 signing
strategy to match TF-M.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-06-18 12:16:16 +01:00
Jaeden Amero
dc22d89c7f
musca_b1: Remove device-specific virtual NVIC
...
Use instead the general TF-M v8-M virtual NVIC which will be added in
the commit that replaces Mbed PSA with TF-M PSA:
features/FEATURE_PSA/TARGET_TFM/TARGET_TFM_V8M/src/cmsis_nvic_virtual.c
2020-06-18 12:16:14 +01:00
Jaeden Amero
d314a6cc57
cypress: psoc64: Add TF-M compatibility (again)
...
Partially revert f38e21fa6c
("Update PSoC 6 BSPs to verion 1.2") to
restore TF-M compatibility.
Make the CY8CKIT_064S2_4343W target TF-M compatible by addding flash and
region definitions from TF-M (at c4f37c18c4a0) and by updating the
CY8CKIT_064S2_4343W linker script to create a flash image compatible
with TF-M.
Fixes: f38e21fa6c
("Update PSoC 6 BSPs to verion 1.2")
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-06-18 12:16:10 +01:00
Martin Kojtal
e9b1df671e
Merge pull request #13143 from jeromecoutant/PR_H7_BARE
...
STM32H7: correct Ethernet issue in baremetal
2020-06-18 10:25:51 +02:00
Martin Kojtal
eebd773d3a
Merge pull request #13148 from OpenNuvoton/nuvoton_remove_m2351_npsa_from_6.0
...
M2351: Remove from master
2020-06-18 10:24:41 +02:00
Martin Kojtal
29aa6d8ea5
Merge pull request #13115 from NXPmicro/MXRT1050_USB
...
MIMXRT1050_EVK: Add USB support
2020-06-18 09:56:47 +02:00
Martin Kojtal
66343b0d25
Merge pull request #12937 from macronix/macronix_qspi
...
Modify the operation of setting qspi frequency when calling Octo controller
2020-06-18 09:43:45 +02:00
Martin Kojtal
aafae5d644
Merge pull request #12751 from jeromecoutant/PR_WB_USB
...
STM32WB: enable USB Device
2020-06-18 09:42:42 +02:00
Chun-Chieh Li
95635f9c54
M2351: Remove from master
...
Since Mbed OS 6.0, secure build is not supported yet. Remove it from master temporarily.
For non-TF-M support (NU_PFM_M2351_NPSA_S/NS), go to mbed-os-5.15 branch and Mbed OS 5.15 release.
For TF-M support (NU_PFM_M2351_S/NS), this needs M2351 integrated into TF-M repo first.
Expect M2351 TF-M support can come back into master after integration with TF-M is finished.
2020-06-18 09:42:29 +08:00
Martin Kojtal
86dad5cda9
Merge pull request #12471 from AGlass0fMilk/adc-voltage-api
...
Extend AnalogIn API: read_voltage
2020-06-17 19:57:28 +02:00
jeromecoutant
b4d31ae863
STM32H7: correct Ethernet issue in baremetal
2020-06-17 18:39:34 +02:00
Vance Farren
1f20df9c7d
missing comma in targets.json
2020-06-17 12:10:19 -04:00
Vance Farren
1d8da69586
updates for mbed os 6
2020-06-17 12:10:19 -04:00
Vance Farren
b8687ab524
add EP_ATLAS as mbed target
2020-06-17 12:10:19 -04:00
Mahesh Mahadevan
9e8998a91c
KW41Z: Avoid using TARGET_NXP macro
...
Having Freescale and NXP macro causes compile from both
TARGET_Freescale and TARGET_NXP HAL folders.
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-06-17 11:04:35 -05:00
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
Kyle Kearney
6a2d93ee94
Add optional post-bsp-init hook
...
This allows the application to inject its own resource reservations
immmediately after the BSP (and therefore HAL) is initialized,
ensuring that they can claim require resources before mbed tries
to use them for more flexible purposes. For example, the application
might want to claim a particular timer to make sure that it doesn't
get picked for us_ticker (which can use any arbitrary timer instance).
2020-06-16 11:07:34 -07:00
Kyle Kearney
ab5eb07e3c
Stop the us_ticker timer before deepsleep
...
A running timer will block DeepSleep, which would normally be
good because we don't want the timer to accidentally lose counts.
We don't care about that for us_ticker (If we're requesting deepsleep
the upper layers already determined that they are okay with that),
so explicitly stop the us_ticker timer before we go to sleep and
start it back up afterwards.
2020-06-16 11:07:34 -07:00
Martin Kojtal
3333f4185e
Merge pull request #12747 from jeromecoutant/PR_MBEDTLS
...
STM32 MBEDTLS support with HW crypto
2020-06-16 13:55:50 +02:00
Martin Kojtal
7b5a8d37b5
Merge pull request #12966 from MultiTechSystems/update-df413-onoff
...
DRAGONFLY_F413RH: Update power on and power off functionality
2020-06-16 13:54:01 +02:00
Martin Kojtal
0614e92c5b
Merge pull request #13083 from jeromecoutant/PR_H7_CUBE170
...
STM32H7 update drivers version to CUBE V1.7.0
2020-06-16 13:45:42 +02:00
Martin Kojtal
0b0ab6bf87
Merge pull request #13086 from jeromecoutant/PR_F1
...
STM32F1 update drivers version to CUBE V1.8.0
2020-06-16 13:45:25 +02:00
Martin Kojtal
e901ea9845
Merge pull request #13100 from vmedcy/pr/fix-13058
...
Fix BOOT_HEADER_SIZE allocation in ARM scatter files (#13058 )
2020-06-16 13:45:06 +02:00
Evelyne Donnaes
4d3c6b3a64
Replaced rtos profile with full profile
2020-06-15 13:42:24 +01:00
jeromecoutant
dcf2490b5a
STM32F1 STM32Cube FW V1.8.0: update for MBED
2020-06-15 13:49:47 +02:00
jeromecoutant
c99c8b5036
STM32F1 STM32Cube FW V1.6.1 => V1.8.0: target part
...
- SetSysClock update
2020-06-15 13:49:47 +02:00
jeromecoutant
ce3fc30cf0
STM32F1 STM32Cube FW V1.6.1 => V1.8.0
2020-06-15 13:49:46 +02:00
jeromecoutant
f13b06a7bc
STM32F1 STM32Cube FW V1.6.1 => V1.8.0: Driver part
2020-06-15 13:49:46 +02:00
jeromecoutant
97bf6fa386
STM32F1 STM32Cube FW V1.6.1 => V1.8.0: CMSIS part
2020-06-15 13:49:46 +02:00
jeromecoutant
1152c651d9
STM32F1: targets inherit from non public default MCU configuration
2020-06-15 13:49:39 +02:00
jeromecoutant
533fe21750
STM32F1: directory restructuration
2020-06-15 13:48:04 +02:00
Martin Kojtal
8b70dfe593
Merge pull request #13095 from jeromecoutant/PR_FULLBARE
...
STM32: MCU_STM32 supports rtos and bare-metal profiles
2020-06-15 11:30:50 +02:00
Anna Bridge
a870fcface
Merge pull request #13001 from jeromecoutant/PR_BAREMETAL_SUPPORT_STEP2
...
STM32 baremetal support step2 (L1/L4/WB)
2020-06-12 14:44:14 +01:00
Anna Bridge
58975d1df4
Merge pull request #13091 from jeromecoutant/PR_BAREMETAL_SUPPORT
...
STM32 baremetal support step3/3 (F2/F4)
2020-06-12 14:42:35 +01:00
Anna Bridge
727cf54873
Merge pull request #13073 from jeromecoutant/PR_H7_FPGA
...
STM32H7: FPGA tests support
2020-06-11 14:39:31 +01:00
jeromecoutant
46ccded9b1
STM32: MCU_STM32 supports rtos and bare-metal profiles
2020-06-10 14:25:24 +02:00
Martin Kojtal
698fc09b4c
Merge pull request #12615 from jeromecoutant/PR_FPGA_UART
...
FPGA UART test cases addition with 7 and 9 bits data length
2020-06-10 13:51:18 +02:00
Martin Kojtal
878875c884
Merge pull request #13090 from jeromecoutant/PR_DEVICE_H
...
STM: move us_ticker_defines.h include
2020-06-10 11:53:57 +02:00
Martin Kojtal
0f2a28d52f
Merge pull request #13053 from jeromecoutant/PR_README
...
STM32 more information in README file
2020-06-10 11:43:24 +02:00
Volodymyr Medvid
dc937ab53b
Fix BOOT_HEADER_SIZE allocation in ARM scatter files ( #13058 )
...
PSoC 64 secure BSP post-build hook (cysecuretools image signing)
expects the HEX file with start address 0x10000400 (first KB of
internal FLASH is reserved for MCUboot headers area).
In order to get the correct HEX file produced by ARM fromELF tool,
the ELF file should allocate LR_IROM1 starting from address
0x10000400, not 0x10000000. Otherwise the generated HEX file
allocates rows at addresses 0x10000000 ~ 010000400 and the
final application image is not signed correctly.
Fixes https://github.com/ARMmbed/mbed-os/issues/13058 .
2020-06-10 10:25:41 +03:00
jeromecoutant
47407759a4
STM: move us_ticker_defines.h include
2020-06-09 11:04:23 +02:00
jeromecoutant
713618abe0
STM32F4 baremetal support
2020-06-09 10:25:41 +02:00
jeromecoutant
adbd936cbc
STM32F2 baremetal support
2020-06-09 10:24:36 +02:00
jeromecoutant
048f454a5a
STM32H7: remove GENERIC_H745I
2020-06-08 15:33:42 +02:00
jeromecoutant
c815471526
STM33H7: DISCO_H747I inherit from MCU_STM32H747xI
2020-06-08 15:33:22 +02:00
jeromecoutant
561f8d48bf
STM32H7 STM32Cube FW V1.5.0 => V1.7.0
2020-06-08 14:33:10 +02:00
jeromecoutant
9936a53bd1
STM32H7 STM32Cube FW V1.5.0 => V1.7.0: HAL Driver part
2020-06-08 14:33:09 +02:00
jeromecoutant
21f262b5c3
STM32H7 STM32Cube FW V1.5.0 => V1.7.0: CMSIS part
2020-06-08 14:33:09 +02:00
jeromecoutant
7d181c1bf7
STM32H7: directory restructuration
...
- only files move
- sometimes files rename
+ targets.json update
2020-06-08 14:33:08 +02:00
jeromecoutant
59d2dd5e1f
DISCO_L562QE: enable MBEDTLS_CONFIG_HW_SUPPORT
2020-06-08 13:57:57 +02:00
jeromecoutant
bfadc650f6
NUCLEO_WB55RG: enable MBEDTLS_CONFIG_HW_SUPPORT
2020-06-08 13:56:31 +02:00
jeromecoutant
551f8b4231
NUCLEO_WB55RG: enable USBDEVICE
2020-06-08 13:17:23 +02:00
jeromecoutant
26223e6652
NUCLEO_F439ZI: align USB config from NUCLEO_F429ZI
2020-06-08 13:14:00 +02:00
Martin Kojtal
8d26d77690
Merge pull request #12482 from AGlass0fMilk/add-nucleo-g474re
...
NUCLEO_G474RE: Add new platform
2020-06-08 12:38:40 +02:00
jeromecoutant
28f8307afa
STM32WB baremetal support
...
move BLE files to FEATURE_BLE
2020-06-08 12:06:01 +02:00
jeromecoutant
0a447ac798
STM32L4 baremetal support
2020-06-08 12:05:54 +02:00
jeromecoutant
ba7deb4660
STM32L1 baremetal support
2020-06-08 11:46:56 +02:00
jeromecoutant
1292053bf9
STM32 more information in README file
2020-06-08 10:02:33 +02:00
jeromecoutant
c9e0c4f6f7
STM32WB ReadMe quick update
...
See #12975
2020-06-08 10:02:33 +02:00
jeromecoutant
10a5b97396
STM32H7: NUCLEO_H743ZI2 pins update
2020-06-05 16:26:33 +02:00
jeromecoutant
1484ac0859
STM32H7: DISCO_H747I pins update
2020-06-05 16:26:23 +02:00
jeromecoutant
b289d5a08f
STM32H7: enable dual analogic pad
2020-06-05 16:26:22 +02:00
jeromecoutant
538552adea
STM32H7 ADC issue correction
2020-06-05 16:26:22 +02:00
Martin Kojtal
59df4efaac
Merge pull request #13022 from jeromecoutant/PR_BSP
...
STM32: add weak TargetBSP_Init function
2020-06-05 16:01:25 +02:00
Martin Kojtal
49c1d947fa
Merge pull request #13044 from hugueskamba/hk_nrf_implicit_declaration
...
NRF: fix implicit declarations
2020-06-05 14:44:31 +02:00
Martin Kojtal
95a704ed92
Merge pull request #13045 from kyle-cypress/pr/pin-header-cyeskit
...
CYESKIT_064B0S2_4343W: Remove parentheses from arduino pins
2020-06-05 13:10:41 +02:00
Martin Kojtal
3ef2b1642e
Merge pull request #12996 from pilotak/master
...
STM32F412 bypass PLL configuration when already done by bootloader
2020-06-05 10:48:41 +02:00
Martin Kojtal
65cbf9759d
Merge pull request #13047 from hugueskamba/hk_nrf_arm_compiler
...
NRF: Migrate ARM Compiler 5 feature re-locate zero initialized variables
2020-06-05 10:48:06 +02:00
Martin Kojtal
819b9f98e0
Merge pull request #13043 from hugueskamba/hk_nrf_serial_warning
...
NRF serial: Use nrf_uarte_event_t enum to avoid implicit conversion
2020-06-05 10:47:49 +02:00
Martin Kojtal
8911f96c1b
Merge pull request #13014 from jeromecoutant/PR_H7CM4
...
DISCO_H747I_CM4 is supporting now hex format
2020-06-04 15:23:26 +02:00
Martin Kojtal
ed0cadfa9e
Merge pull request #12992 from jeromecoutant/PR_BAREMETAL_SUPPORT_STEP1
...
STM32 baremetal support step1 (F0/F1/F3/H7/L0)
2020-06-04 15:22:06 +02:00
Martin Kojtal
0988e5d0f9
Merge pull request #13064 from 0xc0170/fix_nxp_vector
...
nxp: fix vector redefinition from CMSIS
2020-06-04 15:10:40 +02:00
Martin Kojtal
ab439624ed
Merge pull request #12979 from LDong-Arm/stack_size_expectation_from_config
...
stack_size_unification test: set expected stack sizes from config
2020-06-04 14:39:08 +02:00
Martin Kojtal
e0c7f25c5d
Merge pull request #12985 from dustin-crossman/pr/update_cysbsyskit_01
...
Update CYSBSYSKIT_01
2020-06-04 14:35:31 +02: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
Hugues Kamba
488f06b7e1
NRF: Migrate ARM Compiler 5 feature re-locate zero initialized variables
...
ARM Compiler 6 does not support placing a zero-initialized variable in a
zero-initialized section with a given name.
The migration path for this feature is what is as done in this commit.
The name of the section is what comes after `.bss.` (`nvictable` in this
case).
Also simplify pre-processor directive to test for Arm compiler.
2020-06-01 10:35:13 +01:00
Hugues Kamba
992133be50
NRF: fix implicit declarations
...
As a result removes warnings
2020-06-01 10:26:51 +01:00
Kyle Kearney
7ad94db586
CYESKIT_064B0S2_4343W: Remove parentheses from arduino pins
...
Avoid build failures when arduino pin names collide with C++ template
argument names.
Addresses issue #13027
2020-05-29 17:17:05 -07:00
Hugues Kamba
f6d6d44346
NRF serial: Use nrf_uarte_event_t enum to avoid implicit conversion
2020-05-29 20:20:12 +01:00
Jaeden Amero
aa7a02f0a9
musca: Mark Musca targets as experimental
...
TF-M and PSA have experimental APIs. Musca targets must initialize the
tfm_ns_lock, via the experimental API tfm_ns_lock_init(), as part of
their ordinary initialization procedure. Therefore, Musca targets must
have experimental APIs present in order to function. Add the
experimental API feature to Musca targets by default to ease usability
of the Musca targets, rather than requiring all users and CI to manually
enable experimental APIs when using these targets.
2020-05-29 13:19:11 +01:00
Jaeden Amero
295ff531a4
psa: Pick up code from MBED_PSA_SRV
...
Make single Armv7-M PSA targets pick up files under TARGET_MBED_PSA_SRV.
We'll be moving the Mbed implementation of PSA to TARGET_MBED_PSA_SRV
folders soon.
Targets (dual-core and Armv8-M) that expect to use TF-M for their PSA
implementation also have MBED_PSA_SRV labels added to them so that they
continue working with the Mbed PSA implementation for the time being.
2020-05-29 13:19:11 +01:00
jeromecoutant
76135d0820
STM32: add weak TargetBSP_Init function
2020-05-27 16:49:54 +02:00
jeromecoutant
876125ad49
DISCO_H747I_CM4 is supporting now hex format
...
- minimum STLink version: V3J7M2
2020-05-25 11:34:40 +02:00
rogeryou
de9b283abe
modify the div value when calling octo controller.
...
For ST OSPI controller driver(stm32l4xx_hal_ospi.c), the frequency it has be subtracted 1, so "div = div - 1;" should be removed.
2020-05-25 12:07:24 +08:00
George Beckstein
28e221da18
Update NUCLEO_G474RE target definition to inherit from renamed MCU_STM32
2020-05-20 07:30:18 -04:00
George Beckstein
658d89be8c
Apply linker fix as in #12690 to new NUCLEO_G474RE target
2020-05-20 06:39:17 -04:00
George Beckstein
6e2fa616c7
Added spi_api.c implementation
2020-05-20 06:39:17 -04:00
George Beckstein
eb8d128a24
Updated system clock settings to run at 170MHz (max for this target). Affects both HSI and HSE modes.
2020-05-20 06:39:17 -04:00
George Beckstein
f391718a6d
Updated detect code for NUCLEO_G474RE
2020-05-20 06:39:17 -04:00
George Beckstein
44ca862af3
Changed us_ticker configuration to use TIM5 instead of TIM2 to be consistent with the allowed PWM peripheral pins.
2020-05-20 06:39:17 -04:00
George Beckstein
2297e1b91e
Updated clock configuration settings for NUCLEO_G474RE
2020-05-20 06:39:17 -04:00
George Beckstein
c687ae312f
Added missing analogin_device.c file and configured for STM32G4xx series
2020-05-20 06:39:17 -04:00
George Beckstein
613af0f604
Added support for ANALOGOUT
2020-05-20 06:39:17 -04:00
George Beckstein
934d60e63d
Added support for FLASH API
2020-05-20 06:39:17 -04:00
George Beckstein
7f19c8ac6e
Added support for SPI API
2020-05-20 06:39:17 -04:00
George Beckstein
06d74aa37a
Added support for PWMOUT
2020-05-20 06:39:17 -04:00
George Beckstein
e38dfc78b6
Added support for PORT APIs
2020-05-20 06:39:17 -04:00
George Beckstein
f59ec66710
Added support for INTERRUPTIN
2020-05-20 06:39:17 -04:00