Commit Graph

6402 Commits (68f9196b44e2d3221b28316b48bb57a9d40f7207)

Author SHA1 Message Date
Mahesh Mahadevan e46e48249a MXRT1050: Update Flexspi driver to move functions to RAM
These functions are used to READ/WRITE to the Flexspi NOR

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2020-02-01 07:59:24 -06:00
Kevin Bracey 236c336526
Merge pull request #12299 from NXPmicro/MXRT_WDOG
MIMXRT1050: Add Watchdog support
2020-01-31 16:25:22 +02:00
Maciej Bocianski 0b634e54b4 implement i2c_free for STM family 2020-01-31 14:51:54 +01:00
Maciej Bocianski 95996fb924 disable PA_8 i2c pin on NUCLEO_F411RE
pin PA_8 by default is connected to MCO
2020-01-31 14:48:00 +01:00
Kevin Bracey ba5dd4d8c1
Merge pull request #12153 from mprse/spi_fpga_test_extend
Hackathon: Increase coverage of the SPI master FPGA test
2020-01-31 15:00:02 +02:00
Kevin Bracey 44add981ff
Merge pull request #12331 from jeromecoutant/PR_OSPI
STM32: enable QSPI test with MX25LM51245G octo SPI
2020-01-30 15:46:52 +02:00
Kevin Bracey c8d7778235
Merge pull request #12324 from dustin-crossman/pr/fix-cypress-crc-reversal
Fix inconsistency between mbed crc and psoc6 crc implementations.
2020-01-30 13:40:25 +02:00
Chun-Chieh Li 94762d02a1 M2351: Support IAR
1.  Enable IAR on non-secure targets
2.  Disable IAR on secure targets because:
    (1) IAR toolchain bug: As of IAR 8.32, cmse_nonsecure_caller() is not always inlined.
    (2) TFM hasn't supported IAR yet.
2020-01-30 13:12:31 +08:00
Chun-Chieh Li 152f6f1975 M2351: Refine MBED_TZ_DEFAULT_ACCESS placement
1.  On M2351, SYS/CLK registers are hard-wired to secure. Define MBED_TZ_DEFAULT_ACCESS to 1 so that all non-secure user threads have access to call secure functions to control these registers.
2.  MBED_TZ_DEFAULT_ACCESS is only meaningful for non-secure target. Define it only for non-secure target in targets.json.
3.  On TFM target, MBED_TZ_DEFAULT_ACCESS has defined in mbed_lib.json. Avoid duplicate definition which IAR assembler doesn't allow.
2020-01-30 13:12:29 +08:00
jeromecoutant 84b48410f0 STM32: enable QSPI test with MX25LM51245G octo SPI 2020-01-29 16:18:38 +01:00
Kevin Bracey 91464b2729
Merge pull request #12306 from jeromecoutant/PR_STM32L5_NUCLEO
STM32L5: NUCLEO-L552ZE-Q new target
2020-01-29 16:07:44 +02:00
Ari Parkkila d6f8fece69 Cellular: Enable IP over PPP on UBLOX_C030_R41XM 2020-01-29 03:03:35 -08:00
pea-pod f7c4693747 Add new target: NUCLEO_L452RE-P 2020-01-27 18:41:18 -06:00
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
Anna Bridge f45a5a78b5
Merge pull request #12231 from devran01/upd_musca_a
Import latest python scripts and MCUBoot image
2020-01-25 11:53:34 +00:00
Dustin Crossman b204dfd943 Fix inconsistency between mbed crc and psoc6 crc implementations. 2020-01-24 18:23:25 +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
jeromecoutant c1386cf52d STM32L5 : update generic STM files for L5 2020-01-23 17:54:55 +01:00
jeromecoutant bee5d44a1f STM32L5: add API L5 family files 2020-01-23 17:54:52 +01:00
jeromecoutant 5d59c99b99 STM32L5: TOOLCHAIN automatic updates 2020-01-23 17:54:41 +01:00
jeromecoutant 77e5bb45b9 STM32L5: STM32Cube_FW_L5_V1.0.0 files 2020-01-23 13:30:31 +01:00
Anna Bridge d984480f08
Merge pull request #12295 from jeromecoutant/PR_PR_H7_TIM17
STM32H7 correct PWMOUT instances
2020-01-23 11:50:44 +00:00
jeromecoutant 25da13bc18 STM32WB remove extra file 2020-01-23 10:53:09 +01:00
Kimmo Vaisanen bd0f939277 Cellular: Remove support for multiple ATHandlers
Major changes:
- Dependency to FileHandle removed from base classes
- AT_CellularDevice owns the default FileHandle and shares it with AT -classes
- Hang-up -detection moved as CellularContext::configure_hup(). Cannot be configured via CellularDevice any more.

Result on NRF52840_DK + BG96:
GCC:
Total Static RAM memory (data + bss): 29360(+296) bytes
Total Flash memory (text + data): 130660(-832) bytes

ARM:
Total Static RAM memory (data + bss): 261554(+8) bytes
Total Flash memory (text + data): 127573(-1193) bytes

IAR:
Total Static RAM memory (data + bss): 25479(+296) bytes
Total Flash memory (text + data): 102418(-527) bytes

RAM increase is because now ATHandler is no longer created with new -operator but is now member of AT_CellularDevice,
so image tool is able to count it. Actually total RAM consumption has decreased due to removed variables.
2020-01-23 09:27:44 +02:00
PARKJIHOON 8b0fb5f5bd comments the performance of TRNG
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON 3ba075b57b Tidy up comments
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON 4ef74efed0 fix typo 'modifyh'
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON d5bb27a94c fix typo 'modifyh'
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong f9c4a51871 Adding in SPDX Apache 2.0 for the Apache 2 declared Samsung license headers. 2020-01-22 14:40:51 +09:00
Andrew Chong dc64bd8a05 Changed 2018 or 2019 copyright to 2020 via sed auto change. 2020-01-22 14:40:51 +09:00
PARKJIHOON 3abe45f507 fix header for samsung spi driver
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong 77457e83f2 Minor astyle change. 2020-01-22 14:40:51 +09:00
PARKJIHOON adbc391a2c Update SSS header contents
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON 67b1639810 remove .mbedignore list
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON eb9267e93c tidy up unused comment
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON ccb85e00f1 tidy up unused printf
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON c8e776929a error case prints out using mbed_error_printf()
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
PARKJIHOON 1bae74160f Remove Target dependant mbed_error()
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong 107fc9fce3 Removed PortIn/Out/InOut from Samsung target for now. 2020-01-22 14:40:51 +09:00
Andrew Chong 65e9cac918 Updated the code fix of timer and Mbed TLS. 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 d13ff9c5cb Revert "Removed the unused port_api.c driver code."
This reverts commit 9fad25f8dcc30591ce5c5f7c51945eabb8de2617.
2020-01-22 14:40:51 +09:00
Andrew Chong bf24feae73 Removed the unused port_api.c driver code. 2020-01-22 14:40:51 +09:00
Andrew Chong 7bf7c1ec56 Revert "Following the IAR dynamic heap policy."
This reverts commit 374aed24111d80b03efc096722daa84234cfb613.
2020-01-22 14:40:51 +09:00
Andrew Chong cc6f7e51a3 Revert "Forgot to set the IAR base heap size to minimal."
This reverts commit be5633d11e243d58406ddee27a1c75d242664a3e.
2020-01-22 14:40:51 +09:00
Andrew Chong bce345f398 Forgot to set the IAR base heap size to minimal. 2020-01-22 14:40:51 +09:00
PARKJIHOON 12a0f6b13e Assign VTOR address '0'
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong 472378d265 Following the IAR dynamic heap policy. 2020-01-22 14:40:51 +09:00
PARKJIHOON 60dffda783 tidy up PR comments #2
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:50 +09:00
PARKJIHOON d8dca5b4ab fix Link Script format
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:50 +09:00
PARKJIHOON 2e0ff5d145 tidy up PR comments #1
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:50 +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
jeromecoutant 9f42a58d5a STM32H7 correct PWMOUT 2020-01-21 16:03:17 +01:00
Rajkumar Kanagaraj e4f4ff291b Fixing the CI build issue 2020-01-21 04:10:13 -08:00
Devaraj Ranganna bc7331b96e Import latest python scripts and MCUBoot image
To help with the integration of Musca B1 into Mbed OS, python
signing scripts and MCUBoot image and RSA private key for Musca A
has been updated from latest TF-M
(https://git.trustedfirmware.org/trusted-firmware-m.git/commit/?id=6c5be4a98e4d7055ee49076ca4e515fb4b172e66).

Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
2020-01-21 10:25:56 +00:00
Przemyslaw Stekiel 39809111c5 targets.json: fix styling 2020-01-21 09:10:19 +01:00
jeromecoutant 3657f902d3 STM32Cube_FW_WB_V1.4.0 - STM32WB55xx part 2020-01-20 17:24:46 +01:00
jeromecoutant 7a5da6109f STM32Cube_FW_WB_V1.4.0 - STM32WB50xx part 2020-01-20 17:24:46 +01:00
jeromecoutant c39a13d10c STM32Cube_FW_WB_V1.4.0 - template part 2020-01-20 17:24:45 +01:00
jeromecoutant b4f3b0799d STM32Cube_FW_WB_V1.4.0 - STM32_WPAN part 2020-01-20 17:24:45 +01:00
jeromecoutant 08184d7ac9 STM32Cube_FW_WB_V1.4.0 - HAL_DRIVER part 2020-01-20 17:24:44 +01:00
jeromecoutant d6e4b15c1a STM32Cube_FW_WB_V1.4.0 - CMSIS part 2020-01-20 17:24:43 +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 8f6171f8b0 STM32WB - BLE restructure 2020-01-20 16:10:55 +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
amq 860ccdec5e
EFM32: add UART and LEUART for EFM32GG11
- adds the missing PinMap definitions for UART0, UART1, LEUART0 and LEUART1
- corrects a misplaced `#endif` for `#if DEVICE_SPI` which included `UART_TX`
- all according to https://www.silabs.com/documents/public/data-sheets/efm32gg11-datasheet.pdf
2020-01-18 14:10:22 +01:00
Rajkumar Kanagaraj 8a0fdd24d9 Rename "default_lib" to "c_lib". 2020-01-17 08:05:48 -08:00
Martin Kojtal 3dbf780322
Merge pull request #12253 from VeijoPesonen/remove_depr_storage_abstraction
storage_abstraction: deprecated since Mbed OS 5.5 and now removed
2020-01-17 14:02:45 +00: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 b7c961c4ac
Merge pull request #12220 from hugueskamba/hk-replace-uartserial-nordic
NRF5x targets: Replace UARTSerial references with BufferedSerial
2020-01-17 09:59:56 +00:00
Martin Kojtal 6b5cbff743
Merge pull request #12209 from hugueskamba/hk-replace-uartserial-nxp
NXP target: Replace UARTSerial references with BufferedSerial
2020-01-17 08:43:57 +00:00
Martin Kojtal d6e69ef57b
Merge pull request #12208 from hugueskamba/hk-replace-uartserial-st
ST targets: Replace UARTSerial references with BufferedSerial
2020-01-17 08:19:09 +00:00
Martin Kojtal 31988d85fe
Merge pull request #12139 from fkjagodzinski/hal-reset_reason-get_capabilities
HAL: Add a get_capabilities() function to ResetReason API
2020-01-16 14:44:31 +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
Martin Kojtal 77fa743740
Merge pull request #12245 from JanneKiiskila/target_upd_NUCLEO_WB55RG
NUCLEO_WB55RG - add device name "STM32WB55RGVx"
2020-01-16 09:00:30 +00:00
Martin Kojtal c27e644b96
Merge pull request #12240 from yarbcy/pr/add-new-tests-softap-2
Cypress: Initial commit of SoftAP host tests
2020-01-16 08:36:47 +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 4c4ed0ab78
Merge pull request #12258 from trowbridgec/disable-ep_agora-cell-aux-uart-by-default
Disable the cell AUX UART by default on EP_AGORA
2020-01-15 13:07:28 +01:00
Martin Kojtal 88f48d240e
Merge pull request #12237 from mprse/stm_serial_free_fix
STM serial free: Set pin function only if pin is defined (not NC)
2020-01-15 13:02:20 +01:00
Martin Kojtal 1a58d07c04
Merge pull request #12199 from ARMmbed/targets-json-format
Format targets.json
2020-01-15 13:00:26 +01:00
Martin Kojtal 978a9665f0
Merge pull request #12201 from jeromecoutant/PR_G0REFACTOR
TARGET_STM: FW driver files refactor proposition
2020-01-15 12:59:49 +01:00
Martin Kojtal cbca99d38f
Merge pull request #12160 from AGlass0fMilk/fix-prs-config
nRF52: Properly configure nRF SDK for nRF52-series targets
2020-01-15 12:58:32 +01:00
Chris Trowbridge a21a0062af Disable the cell AUX UART by default on EP_AGORA 2020-01-14 12:55:16 -05:00
Martin Kojtal 117201d77d "Update secure binaries for NU_PFM_M2351_S (ARMC6)" 2020-01-14 14:27:54 +00:00
Martin Kojtal c9c5b78ca3 "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2020-01-14 14:27:54 +00:00
Martin Kojtal 2f07ad471b "Update secure binaries for LPC55S69_S (ARMC6)" 2020-01-14 13:54:48 +00:00
Veijo Pesonen d0d9338066 K64F: removes a deprecated storage driver
The API was deprecated since Mbed OS 5.5 and has been removed.
2020-01-14 13:15:58 +02:00
d-kato b72d0be687 Add sector information 2020-01-14 11:10:30 +09:00