Commit Graph

2018 Commits (86dad5cda90f452b0d30af0c1d1530bd31ecc5d0)

Author SHA1 Message Date
Anna Bridge ceaf562a11
Merge pull request #12283 from jeromecoutant/PR_STM32WB
STM32WB - Update CubeDriver from v1.0.0 to v1.4.0
2020-01-25 11:54:29 +00:00
Mahesh Mahadevan 72bd899e02 MIMXRT1050: Add Watchdog support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-01-24 07:24:46 -06:00
Anna Bridge 6e762a2850
Merge pull request #12210 from mprse/disable_lp_ticker_stm_no_lse
Fix for issue #10725: disable lp-ticker for STM targets which uses RTC/LSI for lp-ticker
2020-01-24 11:22:57 +00:00
Anna Bridge 0d48a26f82
Merge pull request #12154 from hugueskamba/hk-baremetal-nrf51822-fix
NRF51822: Fix baremetal linker error
2020-01-24 11:21:25 +00:00
jeromecoutant e4d0629d18 STM32L5 : Introduce NUCLEO_L552ZE_Q board 2020-01-23 17:55:07 +01:00
Andrew Chong 107fc9fce3 Removed PortIn/Out/InOut from Samsung target for now. 2020-01-22 14:40:51 +09:00
Andrew Chong a26e0d1358 Revert "Removing CMSIS_NVIC_VIRTUAL from S5JS100 target conf."
This reverts commit e75292a11402e88a33dc25b6fbc03095604ae860.
2020-01-22 14:40:51 +09:00
Andrew Chong b0eb27058a Removing CMSIS_NVIC_VIRTUAL from S5JS100 target conf. 2020-01-22 14:40:51 +09:00
Andrew Chong ceae1df511 Removing CMSIS pack connector of from S5JS100. 2020-01-22 14:40:50 +09:00
PARKJIHOON 8ab00df7b4 Adding Samsung Exynos i S111 target code.
Adding a new target of HW development kit using [Samsung Exynos i S111](https://www.samsung.com/semiconductor/minisite/exynos/products/iot/exynos-i-s111/) module to Mbed-OS.
This will widen the HW choices of Mbed-OS enabled NB-IoT, GNSS and Security (eFuse, AES, SHA-2, PKA, Secure Storage, Security Sub-System, [PUF](https://en.wikipedia.org/wiki/Physical_unclonable_function)) modules.
Target Name: S5JS100

Co-authored-by: Ivan Galkin <ivan.galkin@samsung.com>
Co-authored-by: Seokwon Lee <swon.lee@samsung.com>
Co-authored-by: Zhizhe Zhu <zhizhe.zhu@samsung.com>
Co-authored-by: Xinyi Zhao <xinyi.zhao@samsung.com>
2020-01-22 14:40:50 +09:00
Anna Bridge ee1d998d43
Merge pull request #12278 from rajkan01/feature_rename_default_lib
Rename "default_lib" to "c_lib".
2020-01-21 16:39:11 +00:00
Rajkumar Kanagaraj e4f4ff291b Fixing the CI build issue 2020-01-21 04:10:13 -08:00
Przemyslaw Stekiel 39809111c5 targets.json: fix styling 2020-01-21 09:10:19 +01:00
jeromecoutant 339846a1bb STM32WB cleanup
- BLE feature is mandatory
- remove clock source selection
- license alignment
- startup file from Cube delivery
- linker script alignement
2020-01-20 17:24:28 +01:00
jeromecoutant 8c76a43d3c STM32WB - New directory structure 2020-01-20 16:10:55 +01:00
Przemyslaw Stekiel 5994b1e108 MTB_UBLOX_ODIN_W2: Reenable lp-ticker and BLE
Make an exception for this target and enable lp-ticker when LSE is not available.
This exception is added because of with disabled lp-ticker (and BLE feature) we have the following linker error with ARM compiler:
[Error] @0,0: L6218E: Undefined symbol hciCmdAlloc (referred from BUILD/tests/MTB_UBLOX_ODIN_W2/ARM/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar(hci_vendor_cmd.o)).
[Error] @0,0: L6218E: Undefined symbol hciCmdSend (referred from BUILD/tests/MTB_UBLOX_ODIN_W2/ARM/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar(hci_vendor_cmd.o)).

It looks like the folloiwng library must be updated:
targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/sdk/TOOLCHAIN_ARM/libublox-odin-w2-driver.ar
2020-01-20 09:49:48 +01:00
Przemyslaw Stekiel d9008cc205 Disabled BLE feature for targets without lp-ticker 2020-01-20 09:04:46 +01:00
Przemyslaw Stekiel 68468653be Enable lp-ticker based on LSE for ublox C030 family. 2020-01-20 09:04:46 +01:00
Przemyslaw Stekiel cc49560b63 Disable lp-ticker for STM targets which uses RTC/LSI for lp-ticker
According to the documentation of STM32F437VG76 MCU:

The LSI RC acts as an low-power clock source that can be kept running in Stop and
Standby mode for the independent watchdog (IWDG) and Auto-wakeup unit (AWU). The
clock frequency is around 32 kHz. For more details, refer to the electrical characteristics
section of the datasheets.

It seems that typical LSI frequency is 32 kHz, but it may vary from 17 to 47 kHz!
This means that lp-timer test may fail on the same board because lp-ticker frequency is unstable.
2020-01-20 09:04:45 +01:00
Rajkumar Kanagaraj 8a0fdd24d9 Rename "default_lib" to "c_lib". 2020-01-17 08:05:48 -08:00
Martin Kojtal 0266a95fb6
Merge pull request #12223 from d-kato/rza1xx_bootloader_support
RZ_A1H and GR_LYCHEE: Enable bootloader support
2020-01-17 13:53:36 +00:00
Martin Kojtal 22042e5349
Merge pull request #12241 from OpenNuvoton/nuvoton_m2351_npsa_secure-minimal-build
M2351: Remove LPTICKER to spare memory for non-PSA minimal secure build
2020-01-16 09:42:44 +00:00
Chun-Chieh Li 359d41adef M2351: Remove LPTICKER to spare memory for non-PSA minimal secure build 2020-01-16 09:58:32 +08:00
Janne Kiiskila fabd02d1f6 Enable bootloader for NUCLEO_WB55RG
That's whole reason we wanted to start the changes... Bootloader is
supported.
2020-01-15 14:09:09 +02:00
Janne Kiiskila 7517d95ab6 NUCLEO_WB55RG - add device name "STM32WB55RGVx"
Bootloader compilation will require the device to be in place,
it uses that to pick up the CMSIS-pack info from the index.json.
2020-01-15 14:08:32 +02:00
Martin Kojtal 1a58d07c04
Merge pull request #12199 from ARMmbed/targets-json-format
Format targets.json
2020-01-15 13:00:26 +01:00
d-kato b72d0be687 Add sector information 2020-01-14 11:10:30 +09:00
d-kato 3a2ab1b56e GR_LYCHEE: enable bootloader support 2020-01-09 16:18:14 +09:00
d-kato aad53c2377 RZ_A1H: enable bootloader support 2020-01-09 16:15:50 +09:00
Hugues Kamba e0c628cbb7 NRF51822: Fix baremetal linker error
Ensure the NRF51822 `us_ticker.c` module content is compiled in only if
the target supports USTICKER.
2020-01-08 15:33:01 +00:00
Martin Kojtal af03f839e2
Merge pull request #10959 from OpenNuvoton/nuvoton_m2351_psa
M2351: Support TFM level 1
2020-01-08 16:09:35 +01:00
Martin Kojtal 1a6934adc4
Merge pull request #12081 from micgur01/master
Expose target_offset and header_offset parameters in targets.json
2020-01-08 14:01:57 +01:00
Martin Kojtal fab9e3b6c7
Merge pull request #12176 from OpenNuvoton/nuvoton_usbd
Nuvoton: Support usbd
2020-01-07 16:38:39 +01:00
thegecko 4ae87298a2 Format targets.json 2020-01-07 15:32:49 +00:00
Hugues Kamba 15bf72e982 LPC11U24: Fix baremetal build and runtime error
* Add `USTICKER` support for `LPC11U24`.
* Add `tickless-from-us-ticker` and `boot-stack-size` overrides.
2020-01-06 08:47:13 +00:00
Chun-Chieh Li fc60d1f4bc [M2351] Change memory partition for PSA
1. Change secure/non-secure ROM to 240KiB/272KiB
2. Change secure/non-secure RAM to 64KiB/32KiB
2020-01-06 15:55:01 +08:00
ccli8 9f88fce50e [M2351] Support secure/non-secure combined build for PSA
Support secure/non-secure combined build for PSA target:
1.  In secure post-build, deliver built secure image to TARGET_NU_PREBUILD_SECURE
    directory.
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 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"]
2020-01-06 15:55:01 +08:00
ccli8 41d95ef2fb [M2351] Support TFM level 1 2020-01-06 15:55:00 +08:00
Martin Kojtal 7fd637b66b
Merge pull request #12095 from NXPmicro/Update_MXRT_SDK6
Update MXRT1050 to SDK 6.0
2020-01-03 15:22:13 +00:00
cyliangtw eab8555fc8 Support NUC472 with USB 2.0 only and set M487 USB1.1 in default 2020-01-03 20:40:46 +08:00
cyliangtw abf3eeed64 Support NuMaker M453, NUC472, M2351 & M263 USBD; also support M0 usb-isr non-recloate vector limit 2020-01-03 20:40:43 +08:00
cyliangtw b34fd309e3 M487: Support USBD 2020-01-03 20:40:36 +08:00
Martin Kojtal fc2a71064d
Merge pull request #12068 from rajkan01/feature_bare_metal
Enabling small C library option and deprecating uARM toolchain
2020-01-03 11:35:48 +00:00
Antti Kauppila ca7848d854 Refactored away onboard_modem_api because it is not needed at all
All targets must implement soft_- and hard_power_on/off() functions which are practically same what onboard_modem_api offered.
These were seen as a duplicate features and therefore we removed this.
All targets involved have been updated to reflect the changes
2019-12-27 16:04:10 +01:00
Rajkumar Kanagaraj 6d081eeb70 Fixed the build tools test case failure,incorporated review comments 2019-12-23 03:54:18 -08:00
Anna Bridge bb028babc6
Merge pull request #12134 from toyowata/lpc11u35_fix
Fix LPC11U35_401 baremetal build
2019-12-23 11:51:52 +00:00
Rajkumar Kanagaraj 957dca2082 Enabling small C library option and deprecating uARM toolchain
- By default, Mbed OS build tools use standard C library for all supported toolchains.
   It is possible to use smaller C libraries by overriding the "target.default_lib" option
   with "small". This option is only currently supported for the GCC_ARM toolchain.
   This override config option is now extended in the build tool for ARM toolchain.
 - Add configuration option to specify libraries supported for each toolchain per targets.
 - Move __aeabi_assert function from rtos to retarget code so it’s available for bare metal.
 - Use 2 memory region model for ARM toolchain scatter file for the following targets:
   NUCLEO_F207ZG, STM32F411xE, STM32F429xI, NUCLEO_L073RZ, STM32F303xE
 - Add a warning message in the build tools to deprecate uARM toolchain.
 - NewLib-Nano C library is not supporting floating-point and printf with %hhd,%hhu,%hhX,%lld,%llu,%llX
   format specifier so skipping those green tea test cases.
2019-12-19 10:05:11 -08:00
Anna Bridge bef36f5f3e
Merge pull request #12093 from ABOSTM/SUPPORT_NUCLEO_G071RB
TARGET_STM: add support of board NUCLEO_G071RB
2019-12-19 15:26:08 +00:00
toyowata 0d88ff0cfe Fix USTICKER build error for LPC11U35_401 2019-12-19 15:22:07 +09:00
Mahesh Mahadevan d75d9a605d MIMXRT1050: Update target configuration
1. Add defines to copy ram & no-cache functions
2. Add deep sleep latency definition

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:18 -06:00
Alexandre Bourdiol 528ac279fe Targets: adapt NUCLEO_G071RB to CMSIS-pack info update 2019-12-13 16:42:40 +01:00
Alexandre Bourdiol 7c52aa59ec TARGET_STM: add support of board NUCLEO_G071RB 2019-12-12 14:00:04 +01:00
Michael Gurevich 03ea0e0b59 Expose target_offset and header_offset parameters in targets.json 2019-12-11 10:49:51 +02:00
Martin Kojtal 76af152fe1 UNO_91H: remove sectors, bootloader was disabled
This should be reverted once bootloader is supported.
2019-12-10 14:09:37 +00:00
Martin Kojtal 5165275d6d CY8CKIT_062_BLE: disable bootloader support
device_name is missing
2019-12-10 14:09:36 +00:00
Martin Kojtal 08b2c583df CY8CKIT_062_WIFI_BT: disable bootloader support
device_name is missing
2019-12-10 14:09:36 +00:00
Martin Kojtal eb5ee71e67 CY8CPROTO_062_4343W: disable bootloader support
device_name is missing
2019-12-10 14:09:35 +00:00
Martin Kojtal 054e806feb CY8CPROTO_063_BLE: disable bootloader support
device_name is missing
2019-12-10 14:09:34 +00:00
Martin Kojtal 6ec7534e87 CYW9P62S1_43438EVB_01: disable bootloader support
device_name missing
2019-12-10 14:09:34 +00:00
Martin Kojtal 8d4a1668c9 DISCO_L4R9I: disable bootloader
device_name is missing
2019-12-10 14:09:33 +00:00
Martin Kojtal 2a16200a60 GR_LYCHEE: disable bootloader support
An error to be fixed:
tools.config.ConfigException: Missing a memory that is read, write in CMSIS Pack data
2019-12-10 14:09:33 +00:00
Martin Kojtal b0224ecb8a NUCLEO_WB55RG: disable bootloader support
device_name is missing
2019-12-10 14:09:32 +00:00
Martin Kojtal 1c76b7efff RZ_A1H: bootloader support disable
Until the error is fixed:
    "start not found in targets.json.".format(active_memory)
2019-12-10 14:09:32 +00:00
Martin Kojtal 00c375b1c0 TB_SENSE_1: fix bootloader, not supported, ROM regions here 2019-12-10 14:09:31 +00:00
Martin Kojtal ee2caf0716 UNO_91: disable bootloader support as device name missing
The config failes with an exception that was previously ignored.
2019-12-10 14:09:31 +00:00
Martin Kojtal b7c3b35d65
Merge pull request #12043 from petroborys/master
Modify itm_api.c for EFM32 targets
2019-12-10 09:48:46 +01:00
petroborys 8bee5f300d Add ITM to targets.json for EFM32GG11_STK3701 2019-12-07 03:04:39 +02:00
petroborys 2525100cc7 modified itm_api.c for STK3701 and add SWO location 0 to EFM32GG11_STK3701, EFM32GG_STK3700, EFM32LG_STK3600, EFM32PG_STK3401, EFM32PG12_STK3402 and EFM32WG_STK3800 2019-12-07 03:00:01 +02:00
Chris Trowbridge 6b8b324eaa Add QSPI and relevant test support for target EP_AGORA 2019-12-05 14:58:06 -05:00
Martin Kojtal e9cb9cb014
Merge pull request #12018 from jeromecoutant/PR_OLIMEX_EMAC
STM32_EMAC cleanup
2019-12-05 14:03:46 +01:00
Martin Kojtal a4dbf63dc3
Merge pull request #12029 from jeromecoutant/PR_F091
STM32F0: create STM32F091xC target
2019-12-05 08:22:32 +01:00
jeromecoutant 1a3673ee52 STM32F0: create STM32F091xC target 2019-12-04 15:03:46 +01:00
Martin Kojtal 2cf56b8f6d
Merge pull request #11891 from hugueskamba/hk-enable-minimal-printf-in-tools
minimal-printf: Enable using a target configuration parameter
2019-12-04 10:14:54 +01:00
jeromecoutant bdbec57447 STM32F407 configuration cleanup 2019-12-03 14:48:48 +01:00
Hugues Kamba d5aef28145 minimal-printf: Enable using a target configuration parameter 2019-12-03 12:31:51 +00:00
Martin Kojtal a8ee2d8c7d
Merge pull request #11594 from OpenNuvoton/nuvoton_m2351_partition-memory-pelion
M2351: Pre-build secure image/lib to favor pelion application
2019-12-03 09:05:49 +01:00
Martin Kojtal fc488f6f36
Merge pull request #11995 from VeijoPesonen/mcu_nrf52840_fixes
MCU_NRF52840 target configuration fixes
2019-12-03 09:03:43 +01:00
Veijo Pesonen 5d3e859d1c NRF52840_DK: Fixes target id code 2019-12-02 13:00:19 +02:00
Veijo Pesonen 28a2327f7e MCU_NRF52840: Removes redundant component and errata definitions 2019-12-02 12:59:56 +02:00
Veijo Pesonen c479dab901 MCU_NRF52840: Removes redundant OS version and CMSIS Packs data 2019-12-02 12:59:39 +02:00
Martin Kojtal 48f544f9e4
Merge pull request #11980 from jeromecoutant/PR_L4R9I
DISCO_L4R9I: update clock configuration for all clock sources
2019-12-02 11:23:51 +01:00
Martin Kojtal 7177d8fefe
Merge pull request #11950 from ABOSTM/DISCO_H747I_TICKLESS
DISCO_H747I: add support of MBED_TICKLESS
2019-11-29 09:48:09 +01:00
jeromecoutant 7e26cea796 DISCO_L4R9I : correct HSE frequency value 2019-11-28 16:29:10 +01:00
Hugues Kamba 444c0893e4 Fix targets.json syntax errors
Remove duplicated keys.
2019-11-28 08:30:58 +00:00
Alexandre Bourdiol 42a0407a56 export: fix IAR definition for dual core STM32 DISCO_H747I 2019-11-27 14:26:09 +01:00
Alexandre Bourdiol e83a8abdcb targets: DISCO_H747I add support of MBED_TICKLESS 2019-11-27 14:16:15 +01:00
Kyle Kearney ac8a8a6079 Add target for CY8CPROTO-062S3-4343W 2019-11-25 11:41:39 -08:00
Martin Kojtal a169edfdec
Merge pull request #11887 from kyle-cypress/pr/target-p62s1-43438
Add target for CYW9P62S1_43438EVB_01
2019-11-25 18:32:48 +01:00
Martin Kojtal 59bc33cf3d
Merge pull request #11901 from morser499/pr/cyw9p62s1_43012evb_01
Update MPN for CYW9P62S1_43012EVB_01 board
2019-11-25 12:51:23 +01:00
Martin Kojtal 6b7720d971
Merge pull request #11884 from morser499/pr/target-update
Update Cypress targets
2019-11-23 18:46:07 +01:00
Ryan Morse 1ac71356c5 Fixed Arduino form factor support on 2 Cypress boards 2019-11-22 08:41:53 -08:00
Kyle Kearney 1a0925e5dc Add missing arduino form factor to CYW9P62S1-43438EVB-01 2019-11-22 08:30:40 -08:00
Janne Kiiskila cfbbc6944a Add FlashIAP to NUCLEO_L4R5ZI
It is supported and we need it.
2019-11-22 15:48:30 +02:00
Martin Kojtal d0d3462781
Merge pull request #11846 from manchoz/manchoz_makerdiary-nrf52840-mdk
Add support for Makerdiary nRF52840-MDK
2019-11-21 10:54:21 +01:00
Ryan Morse 174adcf9b7 Update MPN for CYW9P62S1_43012EVB_01 board
- Enabled support for CRC & TRNG as the new MPN has a crypto block.
2019-11-20 07:52:50 -08:00
Martin Kojtal 2dfed373c7
Merge pull request #11713 from ABOSTM/FREMOVE_TICKLESS_FROM_STM32F4_TARGETS
Remove Tickless from STM32F4 targets
2019-11-20 10:56:04 +01:00
midd 4b4380a9ea Added support for CYW9P62S1_43438EVB_01 board 2019-11-19 18:02:17 -08:00
Ryan Morse 0b21a6940b Add CM0+ startup code to each target 2019-11-19 07:59:42 -08:00
Martin Kojtal 60a470a7ef
Merge pull request #11844 from amq/patch-1
EFM32: Enable RESET_REASON and WATCHDOG for EFM32GG11_STK3701
2019-11-15 18:34:06 +01:00
Martin Kojtal 30145b1393
Merge pull request #11736 from OpenNuvoton/nuvoton_remove_trng
Nuvoton: Remove TRNG support
2019-11-15 18:29:14 +01:00
Martin Kojtal 7b79157a4d
Merge pull request #11580 from wajahat-ublox/ubx_modems_custom_boards
Remove target dependency in ublox cellular APIs
2019-11-15 18:26:54 +01:00
Alexandre Bourdiol 328862028d Remove Tickless from STM32F4 targets
Ticless on STM32 F4 boards causes SPI issue with following PR:
# 11682 Make FPGA tests to pass on CI targets (SPI, analogIn, PWM)

In asynch mode, using interrupts, SPI hardware detect an RX overrun.
Our understanding is that lpticker wrapper latency
causes issue similar to #8714 and #9785,
specially with SPI asynch which use interrupts.
2019-11-14 09:29:56 +01:00
Martin Kojtal 249d35c873
Merge pull request #11848 from manchoz/arduino_nano33ble_itm
Remove ITM Trace support from Arduino Nano 33 BLE
2019-11-13 15:17:16 +01:00
Chun-Chieh Li aae04b2516 Nuvoton: Remove TRNG support
These targets below just support PRNG, not real TRNG. They cannot annouce TRNG.

-   NUMAKER_PFM_NUC472
-   NUMAKER_PFM_M487
-   NUMAKER_IOT_M487

On targets without TRNG, to run mbedtls applications which require entropy source,
there are two alternatives to TRNG:

-   Custom entropy source:
    Define MBEDTLS_ENTROPY_HARDWARE_ALT and provide custom mbedtls_hardware_poll(...)
-   NV seed:
    1.  Define MBEDTLS_ENTROPY_NV_SEED
    2.  Define MBEDTLS_PLATFORM_NV_SEED_READ_MACRO/MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO and provide custom mbedtls_nv_seed_read(...)/mbedtls_nv_seed_write(...).
    3.  Don't define MBEDTLS_PSA_INJECT_ENTROPY. Meet mbedtls_psa_inject_entropy(...) undefined and then provide custom one, which must be compatible with mbedtls_nv_seed_read(...)/mbedtls_nv_seed_write(...) above.
    4.  For development, simulating partial provision process, inject entropy seed via mbedtls_psa_inject_entropy(...) pre-main.
2019-11-13 18:01:24 +08:00
Martin Kojtal f1848f9e6d
Merge pull request #11828 from 0xc0170/fix_11652
MCU_LPC11U35_501: fix MCU inheritance
2019-11-13 11:00:15 +01:00
Giampaolo Mancini 6470afc1fc Remove ITM Trace support from Arduino Nano 33 BLE 2019-11-12 14:26:27 +01:00
Martin Kojtal 609612c1f2
Merge pull request #11840 from morser499/pr/whd1.50
Update Cypress WifiHostDriver to version 1.50
2019-11-12 13:56:35 +01:00
Giampaolo Mancini fd3088867e Add support for Makerdiary nRF52840-MDK 2019-11-12 09:56:04 +01:00
Ryan Morse 799146ba2f Move WHD from being a Target to being a Component 2019-11-11 15:12:02 -08:00
amq 450318347f
EFM32: Enable RESET_REASON and WATCHDOG for EFM32GG11_STK3701 2019-11-11 21:52:09 +01:00
Martin Kojtal 383cf1984d
Merge pull request #11711 from jeromecoutant/PULL_REQUEST_CUBE_UPDATE_F7_V1.15.0
STM32F7 update drivers version to CUBE V1.15.0
2019-11-07 11:33:38 +01:00
Martin Kojtal 7794d901f2 MCU_LPC11U35_501: fix MCU inheritance
This should fix #11652 issue
2019-11-06 13:41:03 +00:00
Ryan Morse 79bae99be9 Updated targets.json file to go along with pr-11770 2019-11-05 20:34:09 +00:00
Janne Kiiskila 1c6a34057a DISCO_H743ZI/ZI2 - mbed_ram_start/size
Adding the RAM definitions per request of Jerome Coutant.
2019-11-05 11:31:54 +02:00
Wajahat Abbas a5015c20ee Remove target dependency in ublox cellular APIs 2019-11-05 14:25:54 +05:00
jeromecoutant eed920e84d Review fixes for STM32H7 target.json
The proposed review fixes by Jerome, cherry-picked in.

(cherry picked from commit fb15f023a9b7b679301b45eaa160ae8cb2e1f23c)
Signed-off-by: Janne Kiiskila <janne.kiiskila@arm.com>
2019-11-04 17:57:47 +02:00
Janne Kiiskila fbf6f9b493 NUCLEO_H743ZI2 - MBED ROM, FlashIAP
Add definitions for H743ZI2, required by bootloader.
2019-11-04 17:57:19 +02:00
Janne Kiiskila 6028fa7a94 DISCO_H747I - MBED_ROM & device name definition
Compilation of bootloader requires these parameters.
2019-11-04 17:57:19 +02:00
jeromecoutant a24616443d STM32F7 targets.json cleaning 2019-10-31 17:49:51 +01:00
jeromecoutant 21ff11c3d3 STM32H7 alignment within family
- license header update
- STMOD+ connector pin addition
- update pin comment for Ethernet connector issue (DISCO_H747I)
- align files for each target
2019-10-31 14:38:37 +01:00
jeromecoutant d7d0d0b8cb STM32H7 FLASH and DEVICE_KEY
- Enable FLASHIAP for all H7 boards
- Use "TDB_INTERNAL" for all H7 boards
- Define specific internal_base_address only for DISCO_H747I_CM7
  (default address is the end of FLASH which is correct for other H7 boards)
- Correct GetSectorBase function with Dual Bank information
2019-10-31 13:04:49 +01:00
Janne Kiiskila 8e5f962151 Add FLASHIAP component to DISCO_H747
FLASHIAP component/capability is needed for DeviceKey functionality
and also for Pelion enablement - firmware update uses this feature, too.
2019-10-30 15:25:13 +02:00
Martin Kojtal 92acf95d61
Merge pull request #11767 from LMESTM/Increase_deep_sleep_latency
Increase STM32 default deep sleep latency to 4ms
2019-10-30 10:06:50 +01:00
Laurent Meunier d00130ec5e Increase STM32 default deep sleep latency to 4ms
Recent measurements have shown that the total wake-up latency can be more
than the 3ms initially set. It was measured as 3,7ms on DISCO_L475VG_IOT01A
target and 3,1ms on NUCLEO_L073RZ target. So set it to 4ms to be on the
safe side.
2019-10-29 14:33:09 +01:00
Martin Kojtal 87b150a1fe
Merge pull request #11715 from miteshdedhia7/pr/target-cyw9p62s1-43012
Add CYW9P62S1_43012EVB_01 board
2019-10-29 10:29:10 +01:00
Martin Kojtal df79609cc5
Merge pull request #11675 from jeromecoutant/PR_USB_STEP1
STM32 USB update step 1
2019-10-28 14:06:15 +01:00
Chun-Chieh Li 26e6b15110 M2351: Re-build default secure image/gateway library to favor Pelion application
In this new memory partition, secure program is most simplified and non-secure program can make most use of memory for its large application like Pelion:

-   Flash (512KiB in total): 64KiB for secure and 448KiB for nonsecure.
-   SRAM (96KiB in total): 8KiB for secure and 88KiB for nonsecure.

Besides, to make secure program fit into 8KiB:

-   Decrease boot stack size to 0x600 bytes
-   Remove serial support
2019-10-28 10:23:43 +08:00
Chun-Chieh Li 59771b704d M2351: Remove redundant tickless-from-us-ticker
It should be and has been placed in overrides section.
2019-10-28 10:22:05 +08:00
Chun-Chieh Li ec08bf6451 M2351: Change base target name 'NU_PFM_M2351_CM' to 'NU_PFM_M2351'
This is to meet platform name 'NU_PFM_M2351' registered in mbed-os-tools. This tool
uses the platform name as a key to search platform related properties in targets.json.
For example, the property 'forced_reset_timeout' is critical for Greentea test.
2019-10-25 14:05:43 +08:00
Chun-Chieh Li 4cd0332ada NUVOTON: Re-implement TRNG HAL with TRNG H/W
Targets supporting TRNG H/W:

-   NU_PFM_M2351_*
-   NUMAKER_IOT_M263A
2019-10-24 10:55:03 +08:00
Martin Kojtal e7d95f5f2a
Merge pull request #11536 from jeromecoutant/PR_STM32_EMAC
STM32 EMAC configuration update
2019-10-23 13:10:10 +02:00
Martin Kojtal 97ef25f52f
Merge pull request #11706 from VeijoPesonen/nrf52840_fix_product_anomaly_macro
MCU_NRF52840: Switches to correct Product Anomaly Notification(PAN) macro
2019-10-22 16:28:23 +02:00
Ryan Morse ecdbdc03dd Added CYW9P62S1_43012EVB_01 board
Notes:
- CRC and TRNG are disabled on this board since the MCU on this board does not have the required hardware.
- QSPI and QSPIF are temporarily removed due to issues related to supporting the new S25FS512S flash chip we have on this board. These will be enabled as soon as we can get the issues resolved.
https://github.com/ARMmbed/mbed-os/issues/11722
2019-10-21 15:36:44 -07:00
jeromecoutant 3950fd0fb2 STM32 targets.json update for USB
Removed unsupported MBED2 features:
- USB_STM_HAL
- USBHOST_OTHER
2019-10-21 17:12:01 +02:00
Martin Kojtal fe12608226
Merge pull request #11444 from jeromecoutant/PR_QSPI_EXTERNAL
QSPI : Define default pins at drivers level
2019-10-21 15:19:08 +02:00
Martin Kojtal 4af05bb370
Merge pull request #11648 from rohfle/target-olimex-stm32e407
OLIMEX_STM32E407_F407ZG: Added new target platform
2019-10-18 16:05:05 +02:00
Martin Kojtal 9c82706e6f
Merge pull request #11434 from romanjoe/pr/cy8ckit_064s2_4343w
Initial addition of files to support CY8CKIT_064S2_4343W target
2019-10-18 14:51:59 +02:00
Martin Kojtal 8ff5cf9216
Merge pull request #11700 from toyowata/arch_max_bootloader
Add bootloader support for Seeed Arch-MAX
2019-10-18 10:32:00 +02:00
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
Martin Kojtal edcde1ce8c
Merge pull request #10796 from NXPmicro/tickless
NXP: Enable MBED_TICKLESS on various NXP platforms
2019-08-22 10:30:14 +02:00
Mahesh Mahadevan 20aa1ecfd9 K22F: Add FlashIAP for storage
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-21 12:10:00 -05:00
Vincent Veron 8ab6aecbe9 Move stm32xx_emac_config.h to family specific folder
This allows to specify which hal version to use for each family.
It can also be used to modify the thread stack size.

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-21 15:02:45 +02:00
Vincent Veron 9f2e9aa576 Add EMAC support for NUCLEO_H743ZI
This port is based on :
    * CurryGuy ethernet branch :
        https://github.com/CurryGuy/mbed-os/tree/feature-stm32h7-emac
    * STM32 Cube example :
        Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS example

Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-08-21 11:40:48 +02:00
Mahesh Mahadevan 7e6da8bffe K22: Add USBDEVICE support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-20 15:15:46 -05:00
Martin Kojtal 169ada9209
Merge pull request #11237 from Tharazi97/TT_M3HQ-build-problem
Fix TT_M3HQ build problem
2019-08-20 10:23:28 +02:00
Martin Kojtal 191f029f73
Merge pull request #11226 from chrissnow/LPC1768_WDT
LPC1768 Watchdog & Reset Reason
2019-08-20 10:22:42 +02:00
Martin Kojtal e2fef54898
Merge pull request #11188 from NXPmicro/MXRT_TRNG
MIMXRT1050_EVK: Add TRNG support
2019-08-20 09:50:43 +02:00
Martin Kojtal b16aaca568
Merge pull request #11118 from ganesh-ramachandran/m46b_newfeatures
Add new features to Toshiba's TMPM46B
2019-08-20 09:27:28 +02:00
Chun-Chieh Li bab5d27e26 [M453] Classify by M45xD/M45xC and M45xG/M45xE
M451 series can classify by M45xD/M45xC and M45xG/M45xE. To support this
classification:
1.  Create TARGET_M45xD_M45xC and TARGET_M45xG_M45xE targets.
2.  Mark NUMAKER_PFM_M453 belongs to TARGET_M45xG_M45xE by 'extra_labels_add'
    in targets.json.
3.  Fix pin name table according to the classification.
4.  Fix pinmap table according to the classification.
2019-08-20 13:12:43 +08:00
Mahesh Mahadevan 99b1114e63 MCUXpresso: Add TICKLESS support for LPC platforms
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-19 13:15:39 -05:00
Martin Kojtal 101ae73b87
Merge pull request #11063 from linlingao/f_cc3220sf_launchxl
Add CC3220SF_Launchxl to Mbed OS
2019-08-19 12:08:11 +02:00
int_szyk aa56f86cec Remove SERIAL_FC from target.json on TT_M3HQ
Development board TT_M3HQ doesn't have CTS/RTS on its pinout.
If that is not the case PinMap_UART_RTS should be created.
2019-08-16 14:44:31 +02:00
Ganesh Ramachandran edf36fb2ae Added new features to TMPM46B 2019-08-16 10:43:52 +05:30
Mahesh Mahadevan 43b4c0ab82 MIMXRT1050_EVK: Add TRNG support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-15 16:51:18 -05:00
Anna Bridge 08ecbfcd46
Merge pull request #11021 from OpenNuvoton/nuvoton_lpticker_delay_ticks
Nuvoton: Enlarge LPTICKER_DELAY_TICKS for safe
2019-08-15 12:47:55 +01:00
Chris Snow edc992b297 Enable WATCHDOG and RESET_REASON for other LPC1768 targets 2019-08-14 17:15:18 +01:00
Chris Snow 7e2c2a98dd LPC1768 Reset Reason implementation 2019-08-14 15:50:11 +01:00
Chris Snow 2fcafb9c93 LPC1768 WDT implementation 2019-08-14 13:42:04 +01:00
Martin Kojtal a6c316afee
Merge pull request #11020 from OpenNuvoton/nuvoton_wakeup_latency
Nuvoton: Enlarge required deep sleep latency
2019-08-14 13:38:00 +02:00
Martin Kojtal be23d3c871
Merge pull request #11137 from facchinm/nano33ble_public
Add Arduino Nano 33 BLE target
2019-08-13 10:51:12 +02:00
Mahesh Mahadevan bed28681d5 NXP: Enable MBED_TICKLESS on various NXP platforms
Enable for K22F, K64F, K66F, K82F, KL82Z, KW24D, KW41Z, MIMXRT1050, HEXIWEAR

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-08-09 09:17:16 -05:00
Martin Kojtal 9b4373639b
Merge pull request #11072 from jeromecoutant/PULL_REQUEST_CUBE_UPDATE_L4_V1.14.0
STM32L4: update drivers version to CUBE V1.14.0
2019-08-09 11:35:00 +01:00
Martino Facchin bd0988416e [TARGET] Add Arduino NANO33BLE 2019-08-08 17:24:56 +02:00
Seppo Takalo 5f6379a55d
Merge pull request #11119 from Reda-RM/master
Riot Micro cellular device
2019-08-07 14:07:27 +03:00
Reda Maher ef1d9778a9 [Riot Micro] Add Riot Micro cellular module targets 2019-08-05 18:57:43 +02:00
maclobdell e201a5c6be fix rom start & size for psoc6 targets for 5.13 2019-07-31 12:48:25 -05:00
Seppo Takalo 9affeb868d
Merge pull request #11071 from cypress-neil/pr/psoc6-usb
PSOC6: USB device implementation
2019-07-29 17:41:42 +03:00
Neil Tuttle 2bf79c1588 PSOC6: Remove USBDEVICE from FUTURE_SEQUANA targets 2019-07-23 15:30:06 -07:00
Lin Gao 2a06ae20cc Added missing pinmap definitions. Fixed target JSON config to avoid treating cc3220sf a target 2019-07-23 14:52:50 -05:00
Kyle Kearney 40557cefeb Add target for CY8CKIT_062S2_43012 2019-07-19 15:44:27 -07:00
jeromecoutant 96a773a0e6 STM32L4: update drivers version to CUBE V1.14.0 2019-07-19 13:15:07 +02:00
Neil Tuttle a372992aee PSOC6: USB device implementation 2019-07-18 11:16:16 -07:00
Seppo Takalo 12d60f86ea
Merge pull request #11050 from jeromecoutant/PR_DISCO_L4R9I
DISCO_L4R9I new target
2019-07-17 23:15:45 +03:00
Lin Gao e74fbcd79e Add CC3220SF_Launchxl to Mbed OS 2019-07-17 13:19:32 -05:00
maclobdell ccbfea502c add defines for bootloader support, for target without cmsis pack 2019-07-15 23:13:22 -05:00
Arto Kinnunen 9cdfe37783
Merge pull request #10994 from fkjagodzinski/fix-serial_fc_guards
Add DEVICE_SERIAL_FC guards to serial HAL API
2019-07-15 15:47:37 +03:00
jeromecoutant 1a835dda4a DISCO_L4R9I new target 2019-07-15 14:06:40 +02:00
Chun-Chieh Li 1e5a52a1fd [Nuvoton] 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-07-12 13:10:59 +08:00
Volodymyr Medvid b6524070eb PSOC6: TARGET_PSOC6_FUTURE doesn't implement DEVICE_I2CSLAVE 2019-07-11 15:43:25 +03:00
Volodymyr Medvid adfac3c1f9 PSOC6: do not remove QSPI from FUTURE_SEQUANA targets
Since QSPi is not yet supported by base TARGET_PSOC6,
there is no need to remove the device label from
FUTURE targets that inherit from TARGET_PSOC6.

This will need to be reverted back once the QSPI support
is implemented for Cypress PSOC6 targets.
2019-07-11 12:51:52 +03:00
Volodymyr Medvid 140b72d3ed Merge remote-tracking branch 'ARMmbed/master' into pr/psoc6-hal 2019-07-10 10:54:14 +01:00
Filip Jagodzinski 4842c87815 RDA5981X: Add SERIAL_FC
According to comment in the implementation this target supports the
hardware flow control on UART1 peripheral.
This patch fixes build errors after adding DEVICE_SERIAL_FC guards to
hal/serial_api.h.
2019-07-09 16:30:12 +02:00
Chun-Chieh Li 21df0e00ce [Nuvoton] 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-07-09 15:27:34 +08:00
Arto Kinnunen 1264660314
Merge pull request #10972 from 0xc0170/test_target
add new target IM880B
2019-07-08 16:34:36 +03:00
Martin Kojtal bd762ce03f
Merge pull request #10466 from jeromecoutant/PR_STM32H7_WATCHDOG
STM32H7: WATCHDOG and RESET_REASON support
2019-07-08 13:54:40 +01:00
Volodymyr Medvid 1501ffe704 PSOC6: remove CY8CKIT-062S2-4343W (not ready for release)
Also removed _M0 targets that are no longer used.
2019-07-08 14:49:26 +03:00
Volodymyr Medvid 5cc66282dd PSOC6: remove PSA targets 2019-07-08 14:49:26 +03:00
Volodymyr Medvid d07ca87816 PSOC6: update Cypress boards to use TARGET_WHD 2019-07-08 14:49:26 +03:00
Volodymyr Medvid b562dd7895 PSOC6: update Cypress targets to use psoc6csp 2019-07-08 14:24:20 +03:00
Volodymyr Medvid c9105eb068 PSOC6: use prebuilt CM0+ C arrays instead of HEX images
Replace the prebuilt CM0+ HEX images with C files that provide the
variable cy_m0p_image placed to the combined ELF image with linker
script. This simplifies build flow of PSoC 6 application and improves
compatibility with IDE export targets. It is still possible to use
the custom prebuilt HEX images for PSA targets that remove CM0P_SLEEP
label and specify the `hex_filename` in targets.json.
Linker scripts are compatible with both scenarios.
2019-07-08 10:41:02 +01:00
Volodymyr Medvid 903085d066 PSOC6: format extra labels for Cypress kits 2019-07-08 10:31:14 +01:00
Arto Kinnunen 3d65ace77a
Merge pull request #10950 from artokin/Update_freescale_K6xF_linker_files
Enable split heap in K64F/K66F devices
2019-07-08 11:46:30 +03:00
jeromecoutant 923be9e20e NUCLEO_H743ZI: enable WATCHDOG back 2019-07-05 14:44:47 +02:00
Martin Kojtal 97d50ed936
Merge pull request #10873 from ganesh-ramachandran/m3hq_newfeatures
Add new features to Toshiba's TMPM3HQ
2019-07-05 13:06:46 +01:00
Martin Kojtal e08b7137a6
Merge pull request #10874 from ganesh-ramachandran/m3h6_newfeatures
Add new features to Toshiba's TMPM3H6
2019-07-05 13:06:03 +01:00
Martin Kojtal 1eeed8c0e5
Merge pull request #10968 from teetak01/fix-mtb-stm-s2lp-for-client
Add FLASHIAP for MTB_STM_S2LP
2019-07-05 11:21:48 +01:00
itziar c327f4f070 add new target IM880B 2019-07-05 09:19:51 +01:00
Teemu Takaluoma 0726e2f13b Add FLASHIAP for MTB_STM_S2LP
Fix device management client compilation on MTB_STM_S2LP

Fixes:

./mbed-cloud-client/mbed-client-pal/Source/Port/Reference-Impl/OS_Specific/mbedOS/ROT/pal_plat_rot.cpp:67:5: error: 'DeviceKey' was not declared in this scope
    DeviceKey &devkey = DeviceKey::get_instance();
2019-07-05 10:26:26 +03:00
Ganesh Ramachandran 6841f4a73a Added new features to TMPM3HQ 2019-07-03 17:18:10 +05:30
Ganesh Ramachandran 6eb07c1beb ARMC5 updated to ARM for TMPM4G9 2019-07-03 17:10:29 +05:30
Ganesh Ramachandran 2384b69b16 Added new features to TMPM4G9 2019-07-03 17:10:29 +05:30
Ganesh Ramachandran 2fee8d7390 Added new features to TMPM3H6 2019-07-03 17:01:41 +05:30
Martin Kojtal ccb63d771e
Merge pull request #10857 from ARMmbed/feature-watchdog
Add Watchdog and ResetReason
2019-07-03 11:43:52 +01:00
Kevin Bracey 810cb8de4a Enable split heap in K64F/K66F devices
-Enable MBED_SPLIT_HEAP for K64F and K66F
-Allow GCC_ARM toolchain to utilize remaining 64K memory area
-Make ARM toolchain to start memory filling from 64K region to leave
 more space to bigger 192K region.
2019-07-03 11:47:32 +03:00
Martin Kojtal 149d53cc89
Merge pull request #10619 from jamesbeyond/fm-iap
Fastmodel: enable flashIAP and kvstore
2019-07-02 14:23:00 +01:00
Martin Kojtal a84c239830
Merge pull request #10701 from LMESTM/STM_lp_ticker_low_level_wrapper
STM: replace C++ low power ticker wrapper with a low level wrapper
2019-07-02 12:50:11 +01:00
Martin Kojtal fd445a57cb Watchdog: remove config value for timeout, set it dynamically
Use start method to set timeout
2019-07-02 12:46:23 +01:00
Martin Kojtal 7b0915c7d4 Watchdog: refactor driver
Watchdog is hardware driver. It interacts with HAL - provides wrapper to interact with the peripheral.

Provides basic functionality: start/stop, get timeout/max timeout.
It is automatically kicked by a timer, according to the timeout set in ctor.
2019-07-02 12:46:23 +01:00
Martin Kojtal be2c2bed30
Merge pull request #10884 from jeromecoutant/PR_H743ZI2
NUCLEO_H743ZI2 new target support
2019-07-01 09:27:31 +01:00
Laurent Meunier 6331034bd1 STM32 with low level ticker wrapper require Extra Idle stack 2019-07-01 09:33:23 +02:00
Laurent Meunier 6397a6189f STM32 targets: remove tickless from us ticker and delay ticker
For L0/L4/H7/F7/WB targets that have tickless enabled, remove the tickless from
us ticker and the delay ticks as the C++ wrapper layer is being removed
and replaced by the low layer handling.

For now, the few F4 targets with LPTIM are left with previous configuration
as test results are showing a few instabilities not yet understood.
2019-07-01 09:33:22 +02:00
Martin Kojtal 85c477c1dc
Merge pull request #10609 from kjbracey-arm/us_ticker_optimise
wait_us optimization
2019-06-28 14:29:00 +01:00
Martin Kojtal d4aab5669d
Merge pull request #10888 from devran01/issue/10883
Remove macro MBEDTLS_PSA_CRYPTO_C from PSA targets
2019-06-27 10:10:47 +01:00
Martin Kojtal fa2e0217f2
Merge pull request #10856 from jeromecoutant/PR_CRC_LO
STM32: enable CRC for all L0/L4/F7
2019-06-25 11:08:08 +01:00
Devaraj Ranganna bd9d615897 Remove MBEDTLS_PSA_CRYPTO_C from PSA NS targets
Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-06-25 09:55:59 +01:00
Devaraj Ranganna cb8f2c07a1 1. Include MBEDTLS_CONFIG_FILE before evaluating MBEDTLS_PSA_CRYPTO_C
2. Remove macro MBEDTLS_PSA_CRYPTO_C from PSA targets

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2019-06-24 14:33:04 +01:00
jeromecoutant d2ea0f9432 NUCLEO_H743ZI2 new target support 2019-06-24 11:00:58 +02:00
Anna Bridge 4bd1d15d01
Merge pull request #10795 from jamesbeyond/fm_m0p_no_mpu
FastModel: trun off MPU for FVP_MPS2_M0P
2019-06-19 12:39:17 +01:00
Anna Bridge 32c8bf5969
Merge pull request #10792 from hugueskamba/fix-lpc55s69-sector-size
Fix: Allow target size restriction for LPC55S69
2019-06-19 12:36:22 +01:00
Anna Bridge 372f9c89fc
Merge pull request #10769 from vmedcy/pr/psoc6-softfp
PSOC6: add SOFTFP to standard component list
2019-06-19 12:31:15 +01:00
Anna Bridge 07f1e068a9
Merge pull request #10689 from AGlass0fMilk/nrf52840-usbphy-implementation
nRF52840 USB Device Implementation
2019-06-18 16:28:20 +01:00
jeromecoutant e10d2c8499 STM32: enable CRC for all L0/L4/F7 2019-06-18 13:53:04 +02:00
Qinghao Shi 2ddb55007c fix IAR compile error on fastmodels 2019-06-14 10:59:16 +03:00
Kevin Bracey 57310729d4 wait_us optimization
As the timer code became more generic, coping with initialization on
demand, and variable width and speed us_ticker_api implementations,
wait_us has gradually gotten slower and slower.

Some platforms have reportedly seen overhead of wait_us() increase from
10µs to 30µs. These changes should fully reverse that drop, and even
make it better than ever.

Add fast paths for platforms that provide compile-time information about
us_ticker. Speed and code size is improved further if:

* Timer has >= 2^32 microsecond range, or better still is 32-bit 1MHz.
* Platform implements us_ticker_read() as a macro
* Timer is initialised at boot, rather than first use

The latter initialisation option is the default for STM, as this has
always been the case.
2019-06-14 10:22:08 +03:00
Anna Bridge 4ad71c4d65
Merge pull request #10802 from Patater/update-to-mbedtls-2.18.0rc4
Update to mbedtls 2.18.0rc3
2019-06-12 16:09:02 +01:00
Jaeden Amero 39ea40fed3 psa: Avoid re-definition of MBEDTLS_PSA_CRYPTO_C
Mbed TLS now enables PSA APIs by default on all targets. It's not
necessary to explicitly enable MBEDTLS_PSA_CRYPTO_C, as that can be
gotten from the Mbed TLS config.h.

However, many PSA targets depend on `-DMBEDTLS_PSA_CRYPTO_C` being
defined by the Mbed OS json configuration system and are not yet
properly including the Mbed TLS configuration; for these PSA targets,
warnings may remain until this issue is fixed.

Avoiding re-definition will eliminate warnings like the following, when
building mbed-os-example-blinky:

    Compile [ 14.5%]: pal_client_api_empty_intf.c
    [Warning] pal_client_api_intf.h@35,0: "PSA_SUCCESS" redefined
    Compile [ 14.6%]: pal_client_api_intf.c
    Compile [ 14.7%]: DeviceKey.cpp
    Compile [ 14.9%]: pal_internal_trusted_storage_intf.c
    [Warning] pal_internal_trusted_storage_intf.c@45,9: 'psa_its_set' is deprecated: PS specific types should not be used [-Wdeprecated-declarations]
    Compile [ 15.3%]: val_attestation.c
    [Warning] client.h@40,0: "PSA_VERSION_NONE" redefined
    <..>
    Compile [ 33.3%]: asn1parse.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 33.5%]: aes.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 33.6%]: asn1write.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 33.7%]: psa_crypto.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 33.8%]: blowfish.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 33.9%]: camellia.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.0%]: base64.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.2%]: ccm.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.3%]: chacha20.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.4%]: chachapoly.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.5%]: cipher_wrap.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.6%]: cmac.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.7%]: cipher.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 34.9%]: bignum.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 35.0%]: des.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 35.1%]: dhm.c
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 35.2%]: ctr_drbg.c
    <..>
    Compile [ 70.9%]: EthernetInterface.cpp
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 71.0%]: InternetSocket.cpp
    Compile [ 71.1%]: L3IPInterface.cpp
    [Warning] config.h@2838,0: "MBEDTLS_PSA_CRYPTO_C" redefined
    Compile [ 71.2%]: NetworkInterface.cpp
2019-06-12 12:47:20 +01:00
Martin Kojtal fbcae489a0
Merge pull request #10762 from mprse/reenable_tests
Disable only time drifting test cases and fix GREENTEA_SETUP() call in tests
2019-06-11 07:35:41 +01:00
Martin Kojtal 9dfc8d0ea7
Merge pull request #10775 from jeromecoutant/PR_H7_REFACTOR
STM32H7: refactor TARGET directory
2019-06-09 18:22:04 +01:00
Martin Kojtal 356c4fb7cb
Merge pull request #10758 from toyowata/stm32f407xe
Move Seeed ARCH_MAX to TARGET_STM32F407xE MCU
2019-06-09 18:20:03 +01:00
Martin Kojtal b683f4252e
Merge pull request #10739 from OpenNuvoton/nuvoton_m487_wait-ns
M487: Fix wait_ns test failed
2019-06-09 18:16:34 +01:00
Martin Kojtal dda79d4d23
Merge pull request #10695 from Ronny-Liu/master
GD32_F450ZI : Add bootloader support
2019-06-09 18:06:25 +01:00
Martin Kojtal dc77c40fe9
Merge pull request #10709 from LDong-Arm/nrf52_cordio
Default to Cordio BLE stack for NRF52* targets
2019-06-09 18:03:34 +01:00
Qinghao Shi 288a685be4 modify targets.json to trun off MPU 2019-06-07 18:36:13 +01:00
Hugues Kamba 06c3a5bf25 Fix: Allow target size restriction for LPC55S69
The build tool uses the sector size found in the CMSIS Pack to determine if
the size that can be specified by `target.restrict_size` is enough to fit
all the parts of a given binary. See `target.restrict_size` documentation
in the Mbed OS manual for more information.

The sector size found in the CMSIS Pack is overriden to allow the build
tool to accurately make the decision.

The target's sectors in the CMSIS Pack are defined in 32KB pages.
However, you can erase pages at the 512 byte level.

This commit changes defined sector erase size to 512 bytes instead of
32 Kilobytes.
2019-06-07 16:57:25 +01:00
Przemyslaw Stekiel 86dab2f9fa Disable time drifting test cases.
Time drifting test cases use serial communication with the host and are unstable on CI.
Skip time-drifting test cases if SKIP_TIME_DRIFT_TESTS macro is defined.
The idea for the future is to use FPGA test shield for timing tests instead of host scripts.

Also remove `__ARM_FM` macro which in most cases was used to disable time drifting tests. In other cases replace `__ARM_FM` with `TARGET_ARM_FM` which is more suitable.
2019-06-06 21:48:04 +02:00
Qinghao Shi 2e4329192e FastModel: enable FLASHIAP componment 2019-06-06 18:52:30 +01:00
Martin Kojtal 489bd10626
Merge pull request #10629 from trowbridgec/add-target-ep-agora
Add support for the Embedded Planet Agora target
2019-06-06 14:50:14 +01:00
jeromecoutant 25e4316963 STM32H7 directory cleanup and refactoring 2019-06-06 10:48:11 +02:00
jeromecoutant 119ff51fee STM32H7: use default files from ST drivers delivery 2019-06-06 10:48:09 +02:00
jeromecoutant 5b53b3aae0 STM32: define USE_FULL_LL_DRIVER at top level 2019-06-06 10:48:08 +02:00
Volodymyr Medvid f4bfbf3056 PSOC6: add SOFTFP to standard component list
This allows Cypress to deliver middleware libraries with
precompiled libraries for SoftFP ahd HardFP, separated by
component-specific sub-directories:

COMPONENT_SOFTFP/TOOLCHAIN_GCC_ARM/libcy_capsense.a
COMPONENT_HARDFP/TOOLCHAIN_GCC_ARM/libcy_capsense.a
2019-06-05 16:32:16 +03:00
Lingkai Dong ffcceb0cb7 Default to Cordio BLE stack for NRF52* targets
The BLE stack from SoftDevice is not actively maintained and
has issues when used with Nordic SDK v15.
2019-06-05 09:53:53 +01:00
toyowata 9acf2c325c Fix device_name and add SPDX identifiers 2019-06-05 16:48:08 +09:00
toyowata db2cac45f1 Move Seeed ARCH_MAX to TARGET_STM32F407xE MCU 2019-06-05 14:35:25 +09:00
Rajkumar Kanagaraj 400b2ee8a7 Add HwWatchdog
- mbed_watchdog_mgr has interface name mbed_wdog_manager_start(),mbed_wdog_manager_stop(),mbed_wdog_manager_kick()
    - HwWatchdog is going to attach with LowPowerTIcker for periodic callback functionality
    - mbed_wdog_manager_start() will either get start either by BL/RTOS Aps,it reads the timeout value specified via macro and macro gets defined in target.json file.
    - mbed_wdog_manager_start() internally configure below HAL hw watchdog with timeout specified via target.json
    - mbed_wdog_manager_start() internally divide the timeout(specified in target.json) by the 2 and attach LowPowerTicker with periodic callback of hw_kick()
    - mbed_wdog_manager_start() internally create one instance of sw watchdog class,to access the static list data structure of sw watchdog class
    - mbed_wdog_manager_kick() function periodically get called and refresh the hw watchdog to avoid watchdog reset
    - converted C++ code into C based APIs
    - added boolean to control watchdog start and stop
    - Added detach from ticker on stop API
2019-06-03 15:23:56 +02:00
Chun-Chieh Li 010f4225a0 [M487] Fix wait_ns test failed 2019-06-03 11:28:26 +08:00
Chris Trowbridge cea7bbd815 Remove component 'QSPIF' for target 'EP_AGORA' 2019-05-31 09:58:23 -04:00
Filip Jagodzinski f4e6966e14 Remove RESET_REASON from MCU_NRF52840 2019-05-29 10:25:51 +02:00
Ronny Liu 8dabdd7bed bootloader support for GD32_F450ZI 2019-05-29 14:40:03 +08:00
aglass0fmilk 67cc3b0faf Added spdx identifiers and fixed indentation in targets.json 2019-05-28 10:48:09 -04:00
George Beckstein 058060711d Revert adding USB to STM32F407VG target 2019-05-28 10:48:09 -04:00