Commit Graph

6228 Commits (mbed-os-5.15.6-rc1)

Author SHA1 Message Date
Martin Kojtal e4f42d8fa5
Merge pull request #13709 from OpenNuvoton/nvt_i2c_timeout_5.15
mbed-os-5.15: Nuvoton: Fix NuMaker I2C timeout
2020-11-02 09:43:54 +00:00
cyliangtw 3d0be7d3b4 Normalize the line endings 2020-11-02 11:30:06 +08:00
Martin Kojtal 4f69795cac
Merge pull request #13770 from OpenNuvoton/nuvoton_m2354_mp
M2354: Upgrade to BSP v3.00.001 (5.15)
2020-10-30 10:34:34 +00:00
Martin Kojtal 0e00ff7db0
Merge pull request #13652 from felipeLeast/fix_pins_stm32h7
Fix STM32H747 Arduino pinout
2020-10-22 15:57:39 +01:00
Chun-Chieh Li 2acb3a45d0 M2354: Update pre-built non-PSA secure library/image
1.  Upgrade to BSP v3.00.001 for MP chip
2.  Enable fault handler dump message
2020-10-15 11:58:08 +08:00
Chun-Chieh Li 260fc30c0c M2354: Enable fault handler dump message 2020-10-15 11:58:08 +08:00
Chun-Chieh Li 76463fe4ac M2354: Update to BSP v3.00.001
1.  Change to support MP chip. Original M2355 BSP is for test chip.
2.  UART0, used for USB VCOM, has change in clock enable bit. So chip/board version and BSP version must match.
3.  Remove TF-M legacy code.
2020-10-15 11:58:07 +08:00
Chun-Chieh Li 73614ea56e M2354: Remove flash_read override originally for test chip
In test chip, byte-read (LDRB) last byte of flash in non-secure world always gets 0xFF.
This is got around by overriding flash_read(...). Now, the override can remove in MP chip.
2020-10-15 11:58:06 +08:00
Martin Kojtal 970d10a502
Merge pull request #13739 from OpenNuvoton/nuvoton_m23_fault_handler_5.15
Nuvoton: Enable fault handler dump message on CM23 targets (5.15)
2020-10-13 13:33:26 +01:00
Martin Kojtal cf4f584af5
Merge pull request #13639 from mbedNoobNinja/TARGET_UPDATE
Add SD, USBDEVICE & LPTICKER support for VK_RZ_A1H board.
2020-10-13 11:33:30 +01:00
Martin Kojtal f63b4b6fec
Merge pull request #13512 from OpenNuvoton/nvt_nuc472_sd_5.15
mbed-os-5.15: Nuvoton: Fixed NUC472 SD buffer alignment
2020-10-13 11:26:48 +01:00
Martin Kojtal f1e304bb0b
Merge pull request #13643 from OpenNuvoton/nuvoton_m2351_gcc_iar_5.15
M2351: Support GCC and IAR
2020-10-13 11:21:52 +01:00
Chun-Chieh Li 69b52e64af Nuvoton: Enable fault handler dump message for M23 targets
Support targets:
-   NU_PFM_M2351
-   NUMAKER_IOT_M263A
-   NUMAKER_IOT_M252
2020-10-08 13:53:47 +08:00
cyliangtw 39e2f31176 Apply the same NuMaker I2C timeout measurement to M2354 2020-10-05 12:12:24 +08:00
cyliangtw 99e767b4c7 Fix NuMaker I2C timeout,
some H/W timer count is 24 bits only, hardcode 0xffffffff causing
  wrong judgement of timeout as while H/W timer counting overflow.
2020-10-05 11:28:06 +08:00
Felipe d011d214ac Fix STM32H747 Arduino pinout 2020-09-30 12:43:40 -03:00
Martin Kojtal 49bd70be49
Merge pull request #13661 from MartinBielik/mbed-os-5.15
K82F, KL82Z: Fix the I2C SDK driver slave transfer
2020-09-30 16:04:22 +01:00
Bielik d58616daec K82F, KL82Z: Fix the I2C SDK driver slave transfer
In case of slave transfer we dont want the slave to perform stop signal.

Signed-off-by: Bielik <martin.bielik.sk@gmail.com>
2020-09-24 11:04:16 +02:00
mbedNoobNinja efe5331779 Adding support for SD (through external SDHI driver), USBDEVICE, LPTICKER.
Linker files synced with other Renesas boards.
2020-09-18 18:21:49 +03:00
Chun-Chieh Li a76e49c843 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-09-18 10:17:27 +08:00
Chun-Chieh Li 5ec9b79888 M2351: Support GCC
1.  Enable GCC support on non-secure targets
2.  Disable GCC support on secure targets becasue of GCC bug (as of 9-2019-q4-major): In non-secure entry function, callee-saved registers must be restored, but they are incorrectly cleared at optimization level "Os".
2020-09-18 10:13:18 +08:00
Chun-Chieh Li 9058a9585a M2351: Re-organize ARMC6 scatter file
Separate out secure/non-secure ARMC6 scatter files instead of merging them
2020-09-18 09:46:57 +08:00
Chun-Chieh Li 728c4b3cf0 M2351: Polish memory partition code
1.  Refine memory partition files to support different toolchains
2.  Exclude NSC region from flash IAP range
2020-09-18 09:42:20 +08:00
Chun-Chieh Li b0c767a854 M2351: Refactor startup file
1.  Re-organize to make clear all targets/toolchains support in single startup file
2.  Inline assembly syntax is limited, esp. on IAR. Try paving the way for accessing external symbols still in inline assembly instead of re-write in assembly.
3.  Update GCC C run-time sequence to fit future GCC script file.
2020-09-18 09:39:57 +08:00
Chun-Chieh Li 239ec8c941 M2351: Remove GCC/IAR linker files temporarily
Ths is to prepare for supporting GCC/IAR officially.
2020-09-18 09:35:15 +08:00
Chun-Chieh Li 21b2c4c7c5 M2351: Fix RTC clock selection 2020-09-18 09:34:08 +08:00
Deepak Shreshti 9aa366c137 Fixed linker issue
Linker issue:
Stack pointer = RAM starting address + Size of RAM = 0x20000000 + 0x4000
2020-09-09 07:48:12 +05:30
Chun-Chieh Li 9c86871a9f Nuvoton: Fix degrading QSPI to SPI
In most cases, we can control degraded QSPI H/W to standard through BSP SPI driver directly as if it is just SPI H/W.
However, BSP SPI driver distinguishes among SPI H/W instances in below functions:
-   SPI_Open
-   SPI_Close
-   SPI_SetBusClock
-   SPI_GetBusClock
In these cases, we must change to QSPI version instead for QSPI H/W.

Change target:
-   NU_M2354*
2020-09-03 11:29:04 +08:00
Martin Kojtal e4350393d2
Merge pull request #13450 from u-blox/ublox_odin_driver_os_5_v3.7.2
[mbed-os-5.15] ODIN-W2 release v3.7.2 and bug fixes.
2020-09-02 09:51:45 +01:00
cyliangtw eab9417141 Fix nuc472 SD buffer alignment 2020-08-31 12:08:38 +08:00
qasim-ublox 876c3e8948 ODIN drivers updated to v3.7.2 2020-08-18 13:10:51 +05:00
adbridge 6a244d7adf "Update secure binaries for ARM_MUSCA_A1_S (ARMC6)" 2020-08-12 12:45:01 +01:00
adbridge 9d0b365c3d "Update secure binaries for LPC55S69_S (ARMC6)" 2020-08-12 12:37:10 +01:00
Martin Kojtal f6ac79a680
Merge pull request #13381 from OpenNuvoton/nuvoton_m252_iot_5.15
Nuvoton: Update M252 target name (5.15)
2020-08-12 07:08:40 +01:00
cyliangtw 9653141ee0 Change M252 target name as NUMAKER_IOT_M252 2020-07-31 16:47:21 +08:00
Malavika Sajikumar aa1f92e91d Adding QSPI support to SDP-K1 board support package. 2020-07-29 14:15:43 -07:00
Anna Bridge e25b88edb0
Merge pull request #13342 from orsonmmz/new_olimex_e407_bloader
Support for Olimex STM32-E407 bootloader
2020-07-28 16:45:07 +01:00
Anna Bridge 7be4cb9d96
Merge pull request #13338 from malavikasajikumar/SDPK1-update
Cleaning up SDP-K1 board support package.
2020-07-28 16:43:46 +01:00
Anna Bridge 93ee6daf87
Merge pull request #13320 from malavikasajikumar/mbed-os-5.15
Updating targets.json file for SDP-K1 board.
2020-07-28 16:40:29 +01:00
Anna Bridge 677940e3ca
Merge pull request #13245 from OpenNuvoton/nuvoton_m2354_5.15
Nuvoton: Add new target NU_M2354_NPSA_S/NS
2020-07-28 16:37:14 +01:00
Anna Bridge 9ab68b9dba
Merge pull request #13184 from supertoast/mbed-os-5.15
Nordic NRF52 GPIO API: Fix failure to clear the field 'skip_gpio_setup' in a local
2020-07-28 16:33:53 +01:00
Malavika Sajikumar 967ff68bcd Cleaning up SDP-K1 board support package. 2020-07-22 12:31:14 -07:00
Malavika Sajikumar 28726d92d7 Updating targets.json file for SDP-K1 board. 2020-07-21 12:37:50 -07:00
Maciej Suminski db99b1db73 OLIMEX_STM32E407_F407ZG: bootloader support
This commit modifies the Vector Table Offset Register in the startup
file, so it uses address coming from the user application instead of a
fixed one pointing to the bootloader. This change has been already
proposed for another STM32F4 board [1] to fix bootloader issues.

1. https://github.com/ARMmbed/mbed-os/issues/1666#issuecomment-386242991
2020-07-20 23:27:34 +02:00
Chun-Chieh Li de982dbf58 M2354: Get around LDRB last byte of flash in non-secure
On test chip, byte-read (LDRB) last byte of flash in non-secure world always gets 0xFF.
Get around it. Recover back on MP chips.
2020-07-10 09:45:21 +08:00
Chun-Chieh Li 3dd967426d M2354: Add pre-built secure image/lib for non-PSA 2020-07-10 09:45:21 +08:00
Chun-Chieh Li d1ea81e991 M2354: Initial support 2020-07-07 17:09:57 +08:00
aqib-ublox be50fcd007
Merge pull request #43 from aqib-ublox/ublox_odin_driver_os_5_v3.8.0_rc1
Ublox odin driver os 5 v3.8.0 rc1
2020-07-06 12:20:12 +05:00
Fabian Inostroza 1c849a0298 Same changes as #12113. Fix STM32 can_init_freq() ignores frequency. 2020-07-05 13:55:34 -04:00
Stephen Blackheath b9260ae8c7 Nordic NRF52 GPIO API: Fix failure to clear the field 'skip_gpio_setup' in a local
gpiote input configuration data structure, resulting in non-deterministic failure
to initialize interrupt handling.
2020-06-24 14:39:40 +02:00