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
Fabian Inostroza
cf5944186e
Constructor ignored passed speed.
...
Fixes #13023 .
2020-06-14 01:18:57 -04:00
Martin Kojtal
8e5976898f
Merge pull request #12969 from OpenNuvoton/nuvoton_5.15_watchdog_hardfault
...
Nuvoton: Fix watchdog reset failure on meeting Hard Fault (5.15)
2020-06-09 11:09:06 +02:00
Martin Kojtal
1dd5069fe7
Merge pull request #12986 from OpenNuvoton/nuvoton_5.15_m2351_npsa_secure-minimal-build
...
M2351: Enable non-PSA minimal secure build (5.15)
2020-06-08 13:23:16 +02:00
Chun-Chieh Li
e0bd07f649
M2351: Enable non-PSA minimal secure build
...
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
- Remove LPTICKER
Re-build default secure image/gateway library to favor Pelion client application
2020-05-18 11:12:19 +08:00
Chun-Chieh Li
3d1fd6ae0d
Nuvoton: Change WDT clock source to LXT
...
LIRC has 40%~50% error rate, so change WDT clock source to LXT from LIRC.
NOTE: NANO100 series just supports LIRC-clocked WDT.
2020-05-14 11:45:38 +08:00
Chun-Chieh Li
572bae3ad6
Nuvoton: Fix failure to change WDT clock source
...
WDT clock source selection and its enablement bits are protected. Add unlock sequence before write to them.
2020-05-14 11:45:34 +08:00
Chun-Chieh Li
2162aaaea3
Nuvoton: Fix WDT feature report with clock frequency
2020-05-14 11:45:31 +08:00
Chun-Chieh Li
b70b65c1b5
Nuvoton: Enlarge WDT reset delay to avoid premature WDT reset
...
Consider the following factors to define WDT reset delay:
1. Cannot be too small. This is to avoid premature WDT reset in pieces of timeout cascading.
2. Cannot be too large. This is to pass Greentea reset_reason/watchdog_reset tests, which have e.g. 50~100 reset delay tolerance.
2020-05-14 11:45:27 +08:00
Chun-Chieh Li
9c59bd0bb9
Nuvoton: Fix watchdog reset failure on meeting Hard Fault
...
Original implementation doesn't enable watchdog reset in pieces of cascaded timeout, except the last one. This is to guarantee re-configuration can be in time, but in interrupt disabled scenario e.g. Hard Fault, watchdog reset can cease to be effective.
This change enables watchdog reset all the way of cascaded timeout. With trade-off, guaranteed watchdog reset function is more significant than re-configuration in time.
2020-05-14 11:42:51 +08:00
adbridge
a1104ca1aa
"Update secure binaries for ARM_MUSCA_A1_S (ARMC6)"
2020-04-27 13:42:33 +01:00
adbridge
8a31c24fb7
"Update secure binaries for LPC55S69_S (ARMC6)"
2020-04-27 13:35:02 +01:00
jeromecoutant
267f32ce25
STM32 GCC Unspecified RTOS error
...
#12690 on 5.15 branch
2020-04-24 14:02:32 +02:00
qasim-ublox
e2167e8f1d
updating wlan parameter configuration under appropriate settings
2020-04-21 18:35:40 +05:00
Kyle Kearney
6554e3951e
Revert "Backport #12603 : Add CYSBSYSKIT_01"
...
This reverts commit 4e6692b529
.
There are issues with wifi connectivity on this target that mean
it is not ready to ship with 5.15.2.
2020-04-08 14:14:11 -07:00
Martin Kojtal
067d7eb166
Merge pull request #12724 from RyoheiHagimoto/renesas_bl_515
...
RZ_A1H and GR_LYCHEE: Enable bootloader support (Mbed OS 5.15)
2020-04-08 10:05:44 +02:00
Martin Kojtal
82fc228bdf
Merge pull request #12717 from 0xc0170/fix_sleep_stm32f4
...
Add fix for STM32F4 hardfault in sleep mode
2020-04-08 08:57:57 +02:00
Dustin Crossman
4e6692b529
Backport #12603 : Add CYSBSYSKIT_01
2020-04-02 15:02:44 -07:00
midd
be4dd8ee23
Backport #12492 : Update psoc6cm0p to version 1.1.1.
...
This version is built with PSoC 6 Peripheral Driver Library (PDL) 1.4.1
2020-04-02 14:59:54 -07:00
Dustin Crossman
ca47da6018
Backport #12422 : Cypress Asset Update
...
- Update psoc6pdl to version 1.4.1.2240
- Update psoc6 core_lib to version 1.1.1.11109.
- Update psoc6hal to 1.1.1.11145.
- Store RTC century and RTC state information in persistent BREG register.
2020-04-02 14:58:48 -07:00
Dustin Crossman
a15ed110a6
Backport #12421 : Cypress target reorganization
...
- Remove CY8CMOD_062_4343W and merge into CY8CPROTO_062_4343W.
- Remove CY8CMOD_062S2_43012 and merge into CY8CKIT_062S2_43012.
- Remove CY8CMOD_062S3_4343W and merge into CY8CPROTO_062S3_4343W.
- Removed CY8CMODs from targets.json.
- Removed unnecessary PSOC6Code.complete post binary hook from cypress targets.
2020-04-02 14:56:36 -07:00
midd
8199e25f24
Backport #12394 : Fix Cypress 1M SDIO + other minor bugs
...
- Remove wounding for the hardware CRYPTO block. The PSoC 6 MPN CYW9P62S1_43012EVB_01 was revised
to add the hardware crypto block.
- Add missing error checks for emac power up.
- Add a multiplied by 2 in the SDIO clock divider calculation to account for internal UDB divider.
Note: Fixes issues with intermittent WiFi firmware load failures on CY8CKIT_062_WIFI_BT,
CYW943012P6EVB_01, CYW9P62S1_43012EVB_01, CYW9P62S1_43438EVB_01.
2020-04-02 14:49:22 -07:00
Shuopeng Deng
a0ee701d83
Backport #12097 : Cypress: Fix IAR Warnings
...
fix 'enumerated type mixed with another type' IAR warnings
fix 'statement is unreachable' IAR warning
2020-04-02 14:30:46 -07:00
YARB(Cypress)
738ec19183
Backport #12052 : Fix for ARM issue 11859.
...
1. Clear UART events before enabling
2. Reset device before return from test case
2020-04-02 14:29:45 -07:00
YARB(Cypress)
63583ff6b1
Backport #12038 : Remove qspi_frequency() call.
...
cy_qspi_frequency is not implemented.
This change is made because for compatibility
reason with upcoming cy_hal changes.
2020-04-02 14:28:02 -07:00
Shuopeng Deng
880af5d8ae
Backport #12019 : rework cypress lptimer hal
...
Changed set_match api to use an absolute ticks rather than delayed tick to match api name.
Added api set_delay to delay by a specific amount of ticks. Removed unused set_time api.
Simplified the logic for computing interrupts match value for cascading counters.
Fixed an issue when incorrect base time would be read when trying to set match values.
2020-04-02 14:27:32 -07:00
RyoheiHagimoto
103faf9007
RZ_A1H and GR_LYCHEE: Enable bootloader support (Mbed OS 5.15)
2020-04-01 17:55:21 +09:00
Marcelo Salazar
b21aeaf153
Add workaround for F429 hardfault
2020-03-30 14:27:51 +01:00
Teemu Takaluoma
723f311de2
Disable sleep on STM32F4 as an workaround for stability issues.
...
This workaround is related to Mbed OS issue
https://github.com/ARMmbed/mbed-os/issues/12294
2020-03-30 14:27:43 +01:00
adbridge
468bd41f13
Revert "Add sector information"
...
This reverts commit ed6869d9ec
.
2020-03-27 10:44:38 +00:00
adbridge
e273c3f0ab
Revert "GR_LYCHEE: enable bootloader support"
...
This reverts commit c654cdc40b
.
2020-03-27 10:44:20 +00:00
adbridge
4c32297b07
Revert "RZ_A1H: enable bootloader support"
...
This reverts commit b7e8cd2267
.
2020-03-27 10:43:53 +00:00
d-kato
b7e8cd2267
RZ_A1H: enable bootloader support
2020-03-27 14:58:07 +09:00
d-kato
c654cdc40b
GR_LYCHEE: enable bootloader support
2020-03-27 14:36:23 +09:00
d-kato
ed6869d9ec
Add sector information
2020-03-27 14:32:12 +09:00
jeromecoutant
dd37ac3c04
STM32F0: clean main-thread-stack-size setting
2020-02-07 10:10:36 +00:00
jeromecoutant
8197d7625d
STM32 remove unused INITIAL_SP macro
2020-02-07 10:10:27 +00:00
midd
d11aa10e99
Update psoc6cm0p asset to 1.1.0
2020-02-06 11:29:29 +00:00
Marcelo Salazar
8f937d6eab
OKDO_ODIN_W2: Reenable lp-ticker and BLE
2020-02-05 15:30:21 +00:00
Pawel Zarembski
2fe341f589
hani_iot: add SPDX identifier to all new ARM copyrighted files
2020-02-05 15:25:11 +00:00
Pawel Zarembski
9faf6618fc
hani_iot: update licenses dates, remove unnecessary comment
2020-02-05 15:25:11 +00:00
Pawel Zarembski
feb2952cb2
hani_iot: add spif storage config
2020-02-05 15:25:11 +00:00
Pawel Zarembski
01e1a2c805
hani_iot: add target files and update targets.json
2020-02-05 15:25:11 +00:00
jeromecoutant
cbba284677
STM32L5 : Introduce NUCLEO_L552ZE_Q board
2020-02-05 15:25:11 +00:00
jeromecoutant
119894336e
STM32L5 : update generic STM files for L5
2020-02-05 15:25:11 +00:00
jeromecoutant
a495a6b025
STM32L5: add API L5 family files
2020-02-05 15:25:11 +00:00
jeromecoutant
513eebf5e2
STM32L5: TOOLCHAIN automatic updates
2020-02-05 15:25:11 +00:00
jeromecoutant
89962e60a9
STM32L5: STM32Cube_FW_L5_V1.0.0 files
2020-02-05 15:25:11 +00:00
PARKJIHOON
afedfc06f1
comments the performance of TRNG
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-02-05 15:25:11 +00:00
PARKJIHOON
2a2d6cf6a3
Tidy up comments
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-02-05 15:25:11 +00:00
PARKJIHOON
0a0d4f5a17
fix typo 'modifyh'
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-02-05 15:25:11 +00:00