Rajkumar Kanagaraj
e13fdc444f
fix for build failure issues
2019-05-24 12:31:28 +02:00
Rajkumar Kanagaraj
95e8e27e9b
doxy spell check fix for watchdog
2019-05-24 12:28:23 +02:00
Rajkumar Kanagaraj
f4184b19a0
update:Remove DEVICE_WATCHDOG and added RESET_RESON in stm32 family
2019-05-24 12:28:20 +02:00
Mel W
26986289e5
capitalizing class name
...
Hope this is alright.
2019-05-24 12:23:46 +02:00
Mel W
ae776cbf1c
Capitalizing Watchdog
2019-05-24 12:23:45 +02:00
Mel W
c0e186b3dd
small grammatical changes
...
Not sure if the formatting's still alright on these.
2019-05-24 12:23:45 +02:00
Filip Jagodzinski
16863bb972
Docs: Watchdog: Update code comments
...
* capitalize driver class name,
* reword test docs for the driver & HAL,
* capitalize Mbed name,
* reword the comments explaining the SERIAL_FLUSH_TIME_MS macro.
2019-05-24 12:23:44 +02:00
Steve Cartmell
ad295e64ba
fix(hal-watchdog): Guard TMPM 'ResetReason' code behind feature flag
2019-05-24 12:23:43 +02:00
Steve Cartmell
a63e236d84
fix(hal-watchdog): Add 'RESET_REASON' flags to supported devices
2019-05-24 12:23:42 +02:00
Steve Cartmell
8baae2475a
fix(hal-watchdog): Remove 'RESET_REASON' flags from unsupported devices
2019-05-24 12:23:41 +02:00
Steve Cartmell
544eb82a47
fix: Remove excess comma from device_has key in targets.json
2019-05-24 12:23:41 +02:00
Amanda Butler
dd46edaef3
Edit ResetReason_tests.h
...
Make minor grammar edits.
2019-05-24 12:23:40 +02:00
Ganesh Ramachandran
a0c2b59475
Added reset_reason feature for TMPM3HQ
2019-05-24 12:23:39 +02:00
Filip Jagodzinski
337b394048
Tests: Watchdog: Update the reset-to-sync delay
...
Change the config parameter used as a delay before sending the sync
packet after the device reset in watchdog and reset_reason tests. Use
'forced_reset_timeout' instead of 'program_cycle_s'.
2019-05-24 12:23:38 +02:00
Filip Jagodzinski
a37d03d640
Tests: Watchdog: Fix config access in the host script
...
Move the calls to get_config_item() to the setup() method. The config is
not available in the initializer yet.
2019-05-24 12:23:38 +02:00
Donatien Garnier
f9ac1567af
Fix more astyle failures
2019-05-24 12:23:37 +02:00
Donatien Garnier
91ef36809f
Apply new astyle config style
2019-05-24 12:23:36 +02:00
Donatien Garnier
3ab0fbc7cf
Update license headers
2019-05-24 12:23:35 +02:00
Steve Cartmell
7f47b0a65c
fix(hal-watchdog): Add feature guards to K64F watchdog implementation
2019-05-24 12:23:35 +02:00
Steve Cartmell
b06e30ed35
test(api-watchdog): Fix errors in compiling watchdog greentea tests
...
The latest rebase of the watchdog feature branch introduced errors in compiling
watchdog tests due to missing headers.
- Watchdog HAL API test
Include missing header files to main.cpp (mbed_wait_api.h, stdlib.h).
- Watchdog HAL API timing test
Include missing header files to main.cpp (us_ticker_api.h).
- Watchdog Driver API test
Include missing header files to main.cpp (mbed_wait_api.h, stdlib.h).
Inject mbed namespace into main.cpp to fix Watchdog name resolution.
2019-05-24 12:23:34 +02:00
Ganesh Ramachandran
5fc77d3c4a
Added reset_reason feature for TMPM3H6 & TMPM4G9
2019-05-24 12:23:33 +02:00
Ganesh Ramachandran
f6fcabb9b8
Added reset_reason feature for TMPM066 & TMPM46B
2019-05-24 12:23:29 +02:00
ccli8
b17ea44046
Fix NUMAKER_PFM_NANO130 cannot pass mbed_hal/watchdog_reset test
...
On NUMAKER_PFM_NANO130 target, WDT's clock source is fixed to LIRC, which is much
less accurate than other targets. Enlarge delta define to pass this test.
2019-05-24 12:20:05 +02:00
ccli8
5190ec8048
Enlarge wait time for flushing serial buffer in Greentea test code
...
Original wait time is not enough for UART to flush out before deepsleep/reset on some targets.
2019-05-24 12:20:04 +02:00
ccli8
84440531f1
[Nuvoton] Support watchdog timer
2019-05-24 12:20:01 +02:00
ccli8
6e514b6e08
[Nuvoton] Support reset reason
2019-05-24 11:35:44 +02:00
ccli8
717979075f
[NUC472] Fix WDT driver in BSP
2019-05-24 11:35:43 +02:00
Qinghao Shi
a6a34722ca
fix bugs introduced on rebase
2019-05-24 11:35:43 +02:00
jeromecoutant
570e9b0bf4
STM32 WATCHDOG : increase timeout value
2019-05-24 11:35:42 +02:00
jeromecoutant
4300e5d6c4
STM32 WATCHDOG : use ST HAL in order to make code commun for all STM32
2019-05-24 11:35:41 +02:00
jeromecoutant
feec85cc37
STM32 WATCHDOG : update STM32L0 HAL_IWDG_Init to a newest version
2019-05-24 11:35:41 +02:00
jeromecoutant
e29d64fc19
STM32 WATCHDOG : compilation issue with typed define
2019-05-24 11:35:40 +02:00
jeromecoutant
1b8513a5a8
STM32 Watchdog : move API file to STM family level
2019-05-24 11:35:39 +02:00
Lukas Mandak
ce574b5eef
NCS36510: Added watchdog implementation.
2019-05-24 11:35:38 +02:00
Steven Cooreman
c7bc7e5122
Add implementation of reset reason on Silicon Labs parts
2019-05-24 11:35:38 +02:00
Steven Cooreman
295c79ab0a
Add support for watchdog on Silicon Labs devices
2019-05-24 11:35:37 +02:00
Steven Cartmell
77c5007653
Add Watchdog and ResetReason headers to mbed.h
...
Adding headers to mbed.h will prevent you having to manually include
them when using the drivers in an application.
2019-05-24 11:35:36 +02:00
Steven Cartmell
bafe99ced3
Add text to watchdog documentation indicating that it will continue to run in sleep modes
2019-05-24 11:35:35 +02:00
Filip Jagodzinski
3d31801f4f
STM: HAL: Reset_reason: Correct return values
2019-05-24 11:35:35 +02:00
Filip Jagodzinski
76f7ca613a
Tests: Drivers: Reset_reason: Add tests
2019-05-24 11:35:34 +02:00
Filip Jagodzinski
f9497e5ed4
Tests: HAL API: Reset_reason: Add tests
2019-05-24 11:35:33 +02:00
Filip Jagodzinski
4e28b80b5f
Tests: HAL: Watchdog: Fix timing accuracy test
...
Relax time measurement margins for UBLOX_EVK_ODIN_W2.
2019-05-24 11:35:33 +02:00
Bartek Szatkowski
585edc1f43
Disable Watchdog on Odin as it fails intermittently
2019-05-24 11:35:32 +02:00
Bartek Szatkowski
f3c6c569d1
Document reset reason enum
2019-05-24 11:35:31 +02:00
Bartek Szatkowski
239c8a3cad
Add RESET_REASON and WATCHDOG to doxygen options
2019-05-24 11:35:30 +02:00
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
Filip Jagodzinski
8baf16760d
Tests: Drivers: Watchdog: Add tests
2019-05-24 11:35:28 +02:00
Filip Jagodzinski
c4d9300f9d
Tests: HAL API: Watchdog: Add time accuracy tests
2019-05-24 11:35:28 +02:00
Filip Jagodzinski
f1e744d4a0
Tests: HAL API: Watchdog: Add dev reset tests
2019-05-24 11:35:27 +02:00