STM32L4 assert in SetSysClock replaced

pull/7775/head
jeromecoutant 2018-08-13 15:56:53 +02:00
parent ac06d5574b
commit 063cad5992
11 changed files with 33 additions and 33 deletions

View File

@ -45,7 +45,7 @@
#include "stm32l4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -147,8 +147,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_MSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -45,7 +45,7 @@
#include "stm32l4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -147,8 +147,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_MSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -45,7 +45,7 @@
#include "stm32l4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -147,8 +147,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_MSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -32,7 +32,7 @@
#include "stm32l4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -134,8 +134,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_MSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -32,7 +32,7 @@
#include "stm32l4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -134,8 +134,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_MSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -32,7 +32,7 @@
#include "stm32l4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -134,8 +134,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_MSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -32,7 +32,7 @@
#include "stm32l4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -134,8 +134,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_MSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -32,7 +32,7 @@
#include "stm32l4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -134,8 +134,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_MSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -32,7 +32,7 @@
#include "stm32l4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -134,8 +134,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_MSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -32,7 +32,7 @@
#include "stm32l4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -134,8 +134,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_MSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -32,7 +32,7 @@
#include "stm32l4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -134,8 +134,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_MSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}