Commit Graph

6368 Commits (ec839f0931a69bb22566188f9477cfc3f6adb97e)

Author SHA1 Message Date
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
YARB(Cypress) c53d2f1198 Addressed comments 2020-01-13 14:46:32 +02:00
YARB(Cypress) 3425b8e1fc Cypress: Initial commit of SoftAP host tests 2020-01-10 19:58:40 +02:00
George Beckstein d8fbfbfeb4 Replace macro "UART1_ENABLED" with corresponding "NRFX_UARTE1_ENABLED". 2020-01-10 11:33:11 -05:00
George Beckstein dd98d0102f Update SDK config for nRF52840 to disable UART1 instance (Mbed serial port uses UARTE peripheral) 2020-01-10 11:32:47 -05:00
Przemyslaw Stekiel 8a938ea777 STM serial free: Set pin function only if pin is defined (not NC) 2020-01-10 14:59:28 +01:00
aglass0fmilk dc19460fa3 Remove use of deprecated UART driver (as opposed to UARTE). Disable unused TWIM peripheral (deprecated TWI peripheral is currently used for I2C master mode operation). 2020-01-09 16:35:06 -05:00
George Beckstein b6befee4cf Properly configure PRS API so it actually delegates the shared interrupt slot to the appropriate peripheral 2020-01-09 16:35:06 -05:00
Martin Kojtal 759ce271c2
Merge pull request #12200 from MultiTechSystems/fix_PeripheralPins
Minor fixes for peripheral pins on Dragonfly Nano
2020-01-09 13:17:01 +01:00
Martin Kojtal dbb0695311
Merge pull request #12202 from LMESTM/Increase_MSI_Freq_out_of_deep_sleep
Increase MSI clock frequency when exiting deep sleep
2020-01-09 10:49:20 +01: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
Martin Kojtal 40b7901cfb
Merge pull request #12217 from OpenNuvoton/nuvoton_usbd
Nuvoton: Add DEVICE_USBDEVICE detection in usbd implementation
2020-01-08 17:00:23 +01:00
Hugues Kamba efd3763467 NRF5x targets: Replace UARTSerial references with BufferedSerial
`BufferedSerial` is `UARTSerial` renamed to convey the original purpose
of the class. It is the recommended buffered I/O serial class.
2020-01-08 15:42:07 +00: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 c42125f890
Merge pull request #12151 from hugueskamba/hk-nrf-fix-baremetal-build
NRF5x: Fix baremetal linker error
2020-01-08 14:41:26 +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
cyliangtw b924a922a8 Add DEVICE_USBDEVICE detection in usbd implementation to avoid compiler error on target without usb-device 2020-01-08 19:36:51 +08:00
Martin Kojtal b77f6b457e
Merge pull request #12055 from 0xc0170/fix_12054
cmsis: remove arm math
2020-01-08 12:00:54 +01:00
Hugues Kamba 7819909148 NXP target: Replace UARTSerial references with BufferedSerial
`BufferedSerial` is `UARTSerial` renamed to convey the original purpose
of the class. It is the recommended buffered I/O serial class.
2020-01-08 09:01:19 +00:00
Hugues Kamba 03cff0a02c ST targets: Replace UARTSerial references with BufferedSerial
BufferedSerial is UARTSerial renamed to convey the original purpose of
the class. It is the recommended buffered I/O serial class.
2020-01-08 08:34:20 +00:00
Laurent Meunier 022c0eb7dc Increase MSI clock frequency when exiting deep sleep
This will optimize down the time it takes to restore the clock
settings when getting out of deep sleep.

If 48MHz is available let's use it, otherwise at least 4MHz should be
available for any MCU with MSI.
2020-01-07 17:59:33 +01:00
jeromecoutant 9448ded044 STM32G0: Update G071xx toolchain files with default files 2020-01-07 17:00:30 +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
jeromecoutant cf2dfcbc60 STM32G0: introduction of G030/G031/G041/G070/G081 sub-families 2020-01-07 16:07:18 +01:00
jeromecoutant 57f144ec66 STM32G0: remove MBED patch
Goal is to remove all mis-aligment with official ST CUBE delivery
2020-01-07 16:05:34 +01:00
jeromecoutant 631ed0c0b3 STM32G0: move us_ticker_data.h file to family level 2020-01-07 16:02:08 +01:00
jeromecoutant 6d780d8773 STM32G0: move cmsis_nvic.h file to Sub-family level 2020-01-07 16:01:45 +01:00
jeromecoutant 7dd31d0319 STM32G0: move TOOLCHAIN files to Sub-family level 2020-01-07 16:00:40 +01:00
jeromecoutant fd52eb46d1 STM32G0: move files to TARGET_STM32G0/STM32Cube_FW 2020-01-07 16:00:16 +01:00
jeromecoutant 6875d0318e STM32G0: move files to TARGET_STM32G0/STM32Cube_FW/CMSIS 2020-01-07 15:57:04 +01:00
jeromecoutant f322d87d43 STM32G0: move files to TARGET_STM32G0/STM32Cube_FW/STM32G0xx_HAL_Driver 2020-01-07 15:56:19 +01:00
Leon Lindenfelser 94ead7adb2 Minor fixes for peripheral pins on Dragonfly Nano
1. PG8 should be labeled I2C3 not I2C1.
2. PC0 is dedicated to measuring system voltage.
2020-01-07 08:52:34 -06:00