Commit Graph

6902 Commits (tools-release-6.0.0)

Author SHA1 Message Date
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