Commit Graph

1630 Commits (240758db42aaa42b2abd50daea5033c3cc7e80dc)

Author SHA1 Message Date
Veijo Pesonen a15cdd3194 MCU_NRF52840: Switches to correct Product Anomaly Notification macro 2019-10-18 07:23:59 +03:00
Martin Kojtal ccc37a181c
Merge pull request #11692 from VeijoPesonen/nrf52840_dk_enable_flashiap
NRF52840_DK: enables FLASHIAP for the device
2019-10-17 14:12:27 +02:00
Martin Kojtal 5747163664
Merge pull request #11694 from d-kato/rza1_fix_components
Fix components setting for GR-PEACH and GR-LYCHEE
2019-10-17 14:00:45 +02:00
toyowata 5389536953 Add bootloader support for Seeed Arch-MAX 2019-10-17 10:05:03 +09:00
Martin Kojtal 16568da47f
Merge pull request #11605 from ABOSTM/DISCO_H747I_DUALCORE_SUPPORT
DISCO_H747I dualcore support
2019-10-16 17:35:25 +08:00
d-kato 307c106ec6 Fix multiple definitions of GR-LYCHEE 2019-10-16 16:33:05 +09:00
d-kato 2bf1b5c8cc Add FLASHIAP to GR-PEACH component 2019-10-16 16:28:41 +09:00
Veijo Pesonen b6453ef2cc NRF52840_DK: enables FLASHIAP for the device 2019-10-16 08:45:57 +03:00
jeromecoutant f117d3518d QSPIF frequency setting depends on QSPI memory not target.
This makes new board with the same QSPI memory addition.
2019-10-15 17:36:50 +02:00
Martin Kojtal 262a62a375
Merge pull request #11645 from kyle-cypress/pr/psoc6-tickless
Enable tickless for PSoC6 targets
2019-10-15 19:28:11 +08:00
Martin Kojtal 2fe14682fa
Merge pull request #11609 from madchutney/iotbtool/407-microbit-fix
IOTBTOOL-407 Fix microbit to use Arm C5
2019-10-15 13:07:00 +08:00
Alexandre Bourdiol adcf0e2fa5 DISCO_H747I Dualcore support
Add 2 targets for DISCO_H747I dualcore:
* DISCO_H747I      -> for CM7 core
* DISCO_H747I_CM4  -> for CM4 core

Current restrictions:
* TICKLESS deactivated
* DeepSleep not supported (DeepSleep wrapped to sleep)

Warning: use of the same IP (example I2C1) by both core at the same time is not prevented,
but is strongly not recommended.
Some Hardware Semaphore are use for common IP, to manage concurrent access by both cores: Flash, GPIO, RCC.

Warning: Drag and drop of binary to DISCO_H747I will flash CM7.
         In order to flash CM4, one can use STM32 CubeProgrammer tool.
2019-10-14 18:02:57 +02:00
Roman Okhrimenko 9b86b391b2 Initial addition of files to support CY8CKIT_064S2_4343W target 2019-10-11 19:28:17 +03:00
Anna Bridge c094ad8095
Merge pull request #11561 from kyle-cypress/pr/target-063-ble
Add TARGET_CY8CPROTO_063_BLE
2019-10-11 14:39:29 +01:00
Anna Bridge 97e11cc781
Merge pull request #11176 from OpenNuvoton/nuvoton_m252kg
Support Nuvoton target NUMAKER_M252KG
2019-10-11 14:33:06 +01:00
Rohan Fletcher 02df759c37 OLIMEX_STM32E407_F407ZG: Added new target platform
Added Olimex STM32-E407 (STM32F407ZG) evaluation board.
USB, UART, External HS XTAL and Ethernet are all working correctly.
2019-10-10 09:20:28 +13:00
Anna Bridge 1798c246cc
Merge pull request #11625 from gpsimenos/gp-revert-tickless-ublox-odin
Revert tickless on UBLOX_EVK_ODIN_W2
2019-10-08 10:45:43 +01:00
Kyle Kearney 0c15ed1e13 Enable tickless for PSoC6 targets 2019-10-07 15:53:25 -07:00
Anna Bridge f1295b9aa7
Merge pull request #11573 from felser/add_413_dragonfly
Add 413 dragonfly
2019-10-07 16:48:07 +01:00
jeromecoutant 99e4f228b5 STM32: remove unused TARGET_STM_EMAC additional directory 2019-10-07 11:18:14 +02:00
Anna Bridge 7eb8807a76
Merge pull request #11589 from jamesbeyond/fm_psa
Enable PSA tests for fastmodel
2019-10-04 12:01:19 +01:00
George Psimenos 508775c240 Revert tickless on UBLOX_EVK_ODIN_W2 2019-10-03 15:57:25 +01:00
Graham Hammond 18c5d47c68 IOTBTOOL-407 Fix microbit to use Arm C5
Earlier changes introduced a change to default Arm C6, which does not compile the micro library which is based on Mbed 2. This change fixes the compiler version for NRF51_MICROBIT devices.
2019-10-01 16:30:03 +01:00
Ben Cooke dd778c4126 Add MTS_DRAGONFLY_F413RH platform to mbed-os 2019-09-30 13:50:40 -05:00
Qinghao Shi a3f82738dd FASTMODEL: enable PSA tests for fastmodel 2019-09-27 15:59:42 +01:00
Chun-Chieh Li f45ca72f11 [M252KG] Remove TRNG support
Reasons to remove TRNG support:
1.  M252 just has 32KiB SRAM and cannot afford mbedtls application.
2.  Implementing TRNG HAL with PRNG H/W has security concern.
2019-09-27 17:50:48 +08:00
Chun-Chieh Li a8f0817cdb [M252KG] Enlarge LPTICKER_DELAY_TICKS for safe
On Nuvoton targets, lp_ticker_set_interrupt(...) needs around 3 lp-ticker
ticks to take effect. It may miss when current tick and match tick are very
close (see hal/LowPowerTickerWrapper.cpp). Enlarge LPTICKER_DELAY_TICKS to
4 from 3 to address this boundary case.
2019-09-27 17:45:53 +08:00
Chun-Chieh Li a5afcd6115 [M252KG] Enlarge required deep sleep latency
This configuration is to pass wake-up from deep-sleep test such as mbedmicro-rtos-mbed-systimer.
2019-09-27 17:45:53 +08:00
Chun-Chieh Li 538f55f9ff [M252KG] Add 'sectors' target configuration parameter 2019-09-27 17:45:53 +08:00
Chun-Chieh Li d0ffd9510f [M252KG] Override mpu-rom-end to 0x1fffffff
Without this override, mpu hal will require 5 mpu regions which exceed 4 mpu
regions supported by M252 (see hal/mpu/mbed_mpu_v8m.c). In this scenario,
we will hit assert error but we actually meet stack overrun first due to just
0x400 bytes for emitting error message. The issue doesn’t occur on other
targets such as M487 because it has 8 mpu regions.
2019-09-27 17:45:52 +08:00
Chun-Chieh Li 36278618ad Support Nuvoton's NUMAKER_M252KG target 2019-09-27 17:45:52 +08:00
Chris Trowbridge eb6a474ba8 EP_AGORA: Add config logic to enable BLE, cell, and LoRa by default 2019-09-25 12:28:04 -04:00
Kyle Kearney 1b21612afd Add target for CY8CPROTO-063-BLE 2019-09-24 11:25:12 -07:00
Martin Kojtal f513bce4a3
Merge pull request #11480 from gpsimenos/gp-enable-tickless-stage2
Enable tickless mode in additional tested targets
2019-09-23 11:42:58 +02:00
Martin Kojtal 1f5a124820
Merge pull request #11117 from Terstegge/target_msp432_support
Target msp432 support
2019-09-20 15:02:35 +02:00
Martin Kojtal 77dd6f02a0
Merge pull request #11463 from gpsimenos/gp-enable-tickless-stage1
Enable tickless mode in MAX32630FTHR
2019-09-20 14:13:32 +02:00
Martin Kojtal 6790e64bd8
Merge pull request #11347 from woodsking2/master
Fix NRF52832 softdevice memory map
2019-09-20 14:09:42 +02:00
James Wang 876b643a9d remove NRF52840, NRF52832 static_memory_defines set
static_memory_defines controls the macro MBED_RAM_START AND MBED_RAM_SIZE
when nrf52840 to use softdevice, it need MBED_RAM_START to set the true application ram start

default static_memory_defines is true, so just remove NRF52840 and NRF52832's set
2019-09-20 11:34:35 +08:00
George Psimenos f1a8b04769 Enable tickless mode on tested targets ARCH_PRO, NUCLEO_F401RE, NUCLEO_F411RE, UBLOX_EVK_ODIN_W2 2019-09-19 13:25:05 +01:00
George Psimenos 43e5532c50 Remove trailing whitespace 2019-09-17 14:49:38 +01:00
George Psimenos 9673a45c93 Enable tickless in MAX32630FTHR 2019-09-17 14:49:38 +01:00
Martin Kojtal ffbd92c5a9
Merge pull request #11288 from OpenNuvoton/nuvoton_m2351_comb-sec-nonsec
M2351: Enhance secure/non-secure image build flow for non-PSA target
2019-09-17 12:18:16 +02:00
mahanthgouda 1780a08d54 Add OKDO platform (#11407)
Add OKDO platform
2019-09-16 16:58:54 +02:00
Chun-Chieh Li b98360ed20 M2351: Enable USB UART for non-PSA secure target for Greentea
NOTE1:  USB UART is partitioned for non-secure world. Secure world still can share
        it with limit that its interrupt cannot use in secure world.
NOTE2:  In secure world, USB UART is only for Greentea and STDIO. Developers shouldn't
        use it for other purposes.
2019-09-16 10:38:52 +08:00
Chun-Chieh Li e9e85f5307 M2351: Support non-PSA secure/non-secure combined build
Support secure/non-secure combined build for non-PSA target:
1.  In secure post-build, deliver built secure image to TARGET_NU_PREBUILD_SECURE
    directory which is to combine later.
2.  In non-secure post-build, merge non-secure image with secure image saved in
    TARGET_NU_PREBUILD_SECURE directory.
3.  In non-secure post-build, user can also drop pre-built secure image saved in
    TARGET_NU_PREBUILD_SECURE directory and provide its own by adding the line below
    in mbed_app.json:
    "target.extra_labels_remove": ["NU_PREBUILD_SECURE"]
2019-09-16 10:37:08 +08:00
Chun-Chieh Li c025e33fec M2351: Rename non-PSA target name to NU_PFM_M2351_NPSA_S/NS
1.  Create a private target name NU_PFM_M2351_CM which stands for the
    NuMaker-PFM-M2351 board and is to be extended.
2.  NU_PFM_M2351_NPSA_S/NS target names for non-PSA secure/non-secure targets
    respectively.
3.  The original target name NUMAKER_PFM_M2351 is recycled and cannot be used.
    Use NU_PFM_M2351_S/NS for non-PSA secure/non-secure targets instead.

NOTE:   Target name doesn't follow the rule below because online database has
        limit of max 20 chars:

        NUMAKER_PFM_M2351_PSA/NOPSA_S/NS

        Instead, it has the rule:

        NU_PFM_M2351_[NPSA_]S/NS

        NU_PFM_M2351_S/NS for PSA targets. This is to be consistent with current
        PSA target naming. So the resolved target names are:

        NU_PFM_M2351_S          : PSA secure target
        NU_PFM_M2351_NS         : PSA non-secure target
        NU_PFM_M2351_NPSA_S     : Non-PSA secure target
        NU_PFM_M2351_NPSA_NS    : Non-PSA non-secure target
2019-09-16 10:22:23 +08:00
Kostiantyn Tkachov 9fc299a1cc Updated mbedTLS CRYPTO target to be more flexibly configured for supported boards 2019-09-12 01:30:54 +02:00
Martin Kojtal c897e041c8
Merge pull request #11384 from jeromecoutant/PR_H747_CM7
ST DISCO-H747I introduction
2019-09-10 19:43:57 +02:00
jeromecoutant fb3f0f904e Remove "STM32H747ZI" device_name, as not supported yet by MBED 2019-09-10 11:46:50 +02:00
jeromecoutant c28d5f17e5 DISCO_H747I single core M7 introduction 2019-09-10 11:46:50 +02:00
Michal Paszta 551bc8a1f5 Enable async serial for K66F
Added DMA definitions and usage for UART, based on K64F's code.
2019-09-09 18:43:43 +03:00
Martin Kojtal 458523219a
Merge pull request #11006 from linlingao/pr10692
Introduce an Mbed config to enable XIP
2019-09-09 11:09:21 +02:00
Martin Kojtal 6c0144eb21 nrf52: fix removing additional config - was not there 2019-09-05 11:38:22 +01:00
Martin Kojtal 530f1e9a24 NRF52: fix config
remove lib config and use target configuration instead. To avoid duplication of symbols, etc.

Fixes #10655
2019-09-05 11:02:05 +01:00
Martin Kojtal f0234268f5
Merge pull request #11046 from kotkcy/pr/cy_mbedtls_alt
Initial implementation of Cypress Crypto hardware acceleration for mbedTLS
2019-09-05 09:43:06 +02:00
Martin Kojtal 753917d476
Merge pull request #11380 from OpenNuvoton/nuvoton_m263_lpticker-delay-ticks
M263: Enlarge LPTICKER_DELAY_TICKS for safe
2019-09-04 13:51:49 +02:00
Martin Kojtal 9e0e00d6cd
Merge pull request #11381 from OpenNuvoton/nuvoton_m263_wakeup-latency
M263: Enlarge required deep sleep latency
2019-09-04 11:55:06 +02:00
Martin Kojtal 9a1ffdd9d2
Merge pull request #11330 from tung7970/fix-ameba
RTL8195AM - resuscitate AMEBA GCC/ARMCC support
2019-09-04 11:53:56 +02:00
Kostiantyn Tkachov d4746dd9f9 Removed mbedTLS hardware support from FUTURE_SEQUANA targets 2019-09-04 12:28:20 +03:00
Lin Gao 67c6bdbf2d removed xip unrelated changes 2019-09-03 16:14:38 -05:00
Lin Gao 2a78a9ba13 Refactored code to not use macro. Created config xip-enable 2019-09-03 11:54:14 -05:00
Lin Gao ea032bebc4 Add XIP capability, enable QSPI. XIP can be enable by adding macro XIP_ENABLE in mbed_app.json. It's disabled by default. 2019-09-03 11:54:11 -05:00
jeromecoutant fb8b503b1c STM32 targets: USBDEVICE support 2019-09-03 14:24:34 +02:00
Andreas Terstegge 8853453ce3 First version of MSP432 support for mbed OS
Removed private TODO file.

Fixed cmsis.h so that renaming of CS and DIR_H is not necessary any more.

Leave pinmap.h unchanged although it should include stdint.h
Moved stdint.h to PinNames.h instead, where it is also used.

Reworked system startup (clock configuration) to be more flexible
(different clock sources for MCLK and SMCLK, configurable clock dividers).

Fixed Copyright headers

Changed default clock settings for MSP432 Launchpad to
MCLK 48 MHz (HFXT) and SMCLK 24 MHz (HFXT)

Remove mbed_rtx.h

Added common mbed_rtx.h file (merge with lastest master)

Added support for IAR toolchain

Fixed some astyle problems.

Added support for ARM C5/C6 toolchains

Small changes to us_ticker implementation after port testing.

Changed default clock configuration to DCO (MCLK 48MHz, SMCLK 24MHz).
De-configured the LFXT crysal, because this made the system_reset() test to time out.

Removed MPU from device_has list. Changed clock source to HFXT.

Reworked startup_msp432p401r.c -> now only one startup file for all compilers.
Changed all linker scripts to delete VECTORS stuff (not needed).

Moved position of MSP432 in targets.json so TI stuff is in one block.
2019-09-03 11:19:31 +02:00
Kostiantyn Tkachov 7cbfa84625 Initial commit to add mbedTLS hardware acceleration for Cypress chips to mbed-os sources 2019-09-02 15:20:11 +03:00
Roman Okhrimenko 9780c9018e Disabled QSPI for now 2019-08-30 16:00:09 +03:00
Roman Okhrimenko ed9995e06c PSOC6_SB: Initial commit to add CY8CPROTO_064_SB to mbed-os sources. 2019-08-30 15:10:18 +03:00
Martin Kojtal 68054861e8
Merge pull request #11354 from kyle-cypress/pr/pdl-linker-script
Update linker scripts based on latest PDL 1.3
2019-08-30 07:10:32 +02:00
Martin Kojtal a65ed8c3d8
Merge pull request #11303 from jeromecoutant/PR_H743ZI2_480
NUCLEO_H743ZI2 : increase system clock from 400 MHz to 480 MHz
2019-08-29 17:10:06 +02:00
Hennadiy Kytsun bf00ebe409 Remove rom start/size macros when bootloader=true
Allow the application to specify this depending on whether/how
it is using the bootloader and whether it requires a CM0+ image.
2019-08-29 07:15:56 -07:00
Martin Kojtal 8ef742a49c
Merge pull request #11370 from u-blox/ublox_odin_driver_os_5_v3.7.1_rc1
Driver Updates + ARMC6 driver support + WIFI fixes
2019-08-29 13:35:06 +02:00
Chun-Chieh Li 7504cf835f M263: Fix mbedmicro-rtos-mbed-systimer/Wake up from deep sleep failing
This test requires total latency (tot = h/w + s/w) (wakeup from deepsleep) be
under 1ms. To check the issue, measure total latency on Nuvoton targets:

TARGET      EXP(us)     EXP+TOL(us) ACT(us)
NANO130     42000       43000       42939
NUC472      42000       43000       42236
M453        42000       43000       43274
M487        42000       43000       42877
M2351       42000       43000       43213

Checking h/w spec, h/w latency (wakeup time from normal power-down mode) on
M487/M2351 is just 1us (n/a on other targets). S/W latency plays the major
part here.

S/W latency relies on system performance. On Nuvoton targets, 'LPTICKER_DELAY_TICKS'
possibly complicates the test. Anyway, to pass the test, add extra 1ms latency
(deep-sleep-latency) in targets.json for Nuvoton targets.
2019-08-29 18:08:12 +08:00
Chun-Chieh Li 2a48f54c1d M263: Enlarge LPTICKER_DELAY_TICKS for safe
On Nuvoton targets, lp_ticker_set_interrupt(...) needs around 3 lp-ticker
ticks to take effect. It may miss when current tick and match tick are very
close (see hal/LowPowerTickerWrapper.cpp). Enlarge LPTICKER_DELAY_TICKS to
4 from 3 to address this boundary case.
2019-08-29 18:00:45 +08:00
Martin Kojtal 453122944c
Merge pull request #11366 from 0xc0170/dev_rollup
Rollup part 2 for 5.14
2019-08-29 09:28:49 +02:00
aqib-ublox 7f36fbc86e Driver Updates + ARMC6 driver support + wifi fixes 2019-08-29 11:33:29 +05:00
Kyle Kearney 095e8dfbd9 Remove WATCHDOG from TARGET_SEQUANA
This was added to TARGET_PSOC6 which TARGET_SEQUANA inherits from,
but TARGET_SEQUANA doesn't implement WATCHDOG
2019-08-28 18:06:02 -07:00
Orest Akymyshyn 3898fed709 Update targets for Cypress Kits
Enable QSPI and Watchdog
Define additional macros to enable more generic BSP code
Allow deep sleep latency to be set by configurator-generated code
2019-08-28 10:56:15 -07:00
Kyle Kearney 317f720b11 Move BSP design.modus/GenSrc into its own component
Enables code examples/end user applications to override if necessary
Add BSP_DESIGN_MODUS component by default to all PSOC6 boards. Applications can remove this if necessary.
2019-08-28 10:56:14 -07:00
Martin Kojtal 96d9a8fea9 Merge branch 'MX25LM51245G_QSPI_test_config' of git://github.com/LMESTM/mbed into dev_rollup 2019-08-28 18:37:17 +01:00
Mahesh Mahadevan 695e930f09 KL43Z: Enable USBDevice
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-28 13:12:04 +01:00
Marcelo Salazar 4d5bf75ae6 Fix ELMO_F411RE detect code 2019-08-28 13:12:03 +01:00
Martin Kojtal 2cfea4faba target TT_: fix compilation errors
They define slave for spi, rtc but do not contain implementation - removing them.
Fixes #11143
2019-08-28 13:12:03 +01:00
Martin Kojtal 7e0fb8fab9
Merge pull request #11293 from NXPmicro/K82F_Add_USBDevice
K82F: Add USBDEVICE support
2019-08-28 07:27:40 +02:00
James Wang 6d3d88f921
set NRF52832 static_memory_defines true
static_memory_defines controls the macro MBED_RAM_START AND MBED_RAM_SIZE
when nrf52832 to use softdevice, it need MBED_RAM_START to set the true application ram start
2019-08-27 19:50:01 +08:00
Tony Wu 020cf85cf0 rtl8195am - disable IAR support
Disable IAR support until HAL library is upgraded to IAR8

Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:40:23 +08:00
Tony Wu 371d336fcd rtl8195am - enable USTICKER support
Signed-off-by: Tony Wu <tonywu@realtek.com>
2019-08-27 10:40:19 +08:00
Martin Kojtal 421ad37433
Merge pull request #11122 from OpenNuvoton/nuvoton_m263
Support Nuvoton's new target NUMAKER_IOT_M263A
2019-08-26 14:12:36 +02:00
cyliangtw 5a1a25abe0 Add MBED_FAULT_HANDLER_DISABLED into macros to avoid GCC issue 2019-08-23 21:53:01 +08:00
Martin Kojtal b786e68a6a
Merge pull request #11294 from NXPmicro/KL43_Add_Storage
KL43Z: Enable FALSHIAP storage
2019-08-23 15:43:19 +02:00
jeromecoutant 8cd00b3468 STM32L4: Add OSPI IP support in fallback QSPI mode
For STM32 platforms that embed an OSPI IP, we're offering
a QSPI fallback support with this commit.

When OSPI is supported in mbed, we can consider adding full
OSPI support
2019-08-23 15:18:48 +02:00
cyliangtw 2b3fda91d3 Not disable MBED_FAULT_HANDLE by default after it supports Cortex-M23 2019-08-23 18:12:18 +08:00
cyliangtw 99e1d0b49c M263 support GCC and IAR toolchain 2019-08-23 18:12:14 +08:00
cyliangtw e46cf83850 M263: Add Numaker-IoT-M263A target board 2019-08-23 18:12:02 +08:00
jeromecoutant 3e4592703d Create NUCLEO_H743ZI2 own target at 480 MHz 2019-08-23 10:33:08 +02:00
Martin Kojtal 48b5939b33
Merge pull request #11152 from OpenNuvoton/nuvoton_fpga-ci
Nuvoton: Fix FPGA CI test failing
2019-08-23 10:02:19 +02:00
Martin Kojtal b1aec797e2
Merge pull request #11282 from NXPmicro/K22_Add_Storage
K22F: Add FlashIAP for storage
2019-08-23 10:01:16 +02:00
Mahesh Mahadevan 6d736d8ce0 KL43Z: Enable FALSHIAP storage
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 12:16:09 -05:00
Mahesh Mahadevan c249d5fd54 K82F: Add USBDEVICE support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-22 11:17:35 -05:00
Martin Kojtal 1182d1e9bb
Merge pull request #11284 from NXPmicro/K22_Add_USB_Support
K22: Add USBDEVICE support
2019-08-22 14:34:44 +02:00
Martin Kojtal 9d6bfcfc78
Merge pull request #11261 from NXPmicro/Enable_Tickless_LPC
MCUXpresso: Add TICKLESS support for LPC platforms
2019-08-22 11:06:00 +02:00