mirror of https://github.com/ARMmbed/mbed-os.git
STM32F7 assert in SetSysClock replaced
parent
3476f88e96
commit
c1e7ffff60
|
@ -30,7 +30,7 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include "stm32f7xx.h"
|
#include "stm32f7xx.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. */
|
||||||
|
@ -123,8 +123,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_HSI() == 0)
|
if (SetSysClock_PLL_HSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#include "stm32f7xx.h"
|
#include "stm32f7xx.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. */
|
||||||
|
@ -124,8 +124,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_HSI() == 0)
|
if (SetSysClock_PLL_HSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include "stm32f7xx.h"
|
#include "stm32f7xx.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. */
|
||||||
|
@ -123,8 +123,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_HSI() == 0)
|
if (SetSysClock_PLL_HSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#include "stm32f7xx.h"
|
#include "stm32f7xx.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. */
|
||||||
|
@ -124,8 +124,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_HSI() == 0)
|
if (SetSysClock_PLL_HSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include "stm32f7xx.h"
|
#include "stm32f7xx.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. */
|
||||||
|
@ -123,8 +123,8 @@ void SetSysClock(void)
|
||||||
if (SetSysClock_PLL_HSI() == 0)
|
if (SetSysClock_PLL_HSI() == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
while (1) {
|
{
|
||||||
MBED_ASSERT(1);
|
error("SetSysClock failed\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue