Martin Kojtal
02c5e0806f
Merge pull request #12350 from maciejbocianski/fix_fpga_i2c_test
...
implements i2c_free for STM
2020-02-03 09:56:59 +00:00
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
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
Martin Kojtal
9d16a17e7e
Merge pull request #11653 from tymoteuszblochmobica/multiple
...
Add Getaddrinfo interface for multiple DNS adresses
2020-01-07 14:53:36 +01:00
Martin Kojtal
5d71e69f6a
Merge pull request #12186 from mprse/fix_for_issue_12172_stm_serial
...
STM serial init: Set pin function only if pin is defined (not NC)
2020-01-07 11:38:00 +01:00
cyliangtw
95be7da860
Add CLKSEL0_USBSEL_HIRC48 in m2351_clk.h
2020-01-06 19:08:52 +08: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
22e4f93400
[M2351] Add pre-built secure images for PSA
2020-01-06 15:55:01 +08: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
Chun-Chieh Li
c9b4474d50
[M2351] Merge secure idle/powerdown sequences into one
...
Merge SYS_UnlockReg_S()/CLK_Idle_S() or CLK_PowerDown_S()/SYS_LockReg_S()
into nu_idle_s() or nu_powerdown_s() when they are available.
2020-01-06 15:55:01 +08:00
Chun-Chieh Li
a0a1c4d52c
[M2351] Override NS interface by locking kernel scheduler
...
Lock kernel scheduler rather than mutex to guarantee serialization of NS
secure calls
2020-01-06 15:55:01 +08:00
ccli8
dec84ede7e
[M2351] Enforce locked entry into TFM for platform-specific NSC calls
...
On M2351, some spaces like SYS/CLK are hard-wired to secure and cannot change.
To access these spaces from non-secure world, we must provide platform-specific NSC
functions. With TFM introduced, we must synchronize NSC calls into TFM to keep TFM
in sync instead of straight NSC calls. To achieve this goal, we go with the following
approach:
1. Like PSA APIs, enforce locked entry through tfm_ns_lock_dispatch().
2. Run platform-specific secure functions in default secure partition, in which SYS/CLK
spaces have been configured to be accessible.
2020-01-06 15:55:00 +08:00
ccli8
41d95ef2fb
[M2351] Support TFM level 1
2020-01-06 15:55:00 +08:00
ccli8
76a029e88d
[M2351] Support initializing multiple .data/.bss sections with GCC_ARM
2020-01-06 15:54:59 +08:00
ccli8
db11eef0bc
[M2351] Remove draft uvisor code with GCC_ARM
...
uVisor is deprecated since mbed-os 5.10, so remove related code with it.
2020-01-06 15:54:59 +08:00
ccli8
1aca8a5b56
[M2351] Make exported NSC symbols consistent across toolchains
...
This idea comes from TFM.
2020-01-06 15:54:59 +08:00
Filip Jagodzinski
a958199594
TOSHIBA: Add hal_reset_reason_get_capabilities()
...
Override the default, weak implementation of
hal_reset_reason_get_capabilities() for TMPM066, TMPM3H6, TMPM3HQ,
TMPM46B & TMPM4G9.
2020-01-03 16:54:19 +01:00