Filip Jagodzinski
4ed0b948f4
K64F: watchdog HAL: Fix init() and stop()
...
Added a missing wait for the WCT window end. Without it, consecutive
init() or stop() calls were ignored.
2019-05-24 11:35:30 +02:00
Filip Jagodzinski
d26dba40b2
STM32F4: watchdog HAL: Fix issues found with tests
...
Fix WATCHDOG_STATUS_INVALID_ARGUMENT for timeout values from 1 ms to
407 ms (fix inability to set prescaler bits to zero).
Fix timeout <-> IWDG registers conversions.
Fix read & write access to IWDG_PR and IWDG_RLR registers.
Fix LSI RC frequency setting.
Limit MAX_TIMEOUT_MS to UINT32_MAX.
2019-05-24 11:35:29 +02:00
Steven Cartmell
2fb9fc2a8e
Rename watchdog.c -> watchdog_api.c to prevent name collision with Platform API
2019-05-24 11:35:25 +02:00
Steven Cartmell
9d571cd617
Add RESET_REASON and WATCHDOG definitions to hexiwear build target
2019-05-24 11:35:24 +02:00
Filip Jagodzinski
90bb2929e0
K64F: watchdog HAL: Fix max_timeout.
...
Limit MAX_TIMEOUT_MS to UINT32_MAX.
Improve MAX_TIMEOUT_MS handling.
Fix hal_watchdog_get_platform_features() returning
.max_timeout = 0xfffffff8 instead of 0xffffffff.
2019-05-24 11:35:23 +02:00
Steven Cartmell
2ab738fc66
Fix Watchdog::stop on K64F target
...
WDOG_Disable will suspend the watchdog until a reset is triggered instead of stopping it altogether. Deinit will disable it until it is reinitialized.
2019-05-24 11:35:22 +02:00
Steven Cartmell
e7761a1d39
Move watchdog parameter validation into the driver layer
2019-05-24 11:35:22 +02:00
Steven Cartmell
31924b2481
Add missing license headers
2019-05-24 11:35:21 +02:00
Steven Cartmell
7c392a16d4
Remove window and sleep mode options for watchdog API
2019-05-24 11:35:13 +02:00
Steven Cartmell
8fa38bb25b
Add Watchdog driver API
2019-05-24 11:20:26 +02:00
Steven Cartmell
366893ae71
Add independent watchdog reference implementation for STM32
2019-05-24 11:20:25 +02:00
Steven Cartmell
6b3d790fc1
Add function to fetch platform specific reset reason register values
2019-05-24 11:20:24 +02:00
Steven Cartmell
1ec22fee05
Add reset reason reference implementation STM32
2019-05-24 11:20:23 +02:00
Steven Cartmell
8a97101988
Fix watchdog API issues
...
- Fix typo in module comment
- Redefine the default system behaviour in sleep mode
- Guard K64F enableWait flag
- Remove bit shifts from reset reason enum
2019-05-24 11:20:22 +02:00
Steven Cartmell
c258acc222
Add simple watchdog reference implementation for K64F
...
- Add preprocessor guard to watchdog api that errors if the reset reason api is not also implemented
- Add RESET_REASON and WATCHDOG to K64F targets.json
- Add watchdog reference implementation
2019-05-24 11:20:21 +02:00
Steven Cartmell
efcdca8b0f
Add K64F reset reason reference implementation
2019-05-24 11:20:20 +02:00
Martin Kojtal
cfb107912b
Merge pull request #10616 from ThunderSoft123/master
...
Fix bug Operator new[] out of memory
2019-05-23 21:40:10 +01:00
Martin Kojtal
4567626ade
Merge pull request #10636 from u-blox/activation_status
...
+UPSND sent to poll activation status
2019-05-23 21:39:48 +01:00
Martin Kojtal
80d7cb2e17
Merge pull request #10631 from VVESTM/update_cube_h7
...
Update cube h7 to 1.4.0
2019-05-23 21:36:38 +01:00
Martin Kojtal
3f756f0769
Merge pull request #10591 from OpenNuvoton/nuvoton_m2351_fix_spdmc_sync
...
M2351: Fix serial sync error in SPDMC test
2019-05-23 21:36:15 +01:00
Martin Kojtal
02b91bdfca
Merge pull request #10582 from malavikasajikumar/master
...
Adding LED4 definition in PinNames.h of SDP-K1 board.
2019-05-23 21:35:42 +01:00
Vincent Veron
d8e1e43e35
H7 ST CUBE : remove unecessary #if 1 instead of USE_FULL_LL_DRIVER
...
Keep #define USE_FULL_LL_DRIVER and define this switch in target.json
Signed-off-by: Vincent Veron <vincent.veron@st.com>
2019-05-23 14:01:01 +02:00
Vincent Veron
80b41f0276
H7 ST CUBE V1.4.0
2019-05-23 14:01:00 +02:00
Oren Cohen
63487533aa
Update secure binaries
2019-05-22 17:31:49 +03:00
Martin Kojtal
fee07dcdf2
ARM_SSG: mbed_rtx remove empty line
2019-05-22 17:17:27 +03:00
Martin Kojtal
a115c9333f
gpio: indent fix
2019-05-22 17:17:27 +03:00
Gabor Kertesz
40627a5220
Fix last issues
...
Imports working McuBoot for reset.
Updates microsec ticker driver.
Default baudrate is set to 115200 to see TF-M boot messages.
Stack top is set to scatter file dependent and not hard-coded.
2019-05-22 17:17:26 +03:00
Michael Schwarcz
bde2557629
Update secure binaries for ARM_MUSCA_A1_S
2019-05-22 17:17:26 +03:00
Michael Schwarcz
0fc629ce45
MUSCA_A1_NS: Add IAR support
2019-05-22 17:17:25 +03:00
Michael Schwarcz
ef9c2721a0
Fix PinMap_UART_XX
2019-05-22 17:17:25 +03:00
Michael Schwarcz
1a182df19f
Add serial_tx_pinmap() and serial_rx_pinmap() to serial_api.c
2019-05-22 17:17:25 +03:00
Michael Schwarcz
c83ef8a444
Add license files
2019-05-22 17:17:24 +03:00
Michael Schwarcz
84bde31ea0
Increase Secure RAM by 4K
...
- 68KB Secure
- 60KB Non-secure
2019-05-22 17:17:24 +03:00
Michael Schwarcz
71683cbaa7
Fix secure linker script
2019-05-22 17:17:24 +03:00
Michael Schwarcz
cebf30a701
Increase secure heap size to 0x4000
2019-05-22 17:17:24 +03:00
Michael Schwarcz
0701fb1c58
Move us_ticker.c to NS side
2019-05-22 17:17:23 +03:00
Michael Schwarcz
96268d91ef
Updates after rebase
...
- postbuild: Use find_secure_image and update prebuilt binaries
- Add CMSIS driver headers
- Align with 2-region memory model
2019-05-22 17:17:23 +03:00
Michael Schwarcz
a5fd9176bb
Update target license headers
...
- Add SPDX identifiers and update dates
2019-05-22 17:17:22 +03:00
Michael Schwarcz
ff1c769c7e
Add ARM_MUSCA_A1 as a new target platform
...
Musca-A1 is a Cortex-M33 based target with security extension enabled.
- ARM_MUSCA_A1 is the non-secure target running mbed-os.
- ARM_MUSCA_A1_S is the secure target running TF-M.
- TF-M sources were imported and patched in previous commits.
- TF-M secure bootloader (McuBoot) for MUSCA_A1 is submitted by a pre-built binary.
- A post-build hook concatenates The secure and non-secure binaries,
signs it and then concatenates the bootloader with the signed binary.
2019-05-22 17:17:20 +03:00
Bilal Qamar
defc244db2
+UPSND sent to poll activation status
2019-05-22 16:52:03 +05:00
Martin Kojtal
4cf96b8d80
Merge pull request #10482 from SiliconLabs/fix/allow_nc_pins
...
Allow NC pins to be instantiated on Silicon Labs platforms
2019-05-22 08:36:06 +01:00
panyz0725@thundersoft.com
6aeb048e62
Fixing bug error 0x8001011F
2019-05-22 14:18:28 +08:00
Martin Kojtal
d5b84a5d57
SDP_K1: Fix year change in the system clock
2019-05-21 07:44:49 -07:00
Martin Kojtal
3e1a24b3fe
Merge pull request #10587 from d-kato/ca9_armc6
...
GR_LYCHEE,RZ_A1H,VK_RZ_A1H: Fix greentea test failure with ARMC6
2019-05-21 15:07:59 +01:00
Martin Kojtal
c4b32cde87
Merge pull request #10617 from Wiznet/wiznet_develop
...
Change W7500 GPIO Driver
2019-05-21 15:07:10 +01:00
Martin Kojtal
f859289634
Merge pull request #10489 from kjbracey-arm/gpio_api_nc
...
gpio_api.h: Clarify desired behaviour for NC
2019-05-21 14:36:49 +01:00
Martin Kojtal
e4c64226f6
Merge pull request #10605 from sabharad/master
...
K66F: Update SAI and SAI EDMA driver to SDK 2.5
2019-05-21 10:51:28 +01:00
Steven Cooreman
365f3643bb
Allow NC pins to be instantiated
...
Keep asserting on trying to use an NC-instantiated object for anything else, though.
2019-05-20 15:23:34 +02:00
Martin Kojtal
d4122b0b3a
Merge pull request #10454 from u-blox/ublox_odin_driver_os_5_v3.7.0_rc1
...
Enterprise_mode_+_wifi_configuraiton_api: update ODIN drivers to v3.7.0 RC1
2019-05-20 10:54:45 +01:00
TeddyWiz
2a69c6d2cc
change W7500x_gpio.c GPIO_WriteBit
2019-05-20 16:56:48 +09:00