Xiaohai Li
/
RPi_MOT_HAT
Raspberry Pi MOT HAT Based on STM32F030R8. The clock needs to be changed to 8MHz after export.
SysConfig.h@4:fb5235d39a9c, 2020-01-06 (annotated)
- Committer:
- nightseas
- Date:
- Mon Jan 06 05:45:32 2020 +0000
- Revision:
- 4:fb5235d39a9c
- Parent:
- 3:171f4d0ca77b
Merge latest official mbed lib.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nightseas | 0:633cef71e6ba | 1 | |
nightseas | 0:633cef71e6ba | 2 | //System Includings |
nightseas | 0:633cef71e6ba | 3 | #include "mbed.h" |
nightseas | 0:633cef71e6ba | 4 | |
nightseas | 0:633cef71e6ba | 5 | //Application Layer Modules |
nightseas | 3:171f4d0ca77b | 6 | #include "DebugCommander.h" |
nightseas | 0:633cef71e6ba | 7 | #include "SelfTest.h" |
nightseas | 0:633cef71e6ba | 8 | |
nightseas | 0:633cef71e6ba | 9 | //Peripheral Layer Modules |
nightseas | 3:171f4d0ca77b | 10 | #include "MotHatLib.h" |
nightseas | 3:171f4d0ca77b | 11 | |
nightseas | 3:171f4d0ca77b | 12 | //Macro to enable debug serial port |
nightseas | 3:171f4d0ca77b | 13 | #define DEBUG_SERIAL |
nightseas | 3:171f4d0ca77b | 14 | |
nightseas | 3:171f4d0ca77b | 15 | #ifdef DEBUG_SERIAL |
nightseas | 3:171f4d0ca77b | 16 | #define uart_db uart_pc |
nightseas | 3:171f4d0ca77b | 17 | #else |
nightseas | 3:171f4d0ca77b | 18 | #define uart_db uart_dummy |
nightseas | 3:171f4d0ca77b | 19 | #endif |