Merge pull request #7775 from jeromecoutant/PR_ASSERT

STM32 wrong MBED_ASSERT use
pull/7890/head
Cruz Monrreal 2018-08-21 09:44:23 -05:00 committed by GitHub
commit c167275c6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
58 changed files with 174 additions and 174 deletions

View File

@ -29,7 +29,7 @@
*/
#include "stm32f0xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
#define USE_PLL_HSE_XTAL 0x4 // Use external xtal (X3 on board)
@ -138,8 +138,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while(1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -29,7 +29,7 @@
*/
#include "stm32f0xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
#define USE_PLL_HSE_XTAL 0x4 // Use external xtal (X3 on board - not provided by default)
@ -138,8 +138,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while(1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -29,7 +29,7 @@
*/
#include "stm32f0xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO - not connected by default)
#define USE_PLL_HSE_XTAL 0x4 // Use external xtal (X3 on board - not provided by default)
@ -138,8 +138,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while(1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -29,7 +29,7 @@
*/
#include "stm32f0xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO - not connected by default)
#define USE_PLL_HSE_XTAL 0x4 // Use external xtal (X3 on board - not provided by default)
@ -138,8 +138,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while(1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -29,7 +29,7 @@
*/
#include "stm32f0xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
#define USE_PLL_HSE_XTAL 0x4 // Use external xtal (X3 on board - not provided by default)
@ -138,8 +138,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while(1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -29,7 +29,7 @@
*/
#include "stm32f0xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
#define USE_PLL_HSE_XTAL 0x4 // Use external xtal (X3 on board - not provided by default)
@ -138,8 +138,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while(1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -29,7 +29,7 @@
*/
#include "stm32f0xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
#define USE_PLL_HSE_XTAL 0x4 // Use external xtal (X3 on board - not provided by default)
@ -138,8 +138,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while(1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -30,7 +30,7 @@
**/
#include "stm32f4xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
// clock source is selected with CLOCK_SOURCE in json config
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
@ -110,8 +110,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

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

View File

@ -31,7 +31,7 @@
#include "stm32f4xx.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. */
@ -126,8 +126,8 @@ void SetSysClock(void)
if (ret_HSIclk_status == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -31,7 +31,7 @@
#include "stm32f4xx.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. */
@ -125,8 +125,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -31,7 +31,7 @@
#include "stm32f4xx.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. */
@ -126,8 +126,8 @@ void SetSysClock(void)
if (ret_HSIclk_status == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

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

View File

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

View File

@ -31,7 +31,7 @@
#include "stm32f4xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
// clock source is selected with CLOCK_SOURCE in json config
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
@ -107,8 +107,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -31,7 +31,7 @@
#include "stm32f4xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
// clock source is selected with CLOCK_SOURCE in json config
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
@ -107,8 +107,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -36,7 +36,7 @@
#include "stm32f4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
// clock source is selected with CLOCK_SOURCE in json config
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
@ -122,8 +122,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -36,7 +36,7 @@
#include "stm32f4xx.h"
#include "nvic_addr.h"
#include "mbed_assert.h"
#include "mbed_error.h"
// clock source is selected with CLOCK_SOURCE in json config
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
@ -122,8 +122,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

@ -35,7 +35,7 @@
**/
#include "stm32f4xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
// clock source is selected with CLOCK_SOURCE in json config
#define USE_PLL_HSE_EXTC 0x8 // Use external clock (ST Link MCO)
@ -119,8 +119,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

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

View File

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

View File

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

View File

@ -31,7 +31,7 @@
#include "stm32f7xx.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. */
@ -124,8 +124,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

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

View File

@ -31,7 +31,7 @@
#include "stm32f7xx.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. */
@ -124,8 +124,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 0)
#endif
{
while (1) {
MBED_ASSERT(1);
{
error("SetSysClock failed\n");
}
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -29,7 +29,7 @@
*/
#include "stm32l1xx.h"
#include "mbed_assert.h"
#include "mbed_error.h"
/*!< Uncomment the following line if you need to relocate your vector Table in
Internal SRAM. */
@ -114,8 +114,8 @@ void SetSysClock(void)
if (SetSysClock_PLL_HSI() == 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

@ -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");
}
}
}