Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include "board.h"
- #include "peripherals.h"
- #include "pin_mux.h"
- #include "clock_config.h"
- #include "MKL03Z4.h"
- #include "fsl_debug_console.h"
- /* TODO: insert other include files here. */
- /* TODO: insert other definitions and declarations here. */
- /*
- * @brief Application entry point.
- */
- int main(void) {
- /* Init board hardware. */
- BOARD_InitBootPins();
- BOARD_InitBootClocks();
- BOARD_InitBootPeripherals();
- /* Init FSL debug console. */
- BOARD_InitDebugConsole();
- PRINTF("Hello Worldn");
- /* Force the counter to be placed into memory. */
- volatile static int i = 0 ;
- /* Enter an infinite loop, just incrementing a counter. */
- while(1) {
- i++ ;
- }
- return 0 ;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement