Commit Graph

6177 Commits (cf5944186eaf93eef441a0197a1196979f95b31b)

Author SHA1 Message Date
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
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
PARKJIHOON 66887ee138 fix typo 'modifyh'
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-02-05 15:25:11 +00:00