mirror of https://github.com/ARMmbed/mbed-os.git
STM32L4 assert in SetSysClock replaced
parent
dbcaafe561
commit
a6cf01f948
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
#include "nvic_addr.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
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -147,8 +147,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_MSI() == 0)
|
if (SetSysClock_PLL_MSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
#include "nvic_addr.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
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -147,8 +147,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_MSI() == 0)
|
if (SetSysClock_PLL_MSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
#include "nvic_addr.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
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -147,8 +147,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_MSI() == 0)
|
if (SetSysClock_PLL_MSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
#include "nvic_addr.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
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -134,8 +134,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_MSI() == 0)
|
if (SetSysClock_PLL_MSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
#include "nvic_addr.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
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -134,8 +134,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_MSI() == 0)
|
if (SetSysClock_PLL_MSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
#include "nvic_addr.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
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -134,8 +134,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_MSI() == 0)
|
if (SetSysClock_PLL_MSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
#include "nvic_addr.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
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -134,8 +134,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_MSI() == 0)
|
if (SetSysClock_PLL_MSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
#include "nvic_addr.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
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -134,8 +134,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_MSI() == 0)
|
if (SetSysClock_PLL_MSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
#include "nvic_addr.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
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -134,8 +134,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_MSI() == 0)
|
if (SetSysClock_PLL_MSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
#include "nvic_addr.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
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -134,8 +134,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_MSI() == 0)
|
if (SetSysClock_PLL_MSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
#include "nvic_addr.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
|
/*!< Uncomment the following line if you need to relocate your vector Table in
|
||||||
Internal SRAM. */
|
Internal SRAM. */
|
||||||
|
@ -134,8 +134,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_MSI() == 0)
|
if (SetSysClock_PLL_MSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue