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
George Beckstein
4f41d2d66c
Added support for I2CSLAVE and I2C_ASYNCH
2020-05-20 06:39:17 -04:00
George Beckstein
5e25e004df
Added support for I2C
2020-05-20 06:39:17 -04:00
George Beckstein
cc86ec99d0
Added ANALOGIN support
2020-05-20 06:39:17 -04:00
George Beckstein
b11d160195
Added RTC support
2020-05-20 06:39:17 -04:00
George Beckstein
d68ec74852
Added USTICKER support
2020-05-20 06:39:17 -04:00
George Beckstein
118919b820
Added RESET_REASON support (untested).
2020-05-20 06:39:17 -04:00
George Beckstein
80c5d96420
Added support for WDT (untested). Checked datasheet for maximum LSI frequency
2020-05-20 06:39:17 -04:00
George Beckstein
143a54922d
Add support for SLEEP (untested)
2020-05-20 06:39:17 -04:00
George Beckstein
46ecb489b9
Add support for STDIO_MESSAGES
2020-05-20 06:39:17 -04:00
George Beckstein
740a73fa5b
Add support for SERIAL_FC (untested)
2020-05-20 06:39:17 -04:00
George Beckstein
3432960aa1
Implemented support for basic serial communication
2020-05-20 06:39:17 -04:00
George Beckstein
ec2544023d
Added basic support for NUCLEO_G747RE. Basic GPIO support and system initialization.
2020-05-20 06:39:17 -04:00
jeromecoutant
13ba114d12
STM32G4 DISCO_G474RE introduction
...
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant
2631bf8070
STM32G4 NUCLEO_G474RE introduction
...
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant
fd2bac73c9
STM32G4 NUCLEO_G431RB introduction
...
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant
85e8a59e84
STM32G4 NUCLEO_G431KB introduction
...
- Only script result
- Can't compile
2020-05-20 06:39:17 -04:00
jeromecoutant
35e3ce9034
STM32G4 automatic adaptation for MBED
2020-05-20 06:39:17 -04:00
jeromecoutant
b387ed6bc1
STM32G4 introduction
...
Import from STM32Cube_FW_G4_V1.1.0
2020-05-20 06:39:17 -04:00
Pavel Slama
9d7e55b3f3
move system_clock.c to the root
2020-05-19 13:33:55 +02:00
Pavel Slama
1fc9561af7
STM32F412 bypass PLL configuration when already done by bootloader
2020-05-19 11:48:56 +02:00
Martin Kojtal
3847373660
targets: add baremetal to some known tested targets
2020-05-19 10:45:43 +01:00
Martin Kojtal
ada878122c
targets: fix indent
2020-05-19 10:37:13 +01:00
Martin Kojtal
6ca3c42942
targets: profiles remove/add not functional, replace it
...
It might be a bug as it should work.
2020-05-19 10:34:21 +01:00
Martin Kojtal
dd6ed6c968
Revert "targets: enable baremetal by default"
...
This reverts commit 9b4cddd16a
.
Not all targets can be enabled, will need more work.
2020-05-19 10:26:48 +01:00
Qinghao Shi
f478a21de2
Merge pull request #12982 from 0xc0170/fix_release_version
...
build api: fix release version
2020-05-18 22:40:44 +01:00
Martin Kojtal
9b4cddd16a
targets: enable baremetal by default
...
For only baremetal targets, just drop in replace. Don't need to add/remove.
2020-05-18 19:47:38 +01:00
Martin Kojtal
d6fbda35d7
targets: add rtos profile by default
...
Every target is assumed to supported Mbed OS. If its not the case, it supports
only baremetal. Thus removing rtos, and adding bare-metal to the app profile.
2020-05-18 19:39:40 +01:00
jeromecoutant
b57b12cc9f
STM32L0 baremetal support
2020-05-18 17:27:42 +02:00
jeromecoutant
9b819c7f8b
STM32H7 baremetal support
2020-05-18 17:27:32 +02:00
jeromecoutant
739b2048d4
STM32F3 baremetal support
2020-05-18 17:26:50 +02:00
jeromecoutant
96016aea17
STM32F1 baremetal support
2020-05-18 15:27:30 +02:00
jeromecoutant
794e0aa0cf
STM32F0 baremetal support
2020-05-18 15:27:29 +02:00
Leon Lindenfelser
b8554a3f26
Update power on and power off functionality
...
Implement soft_power_on/off() and hard_power_on/off() to perform as described in mbed-os CellularDevice API.
2020-05-18 08:11:40 -05:00
Martin Kojtal
e345542b70
Merge pull request #12978 from vmedcy/pr-dev/pdl-1.5.2
...
Update psoc6pdl to v1.5.2
2020-05-18 13:10:21 +02:00
Martin Kojtal
5df3c91e1d
RZ_A1XX: public set to false as its base target
2020-05-18 11:17:29 +01:00
jeromecoutant
2c0d96c57c
FPGA test : remove test specific macro from targets.json
2020-05-18 11:48:12 +02:00
Dustin Crossman
96052c3347
Update CYSBSYSKIT_01 board init
2020-05-15 15:52:44 -07:00
Dustin Crossman
a4c64481ea
Update COMPONENT_SCL to version 1.0.0
2020-05-15 15:52:09 -07:00
MarceloSalazar
40080a8389
Remove MAX32620HSP as unsupported
2020-05-15 20:29:35 +01:00
MarceloSalazar
3ba07baad7
Remove 2 as release_version
2020-05-15 20:27:03 +01:00
Lingkai Dong
0ac17eaea8
Define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE properly in rtos mbed_lib.json
2020-05-15 15:16:44 +01:00
Martin Kojtal
77d5583649
Merge pull request #12977 from jeromecoutant/PR_CLEAN_ARM_MICRO
...
STM32: remove uARM toolchain
2020-05-15 14:16:05 +02:00
Martin Kojtal
6cbe22dc59
Merge pull request #12623 from toyowata/baremetal_lpc1114
...
LPC1114: baremetal profile support
2020-05-15 13:17:52 +02:00
Kyle Kearney
0fa5e32c95
Update psoc6pdl to v1.5.2
2020-05-15 11:50:18 +01:00
jeromecoutant
c96eb2cd0e
STM32 rename TOOLCHAIN_ARM_STD into TOOLCHAIN_ARM
2020-05-15 10:41:28 +02:00
jeromecoutant
303752ad84
STM32 remove all TOOLCHAIN_ARM_MICRO
2020-05-15 09:37:40 +02:00
Martin Kojtal
b1071487a3
Merge pull request #12951 from MarceloSalazar/S2LP_cleanup
...
Clean-up S2LP driver configuration
2020-05-15 08:08:47 +02:00
Martin Kojtal
37ee008b90
Merge pull request #12961 from MarceloSalazar/remove_nrf51
...
Remove nRF51 targets
2020-05-15 08:08:26 +02:00
Marcelo Salazar
149656447d
Remove target dep. on S2LP driver
2020-05-14 17:17:27 +01:00
jeromecoutant
71e82ec3de
STM32WB MBED6 supported targets
...
NUCLEO_WB55RG => MCU_STM32
2020-05-14 13:55:33 +02:00
jeromecoutant
d0bf04fbba
STM32L5 MBED6 supported targets
...
NUCLEO_L552ZE_Q => MCU_STM32
DISCO_L562QE => MCU_STM32
2020-05-14 13:55:33 +02:00
jeromecoutant
1a80cde2da
STM32L4 MBED6 supported targets
...
NUCLEO_L432KC => MCU_STM32_BAREMETAL
NUCLEO_L433RC_P => MCU_STM32
NUCLEO_L452RE_P => MCU_STM32
DISCO_L475VG_IOT01A => MCU_STM32
NUCLEO_L476RG => MCU_STM32
DISCO_L476VG => MCU_STM32
NUCLEO_L486RG => MCU_STM32
DISCO_L496AG => MCU_STM32
NUCLEO_L496ZG => MCU_STM32
NUCLEO_L496ZG_P => MCU_STM32
NUCLEO_L4R5ZI => MCU_STM32
NUCLEO_L4R5ZI_P => MCU_STM32
DISCO_L4R9I => MCU_STM32
2020-05-14 13:55:33 +02:00
jeromecoutant
e0b096b0e4
STM32L1 MBED6 supported targets
...
NUCLEO_L152RE => MCU_STM32
2020-05-14 13:55:32 +02:00
jeromecoutant
cda2538bd2
STM32L0 code cleaning
2020-05-14 13:55:32 +02:00
jeromecoutant
b1be927bdc
STM32L0 MBED6 supported targets
...
NUCLEO_L011K4 => removed
NUCLEO_L031K6 => removed
DISCO_L053C8 => removed
NUCLEO_L053R8 => removed
DISCO_L072CZ_LRWAN1 => MCU_STM32
NUCLEO_L073RZ => MCU_STM32_BAREMETAL
2020-05-14 13:55:32 +02:00
jeromecoutant
2a9d00fbfd
STM32H7 MBED6 supported targets
...
NUCLEO_H743ZI => removed
NUCLEO_H743ZI2 => MCU_STM32
GENERIC_H745I_CM4 => MCU_STM32
GENERIC_H745I_CM7 => MCU_STM32
DISCO_H747I => MCU_STM32
DISCO_H747I_CM7 => MCU_STM32
DISCO_H747I_CM4 => MCU_STM32
2020-05-14 13:55:32 +02:00
jeromecoutant
0d0b2c1eeb
STM32G0 MBED6 supported targets
...
NUCLEO_G071RB => MCU_STM32_BAREMETAL
2020-05-14 13:55:32 +02:00
jeromecoutant
00f58b4b79
STM32F7 MBED6 supported targets
...
DISCO_F746NG => MCU_STM32
NUCLEO_F746ZG => MCU_STM32
NUCLEO_F756ZG => MCU_STM32
NUCLEO_F767ZI => MCU_STM32
DISCO_F769NI => MCU_STM32
2020-05-14 13:55:32 +02:00
jeromecoutant
dd46dfccb2
STM32F4 code cleaning
2020-05-14 13:55:22 +02:00
jeromecoutant
f864179bd6
STM32F4 MBED6 supported targets
...
NUCLEO_F401RE => MCU_STM32
DISCO_F401VC => removed
STEVAL_3DP001V1 => removed
DISCO_F407VG => removed
NUCLEO_F410RB => removed
NUCLEO_F411RE => MCU_STM32
NUCLEO_F412ZG => MCU_STM32
DISCO_F413ZH => MCU_STM32
NUCLEO_F413ZH => MCU_STM32
NUCLEO_F429ZI => MCU_STM32
DISCO_F429ZI => MCU_STM32
NUCLEO_F439ZI => MCU_STM32
NUCLEO_F446RE => MCU_STM32
B96B_F446VE => removed
NUCLEO_F446ZE => MCU_STM32
DISCO_F469NI => MCU_STM32
2020-05-14 13:55:22 +02:00
jeromecoutant
f116fe0daa
STM32F3 code cleaning
2020-05-14 13:55:21 +02:00
jeromecoutant
1b2e784aa9
STM32F3 MBED6 supported targets
...
NUCLEO_F302R8 => removed
NUCLEO_F303K8 => MCU_STM32_BAREMETAL
NUCLEO_F303RE => MCU_STM32_BAREMETAL
DISCO_F303VC => removed
NUCLEO_F303ZE => MCU_STM32
DISCO_F334C8 => removed
NUCLEO_F334R8 => removed
2020-05-14 13:55:21 +02:00
jeromecoutant
af7090d96c
STM32F2 MBED6 supported targets
...
NUCLEO_F207ZG => MCU_STM32
2020-05-14 13:55:21 +02:00
jeromecoutant
126a9c9693
STM32F1 code cleaning
2020-05-14 13:55:21 +02:00
jeromecoutant
7ac968b7b2
STM32F1 MBED6 supported targets
...
DISCO_F100RB => removed
NUCLEO_F103RB => MCU_STM32_BAREMETAL
2020-05-14 13:55:21 +02:00
jeromecoutant
a63fd00a9a
STM32F0 code cleaning
2020-05-14 13:55:21 +02:00
jeromecoutant
12f75992eb
STM32F0 MBED6 supported targets
...
NUCLEO_F030R8 => removed
NUCLEO_F031K6 => removed
NUCLEO_F042K6 => removed
DISCO_F051R8 => removed
NUCLEO_F070RB => MCU_STM32_BAREMETAL
NUCLEO_F072RB => MCU_STM32_BAREMETAL
NUCLEO_F091RC => MCU_STM32_BAREMETAL
2020-05-14 13:55:21 +02:00
jeromecoutant
9357f74136
MCU_STM32_BAREMETAL: keep supported_c_libs from MCU_STM32
2020-05-14 13:55:20 +02:00
Martin Kojtal
e371db441c
Merge pull request #12949 from 0xc0170/feature_CMSIS_5_b5f0603d6
...
CMSIS: update to CMSIS 5.7.0
2020-05-14 13:21:12 +02:00
Martin Kojtal
cb4449a727
Merge pull request #12958 from VeijoPesonen/stm32wb_vtor_bootloader
...
Fix vector table bug when using bootloader on STM32WB55
2020-05-13 19:23:42 +02:00
Martin Kojtal
ac3df20699
ad4050lz: fix gcc copy table and zero table missing
2020-05-13 14:16:05 +01:00
Martin Kojtal
8b777a571c
TARGET_MIMXRT1050: fix vector table redef from cmsis
...
We need a linker script as it was. As files update in the future, should be compatible
with newer CMSIS core.
2020-05-13 13:24:56 +01:00
Martin Kojtal
e2fb52aab7
M2351: fix startup after cmsis update
...
Don't use CMSIS low level startup
2020-05-13 12:21:05 +01:00
Martin Kojtal
981fcdf52a
M251: fix startup after cmsis update
...
Don't use CMSIS low level startup
2020-05-13 12:20:06 +01:00
Martin Kojtal
067630a2dd
Analog devices: overwrite cmsis startup
...
define __PROGRAM_START so we use own startup as AD had it defined, this fixes the conflicts with
CMSIS_5 update (they introduced low level init).
2020-05-13 11:39:28 +01:00
Martin Kojtal
2c8be47525
Revert "Use cmsis gcc types instead of own"
...
This reverts commit 606ccbceff
.
2020-05-13 10:43:57 +01:00
Marcelo Salazar
ccd95f1e14
Remove nRF51 targets
...
The following public nRF51 targets are being removed:
- NRF51822
- NRF51_DK
- NRF51_MICROBIT
2020-05-13 10:36:50 +01:00
Martin Kojtal
a4f6645162
Merge pull request #12959 from jeromecoutant/PR_TARGETS_JSON
...
STM32: targets json rework
2020-05-12 17:09:24 +02:00
Martin Kojtal
d04b4036a1
MIMXRT1050: undefine vector table symbol from CMSIS (not used)
2020-05-12 16:03:39 +01:00
Martin Kojtal
606ccbceff
Use cmsis gcc types instead of own
...
This caused a conflict. As CMSIS update introduced low level init, lets use the types
from CMSIS. We could potentionally use __cmsis_start but as I saw for some targets,
the init routine is slightly different. So rather keep what we have in targets, and just
use types already defined in CMSIS.
2020-05-12 16:01:21 +01:00
jeromecoutant
4510b4b4ad
targets.json: Creation of MCU_STM32_BAREMETAL
2020-05-12 14:56:45 +02:00
jeromecoutant
2862c817f5
STM32: reorder targets in targets.json
2020-05-12 14:37:16 +02:00
jeromecoutant
618692ca02
STM32 : use MCU_ name for non public targets
2020-05-12 14:31:31 +02:00
Martin Kojtal
8a254a9cc6
Merge pull request #12923 from OpenNuvoton/nuvoton_watchdog_lxt
...
Nuvoton: Refine more on watchdog HAL
2020-05-12 14:31:26 +02:00
Martin Kojtal
35c674758a
Merge pull request #12943 from kyle-cypress/pr/asset-update-ww2019
...
Cypress: Update assets to latest
2020-05-12 14:30:51 +02:00
Martin Kojtal
15ade20b4d
Merge pull request #12909 from kyle-cypress/pr/cypress-misc-fixes
...
Cypress: Misc target updates
2020-05-12 14:27:34 +02:00
Martin Kojtal
6950e78fcb
Merge pull request #12945 from malavikasajikumar/SDPK1-PinNames
...
Cleaning up PinNames.h for SDP-K1 board.
2020-05-12 14:26:41 +02:00
Martin Kojtal
b376ee1c7c
Merge pull request #12896 from OpenNuvoton/nuvoton_watchdog_hardfault
...
Nuvoton: Fix watchdog reset failure on meeting Hard Fault
2020-05-12 14:18:18 +02:00
Martin Kojtal
a7a6de28c3
Merge pull request #12888 from GaborAbonyi/musca_b1_i2c_pinmap_fix
...
Musca-B1: Fix I2C pinmap array
2020-05-12 14:17:29 +02:00
Martin Kojtal
e3b5f355eb
Merge pull request #12865 from OpenNuvoton/nuvoton_baremetal_nano130_m453
...
Nuvoton: Support bare-metal profile on NANO130 and M453
2020-05-12 14:13:21 +02:00
Martin Kojtal
e88c596fbb
Merge pull request #12801 from AGlass0fMilk/add-stm32h745
...
Add base support for STM32H745
2020-05-12 14:05:16 +02:00
Martin Kojtal
053af2d31c
Merge pull request #12856 from hugueskamba/hk_remove_uarm_st_boards
...
ST Boards: Remove uARM tooolchain support
2020-05-12 13:27:30 +02:00
Veijo Pesonen
a4c692bd41
Fix VTOR bug when using bootloader on STM32WB
...
The address of the vector table is hardcoded to the start of flash in
many, if not all, ST targets. This causes a crash in applications that
are using a bootloader. This patch updates the board STM32WB55 so it
properly handle updating the VTOR with a bootloader.
Solution has been copied from the PR #3798 .
2020-05-12 10:46:32 +03:00
toyowata
58acc4ee94
LPC1114 - add supported_application_profiles
2020-05-12 10:07:34 +09:00
toyowata
9cb039144a
[LPC11XX] Disable interrupt in us_ticker_init
2020-05-12 10:07:34 +09:00
toyowata
41435a0807
LPC1114 - Add supported_application_modes
2020-05-12 10:07:33 +09:00
toyowata
ab791ae01a
LPC1114 - linker script & startup code improvement
2020-05-12 10:07:33 +09:00
toyowata
d6779bb930
Support bare-metal build for NXP LPC1114
2020-05-12 10:07:33 +09:00
Martin Kojtal
a707fd133e
Merge pull request #12915 from rajkan01/hal_gettick_api_optim
...
Optimise HAL_GetTick API
2020-05-11 15:12:28 +02:00
Malavika Sajikumar
74bd04f381
Cleaning up PinNames.h for SDP-K1 board.
...
Added pin description comments to Arduino header pins and LED4.
Added I2C alias names.
Removed Oscillator and DEBUG pin definitions.
Use USBTX and USBRX for serial communications back to PC. Do not use STDIO_UART_TX and STDIO_UART_RX
2020-05-07 14:44:53 -07:00
Kyle Kearney
d22e32b100
Update WHD to v1.90.2
2020-05-07 10:08:50 -07:00
Kyle Kearney
9d0eb2f350
Update psoc6pdl to v1.5.1
2020-05-07 10:08:50 -07:00
Kyle Kearney
ac8e8229a8
Update whd-bsp-integration to v1.0.1
2020-05-07 10:08:50 -07:00
Kyle Kearney
c87682167b
Update psoc6cm0p to v1.1.2
2020-05-07 10:08:50 -07:00
Kyle Kearney
3fd4441d8f
Update abstraction-rtos to v1.2.1
2020-05-07 10:08:50 -07:00
Kyle Kearney
bff67a931f
Update PSoC 6 HAL to v1.2.1
2020-05-07 10:08:50 -07:00
Kyle Kearney
f38e21fa6c
Update PSoC 6 BSPs to verion 1.2
2020-05-07 10:08:50 -07:00
Kyle Kearney
6afa8fd35d
Add udb-sdio-whd version 1.0.0
2020-05-07 10:08:50 -07:00
Kyle Kearney
250ca363a3
Update core-lib to v1.1.2
2020-05-07 10:08:50 -07:00
Marcelo Salazar
d413cf137f
Remove IOTSS_BEID target
2020-05-06 16:45:46 +01:00
Marcelo Salazar
4083469d09
Remove Ublox targets
2020-05-06 16:39:29 +01:00
Marcelo Salazar
c064035464
Remove KL82Z target
2020-05-06 16:04:51 +01:00
Marcelo Salazar
570df49abd
Rename ADV_WISE_1510 target
2020-05-06 16:03:07 +01:00
jeromecoutant
ab80e30bfe
STM32F4 bypass PLL configuration when already done by bootloader
2020-05-05 18:06:10 +02:00
Rajkumar Kanagaraj
4ab794b47f
Microlib slow division causes HAL_GetTick API performance issue, so optimized HAL_GetTick API to improve performance.
2020-05-05 16:24:53 +01:00
Chun-Chieh Li
9e9e2f18de
Nuvoton: Change WDT clock source to LXT
...
LIRC has 40%~50% error rate, so change WDT clock source to LXT from LIRC.
NOTE: NANO100 series just supports LIRC-clocked WDT.
2020-05-05 17:50:20 +08:00
Chun-Chieh Li
f6485cf92f
Nuvoton: Fix failure to change WDT clock source
...
WDT clock source selection and its enablement bits are protected. Add unlock sequence before write to them.
2020-05-05 17:50:15 +08:00
Chun-Chieh Li
d121ea89d1
Nuvoton: Fix WDT feature report with clock frequency
2020-05-05 17:50:10 +08:00
Chun-Chieh Li
d823756cb7
Nuvoton: Enlarge WDT reset delay to avoid premature WDT reset
...
Consider the following factors to define WDT reset delay:
1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
2020-05-05 17:50:05 +08:00
Gabor Abonyi
f7b7f457b6
Musca-B1: Fix I2C pinmap array
...
Change-Id: I00ba75d1a673a091cec9236c1e7dd71ac3994610
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-05-04 13:44:05 +02:00
Martin Kojtal
dbf05ceaed
Merge pull request #12735 from Patater/musca-tfm
...
Make MUSCA B1 and MUSCA A1 TF-M ready
2020-05-04 11:06:48 +02:00
Kyle Kearney
d058586c48
Remove CYW943012P6EVB_01 target
2020-04-30 11:12:00 -07:00
Kyle Kearney
96f9915fa0
Remove CY8CPROTO_063_BLE target
2020-04-30 11:12:00 -07:00
Kyle Kearney
af39f0512a
Cypress: Fix non-compliant ADC range
...
The ADC range was previously 0-VBGR*2 (0 - 2.4 V). Change the reference
so that the ADC range is 0 - VDDA, to bring it in line with the documented
behavior of the mbed hal.
2020-04-30 11:12:00 -07:00
Kyle Kearney
a63fe7d801
Disable QSPIF on CY8CPROTO_062S3_4343W
...
This target uses the QSPI interface hardware in XIP mode to allow
memory-mapped access to the WiFi interface firmware. This is
incompatible with the MMIO mode upon which QSPIFBlockDevice relies
to send specific commands over the QSPI bus.
2020-04-30 11:12:00 -07:00
George Beckstein
aeb91c2598
Updated default vref to be NAN. Made vref an optional constructor arg
2020-04-30 12:40:19 -04:00
George Beckstein
746f2f5fb5
Changed default ADC vref configuration from driver-level to target-level
2020-04-30 12:40:19 -04:00
George Beckstein
5087b6da4e
Moved GENERIC_H745I_CM* targets into parent target folder
2020-04-30 09:27:26 -04:00
George Beckstein
5dcc49d9f5
Change structure so custom targets may define their own linker scripts
2020-04-30 09:24:02 -04:00
jeromecoutant
1877b68869
STM32H745 : creation of GENERIC target
...
Goal is to enable compilation in CI
2020-04-30 09:24:02 -04:00
jeromecoutant
38801157ac
STM32H745 restructuration
2020-04-30 09:24:02 -04:00
George Beckstein
ecaa5fe793
Add BSP initialization hook to system initialization code
2020-04-30 09:24:02 -04:00
George Beckstein
decc6d335f
Added common system files from H747 targets
2020-04-30 09:24:02 -04:00
George Beckstein
a1bb4b1d0a
Add and configure support for IAR toolchain
2020-04-30 09:24:02 -04:00
George Beckstein
fab7de62e7
Add and configure support for ARM_STD toolchain
2020-04-30 09:24:02 -04:00
George Beckstein
88a6d37a07
Add target files for STM32H745-based targets
2020-04-30 09:24:01 -04:00
Hugues Kamba
ce1c51ea51
ST Boards: Remove uARM tooolchain support
...
For NUCLEO_F401RE, NUCLEO_F411RE, NUCLEO_F303RE, and DISCO_L475VG_IOT01A:
* Ensure the scatter files for the ARM toolchain use 2 region memory model.
The scatter files changes affects the following boards:
* NUCLEO_F401RE, STEVAL_3DP001V1 (stm32f401xe.sct)
* NUCLEO_F411RE, MTS_MDOT_F411RE, MTS_DRAGONFLY_F411RE, MTB_MTS_DRAGONFLY, SAKURAIO_EVB_01 (stm32f411re.sct)
* NUCLEO_F303RE, NUCLEO_F303ZE (stm32f303xe.sct)
* DISCO_L475VG_IOT01A, MTB_STM_L475 (stm32l475xx.sct)
* Remove the TOOLCHAIN_ARM_MICRO directories.
* Remove release_version as not necessary and as the targets can also run
Mbed OS 6.
* Remove uARM support for all FAMILY_STM32 targets.
2020-04-30 14:17:39 +01:00
Jaeden Amero
6f6a92c1eb
musca_b1: Add TF-M compatibility
...
Make the MUSCA_B1 target TF-M compatible by doing the following:
- Add flash, region definitions, and preprocessed image macros from
TF-M (at version 6e7be077eabe "Core: Add lifecycle API")
- Update the MUSCA_B1 linker script to create a flash image
compatible with TF-M.
- Update the tfm/bin_utils/assemble.py signing script to work with
preprocessed image macros rather than flat C pre-processor defines
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-30 11:36:09 +01:00
Devaraj Ranganna
0ad1a988ec
musca_a1: Add TF-M compatibility
...
Make the MUSCA_A1 target TF-M compatible by doing the following:
- Add flash, region definitions, and preprocessed image macros from
TF-M (at version 6e7be077eabe "Core: Add lifecycle API")
- Update the MUSCA_A1 linker script to create a flash image
compatible with TF-M.
- Update the tfm/bin_utils/assemble.py signing script to work with
preprocessed image macros rather than flat C pre-processor defines
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-30 11:35:05 +01:00
Marcelo Salazar
84b596db06
Fix pin config for LPC1768
2020-04-30 09:56:37 +01:00
Marcelo Salazar
81a92e3cb5
Re-enable K82F target
2020-04-30 09:56:37 +01:00
Marcelo Salazar
4d8a720e21
Remove EFM32PG12 targets
2020-04-30 09:56:37 +01:00
Marcelo Salazar
84bad91489
Remove NRF51_DONGLE target
2020-04-30 09:56:37 +01:00
Marcelo Salazar
3b4a04b797
Remove HI2110 based targets
2020-04-30 09:56:37 +01:00
Marcelo Salazar
c2645ef423
Remove NINA targets
2020-04-30 09:56:37 +01:00
Marcelo Salazar
d7d4589597
Remove SSCI824 config
2020-04-30 09:56:37 +01:00
Marcelo Salazar
6899f6903c
Remove TY51822R3 target
2020-04-30 09:56:37 +01:00
Marcelo Salazar
7c8b16f3c9
Remove HRM1017 target
2020-04-30 09:56:36 +01:00
Marcelo Salazar
0864aa86be
Remove NCS36510 target
2020-04-30 09:56:36 +01:00
Marcelo Salazar
7925a468a9
Remove KL05Z target
2020-04-30 09:56:36 +01:00
Marcelo Salazar
470293c2e8
Remove MTS_GAMBIT target
2020-04-30 09:56:36 +01:00
Marcelo Salazar
a3dc513d35
Remove MTS_MDOT_F405RG target
2020-04-30 09:56:36 +01:00
Marcelo Salazar
f556199094
Remove LPC11U37H_401 target
2020-04-30 09:56:36 +01:00
Marcelo Salazar
cbe6cc79cb
Remove NRF51822_Y5_MBUG
2020-04-30 09:56:36 +01:00
Marcelo Salazar
be34117b4c
Remove MAX32625NEXPAQ target
2020-04-30 09:56:36 +01:00
Marcelo Salazar
e2136cc395
Remove MAXWSNENV target
2020-04-30 09:56:36 +01:00
Marcelo Salazar
843b123a45
Remove MTM_MTCONNECT04S target
2020-04-30 09:56:36 +01:00
Marcelo Salazar
f737754959
Remove NRF51_DONGLE
2020-04-30 09:56:36 +01:00
Marcelo Salazar
a770e65a05
Remove WALLBOT_BLE target
2020-04-30 09:56:36 +01:00
Marcelo Salazar
a7b026bd14
Rename ADV_WISE_1510 target
2020-04-30 09:56:35 +01:00
Marcelo Salazar
92cbd9a734
Rename ADV_WISE_1570 target
2020-04-30 09:56:35 +01:00
MarceloSalazar
f21759bc35
Remove TEENSY3_1 target
2020-04-30 09:56:35 +01:00
MarceloSalazar
52581cdd0e
Remove EFR32MG1_BRD4150 target
2020-04-30 09:56:35 +01:00
MarceloSalazar
1553868748
Remove TB_SENSE_1 target
2020-04-30 09:56:35 +01:00
MarceloSalazar
80aaa29e85
Remove efm32zg_stk3200 target
2020-04-30 09:56:35 +01:00
MarceloSalazar
851fd4c0a7
Remove efm32hg_stk3400 targets
2020-04-30 09:56:35 +01:00
MarceloSalazar
e4b243b334
Remove efm32wg_stk3800 target
2020-04-30 09:56:35 +01:00
MarceloSalazar
0d46778392
Remove efm32lg_stk3600 target
2020-04-30 09:56:34 +01:00
MarceloSalazar
e24a9f5d95
Remove KW24D target
2020-04-30 09:56:34 +01:00
MarceloSalazar
646bce0523
Remove K24F target
2020-04-30 09:56:34 +01:00
MarceloSalazar
9276eb0cc3
Remove efm32pg_stk3401 target
2020-04-30 09:56:34 +01:00
MarceloSalazar
3fa7f03508
Remove RAPIDIOT targets
2020-04-30 09:56:33 +01:00
MarceloSalazar
a58de82a7f
Remove KL82Z target
2020-04-30 09:56:33 +01:00
MarceloSalazar
5d63b0f5a0
Remove K20D50M target
2020-04-30 09:56:33 +01:00
MarceloSalazar
16a40c9f9c
Remove LPC4337 target
2020-04-30 09:56:33 +01:00
MarceloSalazar
d2741c1075
Remove LPC8x targets
2020-04-30 09:56:33 +01:00
MarceloSalazar
3ed5491ae5
Remove LPC1549 target
2020-04-30 09:56:33 +01:00
MarceloSalazar
9167b2d1d6
Remove SDT51822B (nrf51) target
2020-04-30 09:56:33 +01:00
MarceloSalazar
47a439c596
Remove KL26Z target
2020-04-30 09:56:33 +01:00
MarceloSalazar
d96a19ea1d
Remove LPC4330 target
2020-04-30 09:56:32 +01:00
MarceloSalazar
be9e5f4879
Remove LPC1800 target
2020-04-30 09:56:32 +01:00
MarceloSalazar
143342fcfa
Remove LPC810 target
2020-04-30 09:56:32 +01:00
MarceloSalazar
de01b388e5
Remove XBED_LPC1768 target
2020-04-30 09:56:32 +01:00
MarceloSalazar
51c2484c06
Remove LPC1769 target
2020-04-30 09:56:32 +01:00
MarceloSalazar
e98959c582
Remove LPC1347 target
2020-04-30 09:56:32 +01:00
MarceloSalazar
b7a787d710
Remove LPC11C24 target
2020-04-30 09:56:32 +01:00
MarceloSalazar
20997ca6cb
Remove RBLAB targets
2020-04-30 09:56:32 +01:00
MarceloSalazar
5dcfe57c41
Remove LPC4088 based targets
2020-04-30 09:56:32 +01:00
MarceloSalazar
e160bd3602
Remove DELTA_DFBM_NQ620 target
2020-04-30 09:56:32 +01:00
MarceloSalazar
12bb9d34bb
Remove DELTA_DFCM_NNN40 target
2020-04-30 09:56:32 +01:00
MarceloSalazar
05bb01eeb2
Remove DELTA_DFCM_NNN50 target
2020-04-30 09:56:32 +01:00
Martin Kojtal
a9cb876b39
Merge pull request #12737 from Patater/psa-breaking-changes
...
Remove PSA implementation for v8-M and dual CPU targets
2020-04-30 10:42:24 +02:00
Chun-Chieh Li
73824f0c4d
Nuvoton: Fix watchdog reset failure on meeting Hard Fault
...
Original implementation doesn't enable watchdog reset in pieces of cascaded timeout, except the last one. This is to guarantee re-configuration can be in time, but in interrupt disabled scenario e.g. Hard Fault, watchdog reset can cease to be effective.
This change enables watchdog reset all the way of cascaded timeout. With trade-off, guaranteed watchdog reset function is more significant than re-configuration in time.
2020-04-30 14:22:30 +08:00
Martin Kojtal
761b546438
Merge pull request #12853 from hugueskamba/hk_remove_uarm_nxp_board
...
ARCH_PRO: Remove uARM tooolchain support
2020-04-29 22:16:17 +02:00
Martin Kojtal
3c89556cbd
Merge pull request #12456 from jeromecoutant/PR_COMPONENT_BLUENRG
...
COMPONENT_BlueNRG_MS creation : ST Bluetooth Low Energy module
2020-04-29 17:36:15 +02:00
Hugues Kamba
58c8d622bb
ARCH_PRO: Remove uARM tooolchain support
...
* Update scatter file for the ARM toolchain to use 2 region memory model.
The scatter file changes affect the following boards:
* LPC1768, ARCH_PRO, UBLOX_C027, XBED_LPC1768 (LPC1768.sct)
* Remove the TOOLCHAIN_ARM_MICRO directory.
* Remove release_version as not necessary and as the target can also run
Mbed OS 6.
* Remove uARM toolchain in the list of supported toolchains for the target.
* Indicate that the target supports the small ARM toolchain C library.
2020-04-28 01:30:30 +01:00
Jaeden Amero
6b3a9cb4fa
psa: Remove v8-M S targets
...
Remove PSA v8-M S target binaries will be built outside of Mbed OS and
added in as binaries which NS targets consume. Mbed OS no longer
implements PSA for v8-M targets, so there is no reason for it to build
PSA S targets.
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-27 09:51:09 +01:00
Devaraj Ranganna
493a043528
psa: Remove PSA targets not supported in TF-M
...
Mbed OS depends on TF-M to implement PSA. Any targets that need to
provide PSA must be supported by TF-M. The following targets are removed
from Mbed OS as they don't yet have TF-M support. We can re-add these
targets to Mbed OS when they have TF-M support in the official upstream
TF-M repository hosted at trustedfirmware.org.
These PSA targets no longer have a PSA implementation and are removed:
- LPC55S69
- LPC55S69_NS
- LPC55S69_S
- NU_PFM_M2351_NS
- NU_PFM_M2351_S
- HANI_IOT
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-27 09:43:01 +01:00
Chun-Chieh Li
e7dd4057c3
M453: Support bare metal
...
Relevant modifications to make TOOLCHAIN_* directories clear:
1. Remove TOOLCHAIN_ARM_STD
2. Rename TOOLCHAIN_ARM_MICRO to TOOLCHAIN_ARM
2020-04-27 11:24:13 +08:00
Chun-Chieh Li
226d86b304
NANO130: Support bare metal
...
Relevant modifications to make TOOLCHAIN_* directories clear:
1. Remove TOOLCHAIN_ARM_STD
2. Rename TOOLCHAIN_ARM_MICRO to TOOLCHAIN_ARM
2020-04-27 11:24:13 +08:00
Chun-Chieh Li
530a5cfe7c
M453: Make memory specification configurable
2020-04-27 11:24:12 +08:00
Chun-Chieh Li
188c6d9a4a
NANO130: Make memory specification configurable
2020-04-27 11:24:11 +08:00
jeromecoutant
bc4bc05908
STM32 warning remove
2020-04-24 10:57:45 +02:00
jeromecoutant
227af65ef1
STM32F7: CubeDriver V1.15.0 to V1.16.0
...
https://github.com/STMicroelectronics/STM32CubeF7
2020-04-23 18:02:15 +02:00
jeromecoutant
8d542142da
STM32F7: directory restructuration
2020-04-23 18:02:06 +02:00
Martin Kojtal
df6f650ab1
Revert "Remove MTB_STM_S2LP target"
...
This reverts commit 10ca248a7a
.
2020-04-22 13:46:53 +01:00
Martin Kojtal
b622a25688
Merge pull request #12810 from MarceloSalazar/platform_cleanup
...
Remove unsupported targets
Note, commit 21e364e
is just a styling fix, no target removal.
2020-04-22 10:58:50 +02:00
Martin Kojtal
e33e93622c
Merge pull request #12663 from hugueskamba/hk-NUCLEO_F303K8-fix-microlib-support-optimize-ram
...
Migrate NUCLEO_F303K8 to Mbed OS 5 baremetal
2020-04-22 07:06:13 +02:00
Martin Kojtal
6bd55d6159
Merge pull request #12840 from GaborAbonyi/ns_mhu_for_musca_b1
...
Musca-B1: Grant Non-Secure access for MHU0 on EXP0
2020-04-21 17:14:31 +02:00
Hugues Kamba
4e61240838
Migrate NUCLEO_F303K8 to Mbed OS 5 baremetal
...
* Use two memory regions in ARM toolchain linker file to support Microlib
* Replace `target.default_lib` with `target.c_lib`
* Specify supported lib sizes per toolchain
* Add support for Mbed OS versions after Mbed 2
2020-04-21 12:11:35 +01:00
Martin Kojtal
6111b8dfcc
Merge pull request #12828 from dustin-crossman/pr/update-cysbsyskit_01
...
Update CYSBSYSKIT_01
2020-04-21 10:13:38 +02:00
Martin Kojtal
aec6303437
Merge pull request #12787 from kyle-cypress/pr/cyeskit-064b0s2-4343w
...
Cypress: Add CYESKIT-064B0S2-4343W
2020-04-21 10:08:40 +02:00
Marcelo Salazar
beee062d1f
Remove MTB_MTS_DRAGONFLY target
2020-04-20 16:55:35 +01:00
Marcelo Salazar
10ca248a7a
Remove MTB_STM_S2LP target
2020-04-20 16:55:35 +01:00
Marcelo Salazar
ee8231ab9d
Remove USI_WM_BN_BM_22 based targets
2020-04-20 16:55:35 +01:00
MarceloSalazar
567f7da1e5
Remove MAKERDIARY_NRF52840_MDK target
2020-04-20 16:55:34 +01:00
MarceloSalazar
93db82f591
Remove NZ32_SC151 target
2020-04-20 16:55:34 +01:00
MarceloSalazar
d9cb51dbc6
Remove OLIMEX_STM32E407_F407ZG target
2020-04-20 16:55:34 +01:00
MarceloSalazar
4f3a621569
Remove TEENSY3_1 target
2020-04-20 16:55:34 +01:00
MarceloSalazar
a3538f7047
Remove ELEKTOR_COCORICO target
2020-04-20 16:55:34 +01:00
MarceloSalazar
d3223c9502
Remove LPC11u targets
2020-04-20 16:55:34 +01:00
MarceloSalazar
3db4746754
Remove OC_MBUINO target
2020-04-20 16:55:34 +01:00
MarceloSalazar
33be96d751
Remove SAKURAIO_EVB target
2020-04-20 16:55:34 +01:00
MarceloSalazar
7839bbbe39
Remove IM880B target
2020-04-20 16:55:34 +01:00
MarceloSalazar
80b34c2c07
Remove RIOT_MICRO targets
2020-04-20 16:55:34 +01:00
MarceloSalazar
31d0986816
Remove UBRIDGE target
2020-04-20 16:55:34 +01:00
MarceloSalazar
e4973ee148
Remove USENSE target
2020-04-20 16:55:34 +01:00
MarceloSalazar
21e364e062
Remove NRF51/52 targets
2020-04-20 16:55:34 +01:00
MarceloSalazar
e2457ed9eb
Remove OSHCHIP target
2020-04-20 16:55:34 +01:00
MarceloSalazar
6874f41af9
Remove BLUEPILL_F103C8 target
2020-04-20 16:55:34 +01:00
MarceloSalazar
c9352ead73
Remove MTB_UBLOX_NINA_B1 target
2020-04-20 16:55:34 +01:00
MarceloSalazar
91142e95c9
Remove MTB_LAIRD targets
2020-04-20 16:55:34 +01:00
MarceloSalazar
9a1ce6b142
Remove MTB_ACONNO_ACN52832 target
2020-04-20 16:55:34 +01:00
MarceloSalazar
ca3e4ac45a
Remove MTB_MURATA_WSM_BL241 target
2020-04-20 16:55:34 +01:00
MarceloSalazar
7a1261b358
Remove MTB_LAIRD_BL652 target
2020-04-20 16:55:34 +01:00
MarceloSalazar
bf590310db
Remove MTB_RAK811 target
2020-04-20 16:55:34 +01:00
MarceloSalazar
e78ba7065b
Remove MTB_MTS_XDOT target
2020-04-20 16:55:33 +01:00
MarceloSalazar
4b1ad8ad4c
Remove MTB_STM_L475 target
2020-04-20 16:55:33 +01:00
MarceloSalazar
91607fe9cd
Remove MTB_MURATA_ABZ target
2020-04-20 16:55:33 +01:00
MarceloSalazar
32ab2ecb7a
Remove MTB_STM32_F439 target
2020-04-20 16:55:33 +01:00
Gabor Abonyi
636523b862
Musca-B1: Grant Non-Secure access for MHU0 on EXP0
...
Change-Id: I0a15c695e6ccec3d13e0fa66257278172be75680
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-04-20 15:17:42 +02:00
Dustin Crossman
d9655da2e8
Update COMPONENT_SCL
2020-04-17 13:13:18 -07:00
Dustin Crossman
2148fa5ab9
Update CYSBSYSKIT_01 BSP
2020-04-17 13:13:18 -07:00
Martin Kojtal
a79d3ce18d
Merge pull request #12271 from jainvikas8/jae-feature-twincpu-6-mbed-os-integration
...
Make cypress psoc64 TFM ready and also add TF-M initialization
2020-04-17 15:48:58 +02:00
Martin Kojtal
a1c7cf5e73
Merge pull request #12819 from kyle-cypress/pr/psoc6-spi-memfix
...
Cypress: Fix unitialized memory in spi_master_write
2020-04-17 11:02:13 +02:00
Deepak Shreshti
dc4f086129
Removed Toshiba target AdBun-M066, M3H6 and M3HQ.
...
---
AdBun-M066
Removed from targets.json
5d64e55880/targets/targets.json (L12900-L12941)
Deleted directory
https://github.com/ARMmbed/mbed-os/tree/master/targets/TARGET_TOSHIBA/TARGET_TMPM066
Removed from mbed_rtx.h
5d64e55880/targets/TARGET_TOSHIBA/mbed_rtx.h (L23-L33)
---
AdBun-M3H6
Removed from targets.json
5d64e55880/targets/targets.json (L13465-L13507)
Deleted directory
https://github.com/ARMmbed/mbed-os/tree/master/targets/TARGET_TOSHIBA/TARGET_TMPM3H6
Removed from mbed_rtx.h
5d64e55880/targets/TARGET_TOSHIBA/mbed_rtx.h (L47-L53)
---
AdBun-M3HQ
Removed from targets.json
5d64e55880/targets/targets.json (L14159-L14208)
Deleted directory
https://github.com/ARMmbed/mbed-os/tree/master/targets/TARGET_TOSHIBA/TARGET_TMPM3HQ
Removed from mbed_rtx.h
5d64e55880/targets/TARGET_TOSHIBA/mbed_rtx.h (L63-L69)
---
2020-04-17 10:22:33 +05:30
Kyle Kearney
76a14f2ff4
Cypress: Fix unitialized memory in spi_master_write
...
'received' was declared as an int but populated by cyhal_spi_transfer
after being cast to to (uint8_t *), which left the upper 3 bytes
uninitialized. Instead, declare as uint8_t and let the compiler upcast
the value when it is returned.
2020-04-16 16:54:12 -07:00
Jaeden Amero
07a84ec10a
psa: Remove MBED_SPM code
...
All MBED_SPM targets have been removed previously, via commits
5cc66282dd
("PSOC6: remove PSA targets") and 115b09aba43b ("psoc6:
Remove FUTURE_SEQUANA and FUTURE_SEQUANA_M0"). Remove all the dead
MBED_SPM code, as no targets use it.
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-16 14:10:54 +01:00
Jaeden Amero
47b359974f
psoc6: Remove FUTURE_SEQUANA and FUTURE_SEQUANA_M0
...
FUTURE_SEQUANA targets are no longer supported. Remove the target from
Mbed.
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-16 14:10:51 +01:00
Martin Kojtal
fcc20b1201
Merge pull request #12765 from MultiTechSystems/update-mdot-target
...
Update MTS_MDOT_F411RE target and remove bootloader from tools
2020-04-16 11:53:26 +02:00
Martin Kojtal
4c08455125
Merge pull request #12778 from GaborAbonyi/add_i2c_to_musca_b1
...
Add I2C api to Musca-B1 target
2020-04-15 16:53:35 +02:00
Lingkai Dong
6954dbe17d
targets.json: further clean-up of SoftDevice configurations
2020-04-15 10:29:01 +01:00
Gabor Abonyi
b442e35f85
Add I2C api to Musca-B1 target
...
Change-Id: Iab5a76e6b8ea28933b39b4ec4ee753f45e5bfcc7
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-04-15 11:13:46 +02:00
Lingkai Dong
897acb8f8e
Disable Nordic SoftDevice BLE stack from targets (affects NRF51* targets)
...
The Nordic SoftDevice BLE stack used by NRF51* targets only
supports legacy BLE APIs which we will removed completely.
Note: NRF52* targets which use Cordio BLE stack are unaffected.
2020-04-15 09:57:38 +01:00
Lingkai Dong
ab8d84a46c
Disable BLE on Maxim targets until an updated driver becomes available
...
The current Maxim BLE driver only implements the old BLE API
which is deprecated and will be removed soon. Once an updated
BLE stack for Maxim becomes available, BLE feature can be
re-enabled.
2020-04-15 09:51:12 +01:00
jeromecoutant
f68ac88671
COMPONENT_BlueNRG_MS enabled for DISCO_L475VG_IOT01A and DISCO_L562QE
2020-04-15 10:31:02 +02:00
Martin Kojtal
f0d04c8c99
Merge pull request #12802 from OpenNuvoton/nuvoton_sectors
...
Nuvoton: Add 'sectors' configuration option into targets.json
2020-04-15 09:43:21 +02:00
Martin Kojtal
c9515af262
Merge pull request #12752 from vmedcy/pr/psoc6-ram-start
...
PSoC 62/63: set correct mbed_ram_start and mbed_ram_size
2020-04-15 09:22:13 +02:00
Martin Kojtal
05dd4ce633
Merge pull request #12769 from miteshdedhia7/pr/rssi-gt-fix
...
Fix WIFI-GET-RSSI test case failure and remove extra label from CYW9P62S1_43438EVB_01 in target.json
2020-04-15 09:19:22 +02:00
Martin Kojtal
92f58096c5
Merge pull request #12711 from liugang-gavin/master
...
targets:MIMXRT1050: Add QSPI flash support
2020-04-15 09:18:28 +02:00
Martin Kojtal
7151e1e147
Merge pull request #12792 from SeeedJP/Seeed-remove
...
Seeed: Removing unsupported Seeed targets for OS 6
2020-04-15 09:08:52 +02:00
Martin Kojtal
68f1ef2df6
Merge pull request #12716 from OpenNuvoton/nuvoton_m487_bsp
...
M487: Update BSP
2020-04-15 09:07:10 +02:00
Martin Kojtal
4c444ae853
Merge pull request #12606 from kivaisan/netsocket_set_ip_address_and_get_dns_server
...
Netsocket: Introduce set_ip_address and get_dns_server APIs
2020-04-15 09:06:24 +02:00
Martin Kojtal
098c72a312
Merge pull request #12161 from AGlass0fMilk/nrf-i2c-slave
...
nRF52 I2CSlave Implementation
2020-04-14 16:31:31 +02:00
Kimmo Vaisanen
b7b0fbd13a
Update WICED binaries with wait method removal
2020-04-14 12:04:06 +03:00
Chun-Chieh Li
b77e399a34
Nuvoton: Add 'sectors' configuration option into targets.json
...
This change adds 'sectors' configuration option into 'targets.json' to enable bootloader for Nuvoton targets.
Though 'arm_pack_manager/index.json' has `sectors` available, Nuvoton's cmsis pack 'Nuvoton.NuMicro_DFP.pdsc' doesn't have 'sectors' entries and they must add into `index.json` manually. But not apply to all chip subfamilies.
To support custom board which uses a different chip subfamily, add 'secotors' into 'targets.json' for all Nuvoton targets which enable Flash IAP.
2020-04-14 13:48:17 +08:00
Yoshihiro TSUBOI
5114eb707b
[Seeed] Removing unsupported targets for OS 6
...
Removing targets: Seeed Arch Link, Seeed Arch-RO359B, Seeed Arch BLE, Seeed Tiny BLE, Seeed Arch GPRS V2,Seeed Xadow M0
2020-04-13 18:30:32 +09:00
MarceloSalazar
73206b5b69
Fix WIO_EMW3166 target for WICED driver
2020-04-09 22:56:50 +01:00
MarceloSalazar
4ae7b0e814
Remove VBLUNO targets
2020-04-09 15:32:41 +01:00
MarceloSalazar
8bf863c181
Remove vk_rz_a1h target
2020-04-09 15:32:41 +01:00
MarceloSalazar
e43ece13aa
Rename EMW3166 target
2020-04-09 15:32:41 +01:00
MarceloSalazar
831c475a46
Remove Silica target
2020-04-09 15:32:41 +01:00
MarceloSalazar
0aa4713429
Remove Wiznet targets
2020-04-09 15:32:41 +01:00
MarceloSalazar
1e4c707cc5
Remove ELMO target
2020-04-09 15:32:41 +01:00
MarceloSalazar
c50c940761
Remove TI targets
2020-04-09 15:32:40 +01:00
MarceloSalazar
92d8838296
Remove Atmel targets
2020-04-09 15:32:40 +01:00
MarceloSalazar
c0f7670c6f
Remove GD32_E103VB target
2020-04-09 15:32:40 +01:00
MarceloSalazar
a3f9bbb002
Remove RDA targets
2020-04-09 15:32:39 +01:00
MarceloSalazar
3ad6c4fa2b
Remove Ublox ODIN targets
2020-04-09 15:32:39 +01:00
MarceloSalazar
32fab9bc0d
Remove Realtek targets
2020-04-09 15:32:39 +01:00
MarceloSalazar
8858a87071
Remove Thundersoft targets
2020-04-09 15:32:38 +01:00
Martin Kojtal
7fce7f552c
Merge pull request #12572 from rajkan01/waitapi_remove_deprecated
...
Remove mbed wait deprecated APIs
2020-04-09 14:57:46 +02:00
Martin Kojtal
71c9780dfe
Merge pull request #12387 from AGlass0fMilk/objects-extensions
...
Add Objects Extensions Configuration Parameter to HAL
2020-04-09 10:20:44 +02:00
Sree Harsha Angara
b77a5b331c
Removed NVRAM references to CY8CKTI_064B0S2_4343W Kit
2020-04-08 11:32:27 -07:00
Sree Harsha Angara
63b93ff696
Removing ES100 references and CY8CKIT_064B0S2_4343W
2020-04-08 11:28:58 -07:00
Rajkumar Kanagaraj
3d128e861b
- Fix the CI build issue.
...
- Incorporate the review comment.
2020-04-08 10:35:07 +01:00
Rajkumar Kanagaraj
9739b565b2
Fix the CI build issue
2020-04-08 10:35:07 +01:00
Sree Harsha Angara
118b4b3df1
Fixing clock for greentea cordio test
2020-04-07 14:43:29 -07:00
YARB(Cypress)
4f28ff0b16
Remove extraneous label to include CM0p firmware image that has been updated to be included using the component mechanism.
2020-04-07 10:42:32 -07:00
Taylor Heck
5ca347f460
Use basic STM32F411RE linker scripts, removes bootloader section.
2020-04-07 09:00:09 -05:00
Taylor Heck
94dd3f98c3
Update system_clock.c for VECT_TAB_OFFSET changes in target definition
2020-04-07 09:00:07 -05:00
Taylor Heck
be03c0d937
Remove post_binary_hook from MTS_MDOT_F411RE target definition.
2020-04-07 09:00:06 -05:00
Sree Harsha Angara
3b6020c1be
Updating BSP files for CYESKIT_064B0S2_4343W
2020-04-06 17:12:23 -07:00
Martin Kojtal
4b3cddff2a
Merge pull request #12744 from heejungPark/master
...
Change files in TARGET_SDT64B
2020-04-06 08:04:22 +02:00
Roman Okhrimenko
e6084562b4
Add TARGET_CYESKIT_064B0S2_4343W to targets.json
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
70c9142647
Add wifi_nvram_image for TARGET_CYESKIT_064B0S2_4343W
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
69d0721e30
Add BSP for CYESKIT_064B0S2_4343W
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
c7f7bec5f3
Temporarily change CY8CKIT_064B0S2_4343W board id to 190A, as actual kit is not available yet
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
d3813a318a
Add latest prebuild hex file
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
c4e8f8d816
Comment out init_cycfg_system() to avoid HardFault before Secure Driver arrive
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
89531b9163
Add essential file for peripheral pins definition
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
f2a3954d6e
Update slot start address in linker scripts according to default multi image policy
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
57d141d005
Update pre build hex with Release version, generated by CI
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
ae733ffc11
Add default secure boot params to targets.json, add option to post build to redefine them in mbed_app.json
2020-04-05 13:52:27 +03:00
Roman Okhrimenko
9294eee878
Add initial implementation of post build function, that uses cysecuretools
2020-04-05 13:52:26 +03:00
Roman Okhrimenko
5267ec3375
Add prebuilded hex file for secure cm0p application
2020-04-05 13:52:26 +03:00
Roman Okhrimenko
a17bed366a
Change policy to multi image, as one supported for es100
2020-04-05 13:52:26 +03:00
Dustin Crossman
e873669b04
Added policy file and removed old secure tools config file.
2020-04-05 13:52:26 +03:00
Dustin Crossman
f8c1c446f1
Add nvram image for CY8CKIT_064B0S2_4343W
2020-04-05 13:52:26 +03:00
Dustin Crossman
b6c4fc6d23
Add CY8CKIT_064B0S2_4343W board.
2020-04-05 13:52:26 +03:00
Jaeden Amero
c447278727
cypress: psoc64: Add 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.
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
2020-04-03 15:48:58 +01:00
Devaraj Ranganna
cc8cc5903a
cypress: psoc64: Reserve timer channels used by TF-M
...
There are two timers, Timer0 and Timer1, available on the PSoC64. Timer0
has 8 channels and Timer1 has 24 channels. TF-M regression tests make
use of Timer0 Channel 0 and Timer0 Channel 1. Therefore, reserve the
timer channels used by TF-M. This approach can be replaced once we have
a way to allocate dedicated timers for TF-M and Mbed OS.
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
2020-04-03 15:48:58 +01:00
Gavin Liu
288946a226
targets:MIMXRT1050: Update link file for application
...
For the application(firmware) booted by bootloader(OTA),
the image doesn't need the "flash_config" and "ivt" header.
So update the link file to support both kinds of application
(firmware) booted by bootROM and bootloader.
In default, the compilation will get the image with
"flash_config" and "ivt" header, for example the bootloader
compiling.
When compiling the OTA application image, please add the
line as below in the mbed_app.json file.
"target.macros_add" : ["MBED_APP_COMPILE"]
This will remove the "flash_config" and "ivt" header in the
final image.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:48:46 +08:00
Gavin Liu
1d1e69a4a2
targets:MIMXRT1050: Add QSPI Flash FLASHIAP support
...
Update the flash driver to support both Hyper Flash
and QSPI Flash.
In addition, the static function cannot be linked to
SRAM even defined by AT_QUICKACCESS_SECTION_CODE macro.
So remove all "static" modifier for the FLASHIAP
functions.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:46:55 +08:00
George Beckstein
2a2295c0b3
Fixed typo in target.json
2020-04-03 05:43:17 -04:00
Gavin Liu
2be0790c4a
targets:TARGET_IMX: Fix the memset issue for FLASHIAP
...
The memset function from c library will be linked in flash
space, it's risk for FLASHIAP. So I wrote flexspi_memset
to replace the memset for IMX FLASHIAP, and put the function
into targets/.../TARGET_IMX/flash_api.c file. All IMX Soc
platforms can declare it as extern and use in their Soc
flexspi driver files.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:41:34 +08:00
Gavin Liu
f8a8401a13
targets:TARGET_IMX: Fix the flash init risk
...
The flash access may fail when implementing flash
initialization. So there is risk for interrupt handler
which linked in flash space.
Add the critical section to avoid the risk.
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:41:07 +08:00
Gavin Liu
b53d40b269
targets:MIMXRT1050: Add QSPI Flash boot support
...
NXP MIMXRT1050 EVK can support Hyper Flash or QSPI Flash with
small hardware reworks. Modify the XIP file to support boot
from the two kinds of Flash device. The Hyper Flash should be
the default device and defined in tartgets.json with the macro
"HYPERFLASH_BOOT". To select the QSPI Flash, just remove the
macro with the below line in any overriding json file.
"target.macros_remove" : ["HYPERFLASH_BOOT"]
Signed-off-by: Gavin Liu <gang.liu@nxp.com>
2020-04-03 17:40:39 +08:00
George Beckstein
d8727510e7
Remove unused internal state enum
2020-04-03 05:38:23 -04:00
George Beckstein
907ae1b67e
Implement I2CSLAVE in the i2c_api for nRF52 targets
2020-04-03 05:38:21 -04:00
George Beckstein
85a17293d3
Enable I2CSLAVE for nRF52 targets
2020-04-03 05:01:22 -04:00
George Beckstein
e1178be65e
Applying changes to only specific targets for stop-gap.
2020-04-03 04:45:43 -04:00
George Beckstein
382a55487f
Added object extensions configuration parameter to HAL
2020-04-03 04:38:21 -04:00
Volodymyr Medvid
b61cf5bdd6
PSoC 62/63: set correct mbed_ram_start and mbed_ram_size
...
In case when target.mbed_ram_start and target.mbed_ram_size are not set
neither in targets.json nor in mbed_app.json, the IRAM1 region values
defined in tools/arm_pack_manager/index.json are passed by Mbed CLI as
the linker script preprocessing flags. As a result, wrong addresses of
MBED_RAM_START and MBED_RAM_SIZE are defined in the linker script since
CMSIS DFP pack has no information about RAM split between CM0+ and CM4 applications.
Set the values explicitly in targets.json to ensure the correct RAM layout.
The MBED_ROM_START and MBED_ROM_SIZE provided by CMSIS DFP are already
correct since the linker scripts places CM4 vector table at MBED_APP_START,
taking into account the flash application area of the CM0+ prebuilt application.
2020-04-02 17:44:37 +01:00
Martin Kojtal
ded879daed
Merge pull request #12603 from dustin-crossman/pr/add-cysbsyskit_01
...
Add target CYSBSYSKIT_01
2020-04-02 18:18:11 +02:00
heejungPark
7cb2344f42
Update PeripheralPinMaps.h
...
Add SPDX identifier
2020-04-02 20:08:42 +09:00
heejungPark
e87e2f4770
Change files in TARGET_SDT64B
2020-04-02 11:36:34 +09:00
Martin Kojtal
6e46e2ddd3
Merge pull request #12639 from rajkan01/ethernethal_remove_deprecated
...
Remove the deprecated ethernet hal APIs
2020-04-01 20:28:17 +02:00
Martin Kojtal
00fef8346e
Merge pull request #12733 from 0xc0170/fix_odin_removal
...
odin targets: remove release version
2020-04-01 14:41:11 +02:00
Martin Kojtal
66bf7e85a6
Merge pull request #12547 from amq/update-emlib
...
EFM32: update emlib to 5.9.1
2020-04-01 14:19:10 +02:00
Martin Kojtal
a6ef9db8dc
Merge pull request #12626 from jeromecoutant/PR_F4
...
STM32F4 update drivers version to CUBE V1.25.0
2020-04-01 10:50:32 +02:00
Martin Kojtal
0eca8d38d0
Merge pull request #12715 from RyoheiHagimoto/rza1-eth-deprecation
...
RZ_A1H remove usage of ethernet hal API
2020-04-01 08:54:31 +02:00
Martin Kojtal
d308da11e7
Merge pull request #12610 from u-blox/ubx_modem_api
...
Add UBLOX_onboard_modem_api for power up UBLOX_C027.
2020-04-01 08:41:26 +02:00
Martin Kojtal
f03860a971
Merge pull request #12604 from OpenNuvoton/nuvoton_nano130_tickless_lpticker
...
NANO130: Fix test failures with tickless from lp_ticker
2020-04-01 08:40:19 +02:00
Chun-Chieh Li
2c9ec8f19d
M487: Add SPDX license identifier for BSP files
2020-04-01 13:55:46 +08:00
Chun-Chieh Li
d709c775b4
M487: Add SPDX license identifier
2020-04-01 13:55:45 +08:00
Chun-Chieh Li
3b9492fdbc
M487: Update BSP
...
Relevant modifications:
1. Support degrading QSPI0/1 to SPI4/5 for normal SPI transfer
2. Fix with BSP crypto driver API change
3. Fix with BSP PDMA driver API change
4. Make necessary modifications to pass FPGA CI Test Shield tests
5. Don't distinguish pinmap among parts e.g. M480 LG. Application users must take care.
2020-04-01 13:55:12 +08:00
Martin Kojtal
f899bae16a
odin targets: remove release version
...
This is a preparation for more upcoming changes. The latest master updates removed deprecated functionality and these targets do not compile anymore.
2020-03-31 15:55:27 +01:00
amq
ef28b74802
EFM32: move __Vectors from header to source
2020-03-31 10:37:28 +02:00
Martin Kojtal
0a6e586a9d
Merge pull request #12660 from OpenNuvoton/nuvoton_m2351_custom_board
...
M2351: Support custom board
2020-03-31 09:29:22 +02:00
Martin Kojtal
eb2457f59d
Merge pull request #12690 from jeromecoutant/PR_GCC_ETEXT
...
STM32: solve GCC Unspecified RTOS error
2020-03-31 09:27:05 +02:00
jeromecoutant
33fc5000a9
STM32F4 V1.19.0 -> V1.25.0 : adaptation
2020-03-30 16:04:02 +02:00
jeromecoutant
aa22c4b4d5
STM32F4 V1.19.0 -> V1.25.0 : Driver part
2020-03-30 16:04:01 +02:00
jeromecoutant
480fd2ab92
STM32F4 V1.19.0 -> V1.25.0 : CMSIS part
2020-03-30 16:04:00 +02:00
jeromecoutant
3c3b17d601
STM32F4 restructuration for better maintenance
2020-03-30 16:03:59 +02:00
Martin Kojtal
92cdcfb302
Merge pull request #12662 from artokin/workaround_for_stm32f4_sleep
...
Add workaround for STM32F4 hardfault in sleep mode
2020-03-30 14:08:48 +02:00
mudassar-ublox
bf65342d75
Added UBLOX modem api for power up modem UBLOX_C027
2020-03-30 17:01:09 +05:00
RyoheiHagimoto
7794221c69
[RZ_A1H] remove usage of ethernet hal API
2020-03-30 14:54:35 +09:00
Marcelo Salazar
5aa66b5c9a
Add workaround for F429 hardfault
2020-03-27 11:58:46 +00:00
Anna Bridge
a34333fe36
Merge pull request #12677 from jeromecoutant/PR_H7_QSPI
...
STM32H7: enable QSPI
2020-03-27 11:20:48 +00:00
Dustin Crossman
56099951b5
Ran astyle on COMPONENT_SCL.
2020-03-26 11:50:58 -07:00
Martin Kojtal
b5f00bc67a
Merge pull request #12679 from vmedcy/psoc6-export
...
PSoC6: enable export to uVision and IAR
2020-03-26 09:09:35 +01:00
Martin Kojtal
f011ccb2cb
Merge pull request #12692 from petroborys/master
...
EFM32G11: Add RGB LEDs to PinNames.h
2020-03-26 09:08:53 +01:00
petroborys
3f6a48fcc8
Added RGB LEDs to PinNames.h
2020-03-24 21:05:07 +02:00
jeromecoutant
a1c159e0b5
STM32 GCC Unspecified RTOS error
2020-03-24 17:32:13 +01:00
Martin Kojtal
2c5660ae35
Merge pull request #12642 from OpenNuvoton/nuvoton_m263_custom_board
...
M263: Support custom board
2020-03-24 08:52:47 +01:00
Chun-Chieh Li
e6823c6af5
M2351: Add SPDX license identifier for BSP files
2020-03-24 10:47:03 +08:00
Chun-Chieh Li
d1655854c9
M2351: Add SPDX license identifier
2020-03-24 10:03:44 +08:00
Volodymyr Medvid
0ac62d0317
PSoC6: enable export to uVision and IAR
2020-03-23 20:08:30 +01:00
jeromecoutant
249752e7bc
STM32H7: enable QSPI
...
- DISCO_H747I board has MT25QL512 embedded QSPI
2020-03-23 18:46:26 +01:00
Anna Bridge
c37b119418
Merge pull request #12659 from tymoteuszblochmobica/wiced_update
...
Rebuild WICED libraries after Mbed update
2020-03-20 15:24:16 +00:00
Teemu Takaluoma
40672c5e0f
Disable sleep on STM32F4 as an workaround for stability issues.
...
This workaround is related to Mbed OS issue
https://github.com/ARMmbed/mbed-os/issues/12294
2020-03-20 12:16:06 +02:00
Chun-Chieh Li
dbd34ed63e
NANO130: Enlarge timeout in CLK_WaitClockReady(...)
...
Most code doesn't check return code of CLK_WaitClockReady(...). Enlarge timeout to meet most cases.
lp_ticker initialization fails with this issue. Steps for reproducing:
1. System runs in tickless from lp_ticker mode.
2. Arm WDT reset.
3. In next reset cycle, lp_ticker initialization fails (active flag doesn't become active).
2020-03-20 10:26:39 +08:00
Chun-Chieh Li
427e8eb777
M2351: Support custom board
...
1. Introduce MCU_M2351 target to be inheritable
2. Re-organize PinNames.h to be overridable
3. Enable configurability of USB/STDIO UART pins
2020-03-20 09:39:16 +08:00
Chun-Chieh Li
f5cb899413
M263: Re-organize PinNames.h
...
This is to support custom boards based on M261 series chips.
2020-03-20 09:16:51 +08:00
Chun-Chieh Li
15fcdb1c36
M263: Support configurability for USB/STDIO UART pins
...
- STDIO_UART and STDIO_UART_TX/STDIO_UART_RX
- USB_UART and USBTX/USBRX
2020-03-20 09:16:51 +08:00
Chun-Chieh Li
edcfcf0495
M263: Enable configurability for memory specification
...
This is to support custom boards based on M261 series chips.
2020-03-20 09:16:50 +08:00
Chun-Chieh Li
203a9fe0ec
M263: Add SERIAL_TX/SERIAL_RX pin names
...
Don't set SERIAL_TX/SERIAL_RX to USBTX/USBRX which should be dedicated for USB VCOM and not for other uses.
2020-03-20 09:16:49 +08:00
Chun-Chieh Li
180528b5c9
M263: Add MCU_M261 target
...
This is to support M261 series based targets.
2020-03-20 09:16:12 +08:00
Tymoteusz Bloch
7e146b0c9e
Rebuild WICED libraries after Mbed update
2020-03-18 00:27:50 +01:00
Martin Kojtal
696467976f
Merge pull request #12576 from OpenNuvoton/nuvoton_m487_custom_board
...
M487: Support custom board
2020-03-17 16:39:50 +01:00
Rajkumar Kanagaraj
20c3e38349
Remove the deprecated ethernet APIs
2020-03-17 06:00:07 -07:00
Dustin Crossman
89c70fbd9a
Fix licenses in COMPONENT_SCL.
2020-03-16 09:40:34 -07:00
Anna Bridge
d61187c23a
Merge pull request #12611 from jeromecoutant/PR_UART_PARITY
...
STM32F4 UART issue when parity enabled
2020-03-13 11:07:21 +00:00
Chun-Chieh Li
5ec86411c4
M487: Re-organize PinNames.h
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:34:45 +08:00
Chun-Chieh Li
2cf82821dd
M487: Support configurability of USB/STDIO UART pins
...
- STDIO_UART and STDIO_UART_TX/STDIO_UART_RX
- USB_UART and USBTX/USBRX
2020-03-12 09:34:45 +08:00
Chun-Chieh Li
9d26390595
M487: Make memory specification configurable
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:34:14 +08:00
Chun-Chieh Li
58e0048c50
M487: Enable FLASHIAP for custom targets
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:31:52 +08:00
Chun-Chieh Li
6f30d4fdc7
M487: Disable network default interface type for custom targets
...
This is to support custom targets based on M480 series chips.
For Mbed-Enabled boards:
- NUMAKER_PFM_M487: ETHERNET
- NUMAKER_IOT_M487: WIFI
2020-03-12 09:31:52 +08:00
Chun-Chieh Li
43f297fdd4
M487: Disable MBEDTLS_CONFIG_HW_SUPPORT for custom targets
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:31:52 +08:00
Chun-Chieh Li
98c151a9f2
M487: Make SPIM CCM mode configurable
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:31:51 +08:00
Chun-Chieh Li
2f770b77a9
M487: Remove BUTTON1/2 for custom targets
...
This is to support custom targets based on M480 series chips.
2020-03-12 09:31:51 +08:00
Chun-Chieh Li
c4ffd38a90
M487: 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-03-12 09:31:51 +08:00
Anna Bridge
4bc491ac30
Merge pull request #12598 from rajkan01/mutex_lock_remove_return
...
Change Mutex lock and unlock APIs return value to void
2020-03-11 12:39:16 +00:00
Dustin Crossman
539b78fae0
CYSBSYSKIT_01 targets.json and bsp update.
2020-03-10 09:52:52 -07:00
jeromecoutant
6752a2d555
STM32F4 UART issue when parity enabled
...
Bits 8:0 DR[8:0]: Data value
When receiving with the parity enabled, the value read in the MSB bit is the received parity
bit.
2020-03-10 17:22:02 +01:00
Rajkumar Kanagaraj
2f4cf1a052
Fix the CI build issue
2020-03-10 07:50:32 -07:00
Anna Bridge
33f3049286
Merge pull request #12233 from bulislaw/minimal_printf_default
...
Enable minimal-printf by default for all builds
2020-03-10 12:13:11 +00:00
Dustin Crossman
05776d6f88
Update COMPONENT_SCL.
2020-03-09 10:07:12 -07:00
Dustin Crossman
6b6db89434
Improve documentation.
2020-03-09 10:07:12 -07:00
Dustin Crossman
0fe5efc4a4
Added checks for configuration parameters
2020-03-09 10:07:12 -07:00
Dustin Crossman
63e546f2c0
Remove MBED_TICKLESS from CYSBSYSKIT_01.
2020-03-09 10:07:12 -07:00
Dustin Crossman
25a4caf3ed
Formatted json for cysbsyskit_01.
2020-03-09 10:07:12 -07:00
Dustin Crossman
792dfb51d5
Add forced reset timeout to CYSBSYSKIT_01 target.
2020-03-09 10:07:12 -07:00
Dustin Crossman
60169e92f4
Defined default config options.
2020-03-09 10:07:12 -07:00
Dustin Crossman
e754510cce
Add COMPONENT_SCL.
2020-03-09 10:07:11 -07:00
Dustin Crossman
89549e7bc9
Add CYSBSYSKIT_01 target.
2020-03-09 10:07:11 -07:00
Dustin Crossman
684d6dab4c
Add CYSBSYSKIT_01 bsp.
2020-03-09 10:07:11 -07:00
jeromecoutant
1fa78eb5a8
STM32F7: add ARM_LIB_HEAP definition in ARM linker scripts
2020-03-05 16:35:40 +01:00
jeromecoutant
0871db277b
STM32F7: allow multiple SetSysClock call
2020-03-05 16:34:56 +01:00
Martin Kojtal
22f3bc4ae7
Merge pull request #12436 from mprse/fpga_remove_gpio_pinmaps
...
Remove GPIO pin-maps used for FPGA testing
2020-03-04 13:24:05 +00:00
Martin Kojtal
a17866e623
Merge pull request #12559 from jeromecoutant/PR_DISCO_L4R9
...
DISCO_L4R9I correct LED pins
2020-03-04 07:48:32 +00:00
Martin Kojtal
b3583f04cf
Merge pull request #12464 from jeromecoutant/PR_ETHERNET
...
STM32 EMAC : add configuration choice and connection check
2020-03-03 16:04:18 +00:00
Martin Kojtal
4f07086d85
Merge pull request #12557 from OpenNuvoton/nuvoton_m487_wdt_reset_powerdown
...
M487: Fix crash on WDT reset from power-down
2020-03-03 14:24:25 +00:00
jeromecoutant
3e30033822
DISCO_L4R9I correct LED pins
2020-03-03 13:36:57 +01:00
Martin Kojtal
bad9c57085
Merge pull request #12460 from mprse/spi_init_nc_fix
...
Allow MISO/MOSI set to NC during SPI initialisation (fix for issue #12435 )
2020-03-03 09:56:47 +00:00
Evelyne Donnaes
5016fa1a10
Merge branch 'master' into minimal_printf_default
2020-03-02 17:31:37 +00:00
jeromecoutant
1b40076376
STM32 EMAC : more configurable
...
- PHY default configuration can be changed
- AutoNegotiation
- Speed
- DuplexMode
- PHY register offset can be updated depending on chosen PHY
All unused parameters are cleaned.
2020-03-02 16:19:26 +01:00
amq
0fdb9f237a
EFM32: fix minor emlib changelog typos
2020-03-02 14:00:40 +01:00
amq
6f7b242ff5
EFM32: update emlib for EFR32MG12
2020-03-02 13:32:41 +01:00
amq
4c375046bc
EFM32: update emlib for EFR32MG1
2020-03-02 13:32:41 +01:00
amq
0361bdea3f
EFM32: update emlib for EFM32ZG
2020-03-02 13:32:41 +01:00
amq
c68bcf806e
EFM32: update emlib for EFM32WG
2020-03-02 13:32:40 +01:00
amq
4c230763db
EFM32: update emlib for EFM32PG
2020-03-02 13:32:40 +01:00
amq
012682a244
EFM32: update emlib for EFM32LG
2020-03-02 13:32:40 +01:00
amq
b3f13b8d4a
EFM32: update emlib for EFM32HG
2020-03-02 13:32:39 +01:00
amq
39d5c86829
EFM32: update emlib for EFM32PG12
2020-02-27 22:32:39 +01:00
amq
5dfea97afc
EFM32: update emlib for EFM32GG11
2020-02-27 22:31:57 +01:00
amq
a1a55d8c5c
EFM32: update emlib for EFM32GG
2020-02-27 22:31:16 +01:00
amq
b81d585404
EFM32: update emlib src and inc
2020-02-27 22:16:06 +01:00
amq
9399887686
EFM32: update emlib changelog
2020-02-27 22:15:44 +01:00
Dustin Crossman
c7ec670886
Remove reset reason from Future Sequana targets.
2020-02-27 09:59:43 -08:00
Martin Kojtal
fc5f3259de
Merge pull request #12458 from GaborAbonyi/add_musca_b1_platform
...
Add Musca B1 target
2020-02-27 13:53:58 +00:00
Martin Kojtal
2d93a4578d
Merge pull request #12451 from jeromecoutant/PR_QSPI_TRACE
...
STM32 : enable MBED trace for QSPI
2020-02-27 10:02:46 +00:00
Chun-Chieh Li
cbf1a8a6fd
M487: Get around h/w issue with reset from power-down mode
...
When UART interrupt enabled and WDT reset from power-down mode, in the next
cycle, UART interrupt keeps breaking in and cannot block unless via NVIC. To
get around it, we deliberately make up a signal of WDT wake-up from power-down
mode in the start of boot proces when WDT reset is detected.
2020-02-27 17:46:19 +08:00
Chun-Chieh Li
55f88a0942
M487: Re-implement Reset_Handler() in naked inline assembly
...
This is to guarantee SRAM bank2, not initialized yet, isn't used for stack by function preamble code at the very start.
2020-02-27 17:38:53 +08:00
Martin Kojtal
5c16018c96
Merge pull request #12509 from SiliconLabs/bugfix/rtcc_lpticker_coexistence
...
EFM32: RTCC bugfix for #12374
2020-02-27 07:21:14 +00:00
Martin Kojtal
98db25537a
Merge pull request #12440 from dustin-crossman/pr/reset_reason
...
Implement reset_reason api for cypress targets
2020-02-25 15:24:54 +00:00
Steven Cooreman
9bc59fe2d7
Bugfix for #12374
...
Use an RTCC retention register to keep track of user timebase for RTC API. RTC and LP Ticker implementations use the same counter, but they shouldn't share timebases.
2020-02-25 11:44:12 +01:00
Martin Kojtal
1629103fb1
Merge pull request #12421 from dustin-crossman/pr/cy_targets_reorganization
...
Cypress Targets Reorganization
2020-02-24 16:25:08 +00:00
Przemyslaw Stekiel
32311b7ca5
i2c_api.c: fix style
2020-02-24 14:59:07 +01:00
Przemyslaw Stekiel
e18a800e7c
NRF52840 I2C driver: Initialise I2C pins before transmission
...
By default D0 - D3 pins are used for the bit-banged SPI com channel between mbed target and the FPGA-test-shield.
For some reason, if pins were used as GPIOs and then reconfigured to I2C pins the I2C com does not work on NRF52840.
This commit modifies i2c_configure_twi_instance() function and adds proper initialization of the I2C pins.
2020-02-24 14:59:06 +01:00
Przemyslaw Stekiel
2b52c5861a
K64F: remove PTD3 pin from I2C SDA pinmap - fails FPGA test
2020-02-24 14:58:51 +01:00
Przemyslaw Stekiel
d36f2aacb2
KW24D, KW41Z: Remove GPIO pin-maps (use restricted GPIO pins if needed)
2020-02-24 14:56:54 +01:00
Martin Kojtal
119931e56d
Merge pull request #12478 from OpenNuvoton/nuvoton_m2351_minor
...
M2351: Fix some minor issues
2020-02-24 12:51:52 +00:00
Martin Kojtal
f47e569da5
Merge pull request #12496 from amq/efm32_fix_pinmap_test
...
EFM32: fix mbed_hal-pinmap test
2020-02-24 11:58:06 +00:00
Martin Kojtal
ec2da1ae54
Merge pull request #12492 from miteshdedhia7/pr/psoc6cm0p-update-1.1.1
...
Update psoc6cm0p asset to version 1.1.1.
2020-02-24 11:27:18 +00:00
amq
ca9424f6ba
EFM32: fix mbed_hal-pinmap test
2020-02-24 11:25:01 +01:00
Martin Kojtal
dc733d8883
Merge pull request #12477 from fkjagodzinski/hal-gpio-get_capabilities
...
HAL: Add a get_capabilities() function to GPIO API
2020-02-24 07:47:39 +00:00
midd
6baafdaf81
Update psoc6cm0p asset to version 1.1.1. This version is built with PSoC 6 Peripheral Driver Library (PDL) 1.4.1
2020-02-21 10:52:33 -08:00
Dustin Crossman
404dacc9ea
Implemented reset reason api.
2020-02-21 09:48:26 -08:00
Tamas Kaman
551c3c553c
Add ARM_MUSCA_B1 as a new target platform
...
Musca-B1 is a Cortex-M33 based target with security extension enabled.
- ARM_MUSCA_B1 is the non-secure target running mbed-os.
- ARM_MUSCA_B1_S is the secure target running TF-M.
- TF-M sources were imported and patched in previous commits.
- TF-M secure bootloader (McuBoot) for MUSCA_B1 is submitted by a
pre-built binary.
- A post-build hook concatenates The secure and non-secure binaries,
signs it and then concatenates the bootloader with the signed binary.
Change-Id: I4b36290941b5f0bb7aa7c12dda2f38b5c1e39ae2
Signed-off-by: Tamas Kaman <tamas.kaman@arm.com>
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-02-21 14:34:39 +01:00
Martin Kojtal
8f1bf967d3
Merge pull request #11942 from michalpasztamobica/remove_deprecated_apis
...
IPCore String-based API removal
2020-02-21 12:14:06 +00:00
Martin Kojtal
72b2fcf29a
Merge pull request #12384 from jeromecoutant/PR_WBDEBUG
...
STM32WB : update BLE part with better support
2020-02-21 12:12:42 +00:00
Martin Kojtal
685e0be935
Merge pull request #12473 from amock/fix-MCUXpresso-dac
...
Fix Freescale MCUXpresso AnalogOut
2020-02-20 15:18:14 +00:00
Martin Kojtal
3662759a0e
Merge pull request #12438 from hugueskamba/hk-fix-baremetal-cy9cproto
...
Fix CY8CPROTO_062_4343W baremetal build
2020-02-20 12:50:29 +00:00
jeromecoutant
9977ace2c9
STM32 : enable MBED trace for QSPI
2020-02-20 12:20:24 +01:00
jeromecoutant
a1570f936f
STM32WB : Add ReadMe file
...
Help on FW update procedure
2020-02-20 09:20:44 +01:00
jeromecoutant
9d016022b6
STM32WB clean SetSysClock
2020-02-20 09:20:44 +01:00
jeromecoutant
ebae0e56d4
STM32WB align deepsleep functions with CubeFW
2020-02-20 09:20:43 +01:00
Alan Mock
b3c0ef81dc
The DAC init was using the ADC pinmap. This fixes that.
2020-02-19 22:33:07 -08:00
Filip Jagodzinski
09ecd2fdc0
Nuvoton: Add gpio_get_capabilities()
...
TARGET_NANO100, TARGET_NUC472 & TARGET_M451 do not support input pull
mode configuration.
2020-02-19 18:58:47 +01:00
Filip Jagodzinski
1b894aa67a
K64F: Add gpio_get_capabilities()
...
Remove the gpio_pinmap() for this target. GPIO tests are skipped based
on pin's capabilities.
2020-02-19 18:58:47 +01:00
Bartek Szatkowski
30c947efbb
Enable minimal-printf by default for all builds
...
Also reenable floating point by default.
2020-02-19 15:29:38 +00:00
Martin Kojtal
043f68b9a7
Merge pull request #12454 from OpenNuvoton/nuvoton_spi_no_miso
...
Nuvoton: Optimize spi_master_write(...) in case of no SPI MISO pin
2020-02-19 14:33:42 +00:00
Martin Kojtal
1f8778b15b
Merge pull request #12449 from eavelardev/patch-2
...
Add missing pins def for ARDUINO_NANO33BLE
2020-02-19 14:32:51 +00:00
Martin Kojtal
1c00adc6ba
Merge pull request #12447 from eavelardev/patch-1
...
fix targets device_name with nrf51822 32K SoC
2020-02-19 14:32:06 +00:00
Martin Kojtal
664000ac82
Merge pull request #12431 from the-real-blackh/master
...
Nordic NRF52 GPIO API: Fix non-deterministic failure to configure interrupt handling
2020-02-19 12:54:58 +00:00
Martin Kojtal
9f5ced30dc
Merge pull request #12415 from jeromecoutant/PR_H7README
...
STM32H7 : add readme file for dual core use
2020-02-19 12:52:10 +00:00
Przemyslaw Stekiel
713be4fd77
STM pin_function(), pin_mode(): return immediately when given pin is NC
...
Additionally, remove redundant pin checks against NC when above functions are used.
2020-02-19 11:46:59 +01:00
Przemyslaw Stekiel
5aaf3b7479
K64F, LPC SPI driver: Fix style
2020-02-19 11:46:57 +01:00
Chun-Chieh Li
34d3d43f0d
M2351: Fix NSC_Init(...)
...
Actually, NSC_Init(...) is not used by secure code currently. No need to rebuild secoure image/lib.
2020-02-19 17:59:49 +08:00
Chun-Chieh Li
7328467012
M2351: Fix interrupt vector with BSP update
2020-02-19 17:57:01 +08:00
Chun-Chieh Li
d5620b66a7
M2351: Fix RTC comment
2020-02-19 17:51:49 +08:00
Przemyslaw Stekiel
c6a6984ab8
Allow NC for MISO or MOSI while initializing SPI
...
Static pinmap extension required to use pin_function() and pin_mode() functions instead of pinmap_pinout(). Unfortunatelly pin_function() does not allow passing NC pin.
Call pin_function() and pin_mode() only if MISO/MOSI pin is not NC.
2020-02-18 13:38:43 +01:00
jeromecoutant
065a79e48a
STM32H7: add README file for dual core use
2020-02-17 16:21:20 +01:00
Eduardo Avelar
5984f02203
Add missing pins def for ARDUINO_NANO33BLE
...
We add pins def for the sense version of the board.
https://content.arduino.cc/assets/Pinout-NANOsense_latest.pdf
https://content.arduino.cc/assets/NANO33BLE_V2.0_sch.pdf
2020-02-17 01:01:33 -08:00
Chun-Chieh Li
8df96ec50a
Nuvoton: Make SPI inter-frame (delay match configured suspend interval
...
In no MISO case, skip SPI read so that no more write/read delay contribute to SPI inter-frame delay when data is written successively.
Update targets:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
- NUMAKER_PFM_M487/NUMAKER_IOT_M487
- NU_PFM_M2351_*
- NUMAKER_IOT_M263A
- NUMAKER_M252KG
2020-02-17 15:00:09 +08:00
Eduardo Avelar
77852199cf
fix targets device_name with nrf51822 32K SoC
...
nrf51822 32K SoC corresponds to device name nRF51822_xxAC
2020-02-16 20:24:07 -08:00
Hugues Kamba
18193abdb5
Fix CY8CPROTO_062_4343W baremetal build
...
Make a Mbed library with Cypress WHD files so it is automatically excluded
when building with the bare metal profile. Create another Mbed library to
group network files that use WHD so they can also be excluded fro the bare
metal profile.
2020-02-16 13:02:36 +00:00
jeromecoutant
d66b39de18
STM32L5 : Add DISCO-L562E support
2020-02-14 17:49:40 +01:00
jeromecoutant
f0969022b8
STM32L5 : add QSPI support
2020-02-14 17:49:33 +01:00
Martin Kojtal
a8188bfd4d
Merge pull request #12166 from hugueskamba/hk-baremetal-NRF52840_DK-fix
...
NRF52840_DK: Fix baremetal linker error
2020-02-14 08:21:27 +00:00
Stephen Blackheath
e9dd6020b5
Nordic NRF52 GPIO API: Fix failure to clear the field 'skip_gpio_setup' in a local
...
gpiote input configuration data structure, resulting in non-deterministic failure
to initialize interrupt handling.
2020-02-14 10:08:23 +13:00
Martin Kojtal
7e1443ad47
Merge pull request #12424 from OpenNuvoton/nuvoton_gpio-irq_rtc-lxt
...
Nuvoton: Fix GPIO IRQ and RTC
2020-02-13 15:56:33 +00:00
Martin Kojtal
7383860c57
Merge pull request #12422 from dustin-crossman/pr/cy_asset_update_2-7-20
...
Cypress Asset Update
2020-02-13 10:11:28 +00:00
Martin Kojtal
d78e009284
Merge pull request #12411 from soleilplanet/L496AG_port
...
add FLASHIAP in targets.json for KVStore used in PDMC
2020-02-13 09:47:38 +00:00
Martin Kojtal
7658681a9e
Merge pull request #12409 from LMESTM/Fix_lpuart_deep_sleep
...
FIX: LPUART clock source selection should be left to serial driver
2020-02-13 09:45:41 +00:00
Martin Kojtal
ffbd8b1994
Merge pull request #12408 from fkjagodzinski/fix-lpc408x_ethernet_api
...
LPC408X: Delete the ethernet_api.c files
2020-02-13 09:45:26 +00:00
Martin Kojtal
df6d0729b1
Merge pull request #12407 from mprse/NRF_restricyed_uart_fix
...
Disable restricted uart peripheral for NRF52840
2020-02-13 09:45:16 +00:00
Chun-Chieh Li
769781cfb3
M2351: Update PSA secure image/lib with RTC LXT
2020-02-13 11:24:02 +08:00
Chun-Chieh Li
4c9e0f1fcd
M2351: Update non-PSA secure image/lib with RTC LXT
2020-02-13 11:24:02 +08:00
Chun-Chieh Li
9f9ca0acaa
M2351: Fix CRYPTO_MODBASE() when crypto module is configured to secure
...
This bug results from BSP update:
- CRPT: Base address of secure or non-secure crypto module, dependent on partition
- CRPT_S: Base address of secure crypto module
- CRPT_NS: Base address of non-secured crypto module
2020-02-13 11:24:02 +08:00
Chun-Chieh Li
834e1aad60
M2351: Fix delay code with RTC clock source
...
Explicitly configure RTC clock source to LXT
2020-02-13 11:24:02 +08:00
Chun-Chieh Li
28495bb075
M2351: Refine gpio_irq_set(...) with inconsistent GPIO_EnableInt(...) implementations
...
No logic change
2020-02-13 11:24:02 +08:00
Chun-Chieh Li
582c08c129
M2351: Refine code layout of PeripheralPins.c
...
No logic change
2020-02-13 11:24:01 +08:00
Chun-Chieh Li
4a1d612e90
Nuvoton: Fix delay code with RTC clock source
...
Explicitly configure RTC clock source to LXT
Update targets:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
- NUMAKER_PFM_M487/NUMAKER_IOT_M487
- NUMAKER_M252KG
- NUMAKER_IOT_M263A
2020-02-13 11:24:01 +08:00
Chun-Chieh Li
86fcae5b03
Nuvoton: Fix GPIO rising/falling edge interrupts cannot exist simultaneously
...
This is to pass mbed_hal_fpga_ci_test_shield-gpio_irq test.
Update targets:
- NUMAKER_PFM_NANO130
- NUMAKER_PFM_NUC472
- NUMAKER_PFM_M453
- NUMAKER_PFM_M487/NUMAKER_IOT_M487
- NUMAKER_M252KG
- NUMAKER_IOT_M263A
2020-02-13 11:24:01 +08:00
Dustin Crossman
563edb294d
Store RTC century and RTC state information in persistent BREG register.
2020-02-12 15:05:26 -08:00
Dustin Crossman
3fdb820b26
Update psoc6hal to 1.1.1.11145.
2020-02-12 15:05:16 -08:00
Dustin Crossman
a8331c28ce
Update psoc6 core_lib to version 1.1.1.11109.
2020-02-12 15:05:05 -08:00
Dustin Crossman
5bd02f866e
Update psoc6pdl to version 1.4.1.2240
2020-02-12 15:04:46 -08:00
Alvin Lee
66413d4d4e
add FLASHIAP in targets.json for KVStore used in PDMC
2020-02-12 15:11:28 +08:00
Laurent Meunier
3fd071404e
FIX: LPUART clock source selection should be 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.
2020-02-11 17:14:45 +01:00
Martin Kojtal
8e522056a0
Merge pull request #12404 from OpenNuvoton/nuvoton_m2351_bsp
...
M2351: Update BSP and bugfix
2020-02-11 15:43:10 +00:00
Filip Jagodzinski
fc36b9594c
LPC408X: Delete the ethernet_api.c files
...
Remove an obsolete HAL implementation from LPC408X to fix the GCC_ARM
build with the "-flto" flag.
With the lto enabled, unreferenced buffers defined in ethernet_api.c
were not excluded at link time overflowing the 16kB peripheral SRAM1
(ld error: "section '.AHBSRAM1' will not fit in region 'ETH_RAM'").
The Ethernet HAL API is deprecated in favor of EMAC.
2020-02-11 16:34:44 +01:00
Przemyslaw Stekiel
d541b461c9
Disable restricted uart peripheral for NRF52840
...
While testing it has been found that all tests are skipped in the FPGA uart test on the NRF52840 target.
This is caused by the following change:
https://github.com/ARMmbed/mbed-os/pull/12379 - Add STDIO UART as restricted for FPGA testing for all targets
NRF targets have MUXed pins and mainly do not provide pin-maps. There are only dummy pin-maps for testing.
These pin-maps hold only pins and do not specify the peripheral or function of the pin (always 0). Because of that if we restrict STDIO uart peripheral (0) all FPGA uart test cases will be skipped.
To fix this we will remove this restriction for NRF52840. Restriction for testing the USBTX, USBRX pins is sufficient in this case.
2020-02-11 15:24:17 +01:00
Martin Kojtal
c1eaf2c358
Merge pull request #12380 from mprse/DISCO_L475VG_IOT01A_add_gpio_pinmap
...
DISCO_L475VG_IOT01A: Add a list of restricted GPIO pins for testing
2020-02-11 11:58:53 +00:00
Martin Kojtal
a745525a54
Merge pull request #12342 from fkjagodzinski/fix-nxp-hal_fpga
...
LPC55S69: Fix UART & GPIO HAL to pass FPGA CI test shield tests
2020-02-11 11:03:22 +00:00
Martin Kojtal
d3078a39b1
Merge pull request #12379 from mprse/STDIO_UART_restricted_all
...
Add STDIO UART as restricted for FPGA testing for all targets and support for restricting GPIO
2020-02-11 10:20:25 +00:00
Martin Kojtal
4ec6228e70
Merge pull request #12393 from GaborAbonyi/musca_a1_linker_fix
...
Fix Musca-A1 gcc linker
2020-02-11 08:31:39 +00:00
Dustin Crossman
286af23585
Removed unnecessary PSOC6Code.complete post binary hook from cypress targets.
2020-02-10 14:08:01 -08:00
Dustin Crossman
d35c9f1895
Removed CY8CMODs from targets.json.
2020-02-10 20:16:35 +00:00
Dustin Crossman
84c9303ea0
Remove CY8CMOD_062S3_4343W and merge into CY8CPROTO_062S3_4343W.
2020-02-10 12:04:59 -08:00
Dustin Crossman
0f0c79d2ed
Remove CY8CMOD_062S2_43012 and merge into CY8CKIT_062S2_43012.
2020-02-10 12:03:13 -08:00
Dustin Crossman
f4731715df
Remove CY8CMOD_062_4343W and merge into CY8CPROTO_062_4343W.
2020-02-10 12:01:51 -08:00
Hugues Kamba
65fbee1d33
NRF52840_DK: Fix baremetal linker error
...
Compile in the inclusion of cryptocell310 only if the library is included
in the build
2020-02-10 15:18:46 +00:00
Martin Kojtal
a8e87236de
Merge pull request #12368 from mprse/NRF_Serial_Fpga_fix
...
Fix NRF52840_DK UART driver and adapt FPGA test
2020-02-10 14:26:31 +00:00
Martin Kojtal
88438dfd6c
Merge pull request #12394 from miteshdedhia7/pr/bug-fix-misc
...
Fix SDIO communication issue on Cypress 1M boards and other minor fixes
2020-02-10 14:05:11 +00:00
Martin Kojtal
7fd5119b89
Merge pull request #12341 from fkjagodzinski/fix-stm-hal_fpga
...
STM32L4: Fix the UART RX & TX data reg bitmasks
2020-02-10 13:21:31 +00:00
Chun-Chieh Li
3d9c7b2519
M2351: Update PSA secure image/lib with BSP update
2020-02-10 18:37:30 +08:00
Chun-Chieh Li
ee8236b22e
M2351: Update non-PSA secure image/lib with BSP update
2020-02-10 17:50:15 +08:00
Chun-Chieh Li
6f793fbb5a
M2351: Fix GPIO rising/falling edge interrupts cannot exist simultaneously
2020-02-10 17:44:55 +08:00
Chun-Chieh Li
a2c9ae6b7d
M2351: Update BSP and bugfix
...
Align with mainline BSP and fix relevant bugs:
1. Align with SPI module naming
(1) Remove SPI5
(2) Degrade QSPI0 to SPI4 so that it can use for standard SPI
2. Fix some code lacking GPIO H
3. Implement __PC(...) by following BSP instead of with MBED_CALLER_ADDR()
4. Add SCU_IRQHandler(). Change printf(...) with interrupt-safe error(...)
5. Other minor alignment change
2020-02-10 16:23:32 +08:00
Chun-Chieh Li
82770d7e2b
M2351: Refine PeripheralNames.h
...
No logic change and bugfix
2020-02-10 09:07:13 +08:00
midd
df5ac6483b
Added a multiplied by 2 in the SDIO clock divider calculation to account for internal UDB divider.
...
Note: Fixes issues with intermittent WiFi firmware load failures on CY8CKIT_062_WIFI_BT, CYW943012P6EVB_01, CYW9P62S1_43012EVB_01, CYW9P62S1_43438EVB_01.
2020-02-07 10:25:24 -08:00
midd
8a986f7dcc
Remove wounding for the hardware CRYPTO block. The PSoC 6 MPN CYW9P62S1_43012EVB_01 was revised to add the hardware crypto block.
2020-02-07 10:24:57 -08:00
jeromecoutant
2368a07244
STM32: Fix the UART RX & TX data reg bitmasks
2020-02-07 16:23:50 +00:00
thegecko
ff1fc2cd87
Updated 113 targets with missing detect_codes
2020-02-07 16:02:05 +00:00
Gabor Abonyi
a5a6912b0e
Fix Musca-A1 gcc linker
...
Was broken since 3e3af70afc
Signed-off-by: Gabor Abonyi <gabor.abonyi@arm.com>
2020-02-07 16:33:32 +01:00
Przemyslaw Stekiel
a0ff95bed5
LPC55S69: Add restricted GPIO pins for FPGA testing
2020-02-07 13:32:32 +01:00
Filip Jagodzinski
83b7b6d142
LPC55S69: Fix serial IRQ handling
...
Check that the RX or TX interrupt is enabled before calling
a registered handler with RxIrq or TxIrq arg.
2020-02-07 13:32:32 +01:00
Martin Kojtal
d847f9f164
Merge pull request #12305 from kivaisan/remove_multi_athandler_support_v2
...
Cellular: Remove support for multiple ATHandlers
2020-02-07 11:00:41 +00:00
Przemyslaw Stekiel
3a71f86235
DISCO_L475VG_IOT01A: Add a list of restricted GPIO pins for testing
2020-02-07 11:41:32 +01:00
Przemyslaw Stekiel
a4e1354769
Remove pinmap_restricted_peripherals() function from Nuvoton (STDIO uart is restricted by default)
2020-02-07 10:45:02 +01:00
Martin Kojtal
2719090f93
Merge pull request #12364 from NXPmicro/MXRT1050_Deep_Sleep_Latency
...
MIMXRT1050: Update for deep sleep latency
2020-02-07 09:39:11 +00:00
Filip Jagodzinski
ae635d5cd4
STM32L4: Fix the UART RX & TX data reg bitmasks
...
The existing logic was insufficient to properly handle odd and even
parity setting, e.g. serial_getc() returned 9-bit data for 8O1
transmission format.
2020-02-06 14:07:51 +01:00
Przemyslaw Stekiel
8fda5a453a
Use dedicated macros to skip test cases instead target macro.
2020-02-06 12:53:41 +01:00
Michal Paszta
2cb2c41ba2
Rebuilt wiced libs to remove the deprecated API dependencies.
2020-02-06 11:27:52 +02:00
Martin Kojtal
9017957638
Merge pull request #12377 from miteshdedhia7/pr/psoc6cm0p-update-1.1.0
...
Update psoc6cm0p asset to 1.1.0
2020-02-06 09:05:10 +00:00
Martin Kojtal
9e0642d518
Merge pull request #12359 from NXPmicro/MXRT1050_Bootloader_Support
...
MXRT1050: Add bootloader support
2020-02-06 08:10:45 +00:00
midd
3dbfed058e
Update psoc6cm0p asset to 1.1.0
2020-02-05 12:40:17 -08:00
Mahesh Mahadevan
8b46e91a28
MIMXRT1050: Update for deep sleep latency
...
1. Do not disable and enable osillators during deep sleep
entry and exit
2. Increase the deep sleep to pass tests
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-05 10:38:53 -06:00
Martin Kojtal
32675cc6ac
Merge pull request #11874 from fkjagodzinski/armc6_build-enable_lto_for_release
...
ARMC6: Add a build profile extension with the link-time optimizer enabled
2020-02-05 14:42:16 +00:00
Martin Kojtal
a039979851
Merge pull request #12370 from 0xc0170/MarceloSalazar-FIX_OKDO_ODIN_12361
...
OKDO_ODIN_W2: Reenable lp-ticker and BLE
2020-02-05 14:08:59 +00:00
Martin Kojtal
e3ad1cae55
Merge pull request #12334 from AriParkkila/cell-c030-r412m
...
Update cellular drivers/tests for UBLOX_C030_R412M
2020-02-05 12:50:11 +00:00
Martin Kojtal
edb39c603c
Merge pull request #12366 from OpenNuvoton/nuvoton_m2351_gcc
...
M2351: Support GCC
2020-02-05 12:48:03 +00:00
Marcelo Salazar
b2ac793775
OKDO_ODIN_W2: Reenable lp-ticker and BLE
2020-02-05 12:36:04 +00:00
Martin Kojtal
b140fd0766
Merge pull request #12369 from hugueskamba/hk-fixlpc1768-baremetal
...
LPC1768: Fix ARM toolchain baremetal by defining 2 memory region
2020-02-05 11:26:57 +00:00
Martin Kojtal
841b846b46
Merge pull request #12362 from ABOSTM/L0_CUBE_HAL_REWORK_NO_MORE_OVERRUN
...
TARGET_STM: L0 CUBE SPI async mode send next byte after previous one is read
2020-02-05 10:17:13 +00:00
Hugues Kamba
193e49c6b7
LPC1768: Fix ARM toolchain baremetal by defining 2 memory region
...
The changes are based on the scatter file in TOOLCHAIN_ARM_MICRO
2020-02-05 08:50:11 +00:00
Przemyslaw Stekiel
6a9b4bb64f
TARGET_NRF52/serial_api.c: Fix style
2020-02-05 08:47:09 +01:00
Przemyslaw Stekiel
fbe8a8e327
NRF52 serial: Trigger TxIrq interrupt manually on enabling
...
It is required by Mbed HAL API to generate TxIrq interrupt when TXD register is empty (also after enabling TxIrq interrupt):
f73a62afbf/hal/serial_api.h (L144-L147)
The driver uses DMA to perform uart transfer and TxIrq is generated after the transfer is finished.
While enabling TxIrq we will check if TXD reg is empty and manually trigger the interrupt.
2020-02-05 08:47:09 +01:00
Chun-Chieh Li
9faa236dfc
M2351: Refactor startup file
...
1. Re-organize to make clear for all targets/toolchains support in single startup file
2. Inline assembly syntax is limited, esp. on IAR. Try paving the way for accessing external symbols still in inline assembly instead of re-write in assembly.
2020-02-05 10:14:26 +08:00
Chun-Chieh Li
c168e147d6
M2351: Support GCC
...
1. Enable GCC support on non-secure targets
2. Disable GCC support on secure targets becasue of GCC bug (as of 9-2019-q4-major): In non-secure entry function, callee-saved registers must be restored, but they are incorrectly cleared at optimization level "Os".
2020-02-05 10:11:48 +08:00
Mahesh Mahadevan
013b651988
MXRT1050: Add bootloader support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-04 10:37:06 -06:00
Martin Kojtal
b33573ed27
Merge pull request #12317 from NXPmicro/MXRT_FlashSupport
...
MXRT1050 Flash support
2020-02-04 15:25:22 +00:00
Martin Kojtal
cee2a352a7
Merge pull request #12357 from ABOSTM/F103_ADC3_NOT_SUPPORTING_COMMON_SETTINGS
...
TARGET_STM32F1: don't set ADC common register when ADC doesn't support it
2020-02-04 15:24:51 +00:00
Alexandre Bourdiol
315220832f
TARGET_STM: L0 CUBE SPI async mode send next byte after previous one read
...
In STM32 Cube HAL, in interrupt mode (async),
2 bytes can be prepared in hardware registers without any read
(1 in regular register, the other in shift register),
but Only 1 RX byte can stored in hardware register, specially when there is no hardware FIFO.
If interrupt handling is fast enough, each read is made in parralele of the write.
But if interrupt handling is too long or is interrupted for too long,
it can happen that one read byte is lost (overrun).
For STM32F4, Tickless has been deactivated to avoid such issue.
For STM32L0, we don't want to deactivate tickless,
because those chips are specially design for lowpower.
So instead of removing SPI async mode,
we propose to change the HAL behavior specially for L0:
each byte is send only when previous read is performed.
Thus only 1 RX byte at a time which is saved in hardware register.
This prevent overrun, but it introduceS some latency between each byte send,
this is why it is not applied to all STM32 families.
2020-02-04 13:26:49 +01:00
Maciej Bocianski
e3b8514a91
NUMAKER_IOT_M487: keep __vector_handlers symbols in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:38:37 +01:00
Maciej Bocianski
6d896f032f
NU_PFM_M2351_NPSA: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST.)
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:38:26 +01:00
Maciej Bocianski
50c3b100a8
NUMAKER_PFM_NUC472: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST.)
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:30:00 +01:00
Maciej Bocianski
ad7f27bf77
NUMAKER_PFM_NANO130: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST.)
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:59 +01:00
Maciej Bocianski
ddd2cf8920
NUMAKER_PFM_M453: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST.)
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:59 +01:00
Maciej Bocianski
f0dc4abb3f
NUMAKER_M252KG: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:58 +01:00
Maciej Bocianski
9aade4a816
NUMAKER_IOT_M263A: keep __vector_handlers symbol in LTO builds
...
Add a "used" attribute to __vector_handlers to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:57 +01:00
Maciej Bocianski
ec839f0931
MSP432_LAUNCHPAD: keep interruptVectors symbol in LTO builds
...
Add a "used" attribute to interruptVectors to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:57 +01:00
Maciej Bocianski
5fdacc4fb3
MIMXRT1050_EVt: keep hyperflash_config/image_vector_table symbols in LTO builds
...
Add a "used" attribute to hyperflash_config/image_vector_table to fix ARMC6 build with
the "-flto" flag.
(Error: L6236E: No section matches selector - no section to be FIRST/LAST. )
This attribute, attached to a function/variable, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:56 +01:00
Maciej Bocianski
cf1e1ddd4b
EV_COG_AD4050LZ: keep IVT_NAME/blank_checksum symbols in LTO builds
...
Add a "used" attribute to IVT_NAME/blank_checksum
to fix ARMC6 build with the "-flto" flag. (Error: L6236E: No section matches
selector - no section to be FIRST/LAST. )
This attribute, attached to a function, means that code must be emitted
for the function even if it appears that the function is not referenced.
2020-02-04 12:29:55 +01:00