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
Filip Jagodzinski
484b716c6e
Tests: HAL API: Watchdog: Add tests
2019-05-24 11:35:26 +02:00
Bartek Szatkowski
808ccaf12e
Add definition of reset reason and watchdog doxy groups
2019-05-24 11:35:25 +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
3c18dcb882
Amend reset reason driver API
...
- Change API to match C++ API throughout drivers
- Amend HAL API documentation to be more specific
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
41878bc3de
Add Reset Reason platform API
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
Steven Cartmell
7fe3a387e3
Add Watchdog HAL API specification headers
...
HAL watchdog functionality will be implemented as two separate APIs. The reset
reason API allows a user to detect the last system reset reason to identify if
a Watchdog was triggered. The Watchdog API allows configuring and updating
Watchdog timers on all boards. This commit defines the headers.
2019-05-24 11:20:20 +02:00
Martin Kojtal
c4cc9c4f1b
Merge pull request #10646 from LDong-Arm/connectionCount
...
Fix deprecation notice for ble::Gap::getState()
2019-05-24 09:11:58 +01:00
Martin Kojtal
541dee4531
Merge pull request #10553 from korjaa/semihosting_docs
...
Add semihosting and SWO examples to mbed_override_console().
2019-05-23 21:40:37 +01: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
86bd7f05f0
Merge pull request #10634 from LDong-Arm/ble-api-update
...
BLE: fix deprecated API calls in battery and thermometer services
2019-05-23 21:37:19 +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
Lingkai Dong
c84a13c0f2
Fix deprecation notice for ble::Gap::getState()
...
The deprecation notice suggests getConnectionCount() which
did not land in the final API. The proper replacement is keeping
your own record and updating during connection and disconnection
callbacks.
2019-05-23 16:36:28 +01:00
Martin Kojtal
51b835b03b
Merge pull request #10473 from DanielDmlee/BG96_IPV6_only
...
Add exception case for IPV6 only mode of BG96.
2019-05-23 15:29:34 +01:00
Martin Kojtal
3801d4a1c3
Merge pull request #10635 from LDong-Arm/deprecated_ble_services
...
BLE: deprecate UARTService and suppress compiler warnings
2019-05-23 14:52:17 +01:00
Martin Kojtal
2a49ff6d50
Merge pull request #10640 from LDong-Arm/therm_char
...
BLE HealthThermometerService: correct GATT characteristics
2019-05-23 14:49:31 +01:00
Martin Kojtal
bd21c0eafa
Merge pull request #10639 from AriParkkila/sock_id_debacle
...
Cellular: Preventing Socket ID assignment until actual socket creation at the modem
2019-05-23 14:49:01 +01:00
Martin Kojtal
b735d73d47
Merge pull request #9221 from kfnta/tfm_musca_a1
...
Add ARM_MUSCA_A1 target
2019-05-23 14:48:06 +01:00
Martin Kojtal
b3328fdcc0
Merge pull request #10638 from AGlass0fMilk/fix-advertising-uuid-bug
...
Fix AdvertisingDataBuilder UUID Insertion Bug
2019-05-23 14:46:49 +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
Bilal Qamar
255e2e5623
Correction in AT Command
2019-05-23 16:15:10 +05:00
Martin Kojtal
b2abfc3529
Merge pull request #10624 from artokin/prepare_for_mbedos513
...
Nanostack release for Mbed OS 5.13
2019-05-23 11:16:56 +01:00