Raspberry Pi MOT HAT Based on STM32F030R8. The clock needs to be changed to 8MHz after export.

Dependencies:   mbed

SysConfig.h

Committer:
nightseas
Date:
2020-01-06
Revision:
4:fb5235d39a9c
Parent:
3:171f4d0ca77b

File content as of revision 4:fb5235d39a9c:


//System Includings
#include "mbed.h"

//Application Layer Modules
#include "DebugCommander.h"
#include "SelfTest.h"

//Peripheral Layer Modules
#include "MotHatLib.h"

//Macro to enable debug serial port
#define DEBUG_SERIAL

#ifdef DEBUG_SERIAL
    #define uart_db uart_pc
#else
    #define uart_db uart_dummy
#endif