You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.0 KiB

5 months ago
/** \file board_config.h */
#if !defined(BOARD_CONFIG_H__F1656892_AD9D_4187_8FC7_917D59CAB6DB__INCLUDED_)
#define BOARD_CONFIG_H__F1656892_AD9D_4187_8FC7_917D59CAB6DB__INCLUDED_
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stddef.h>
#include <math.h>
#include <stdbool.h>
#include <assert.h>
#include "max32660.h"
#include "mxc_errors.h"
#include "mxc_sys.h"
#include "mxc_delay.h"
#include "nvic_table.h"
5 months ago
#include "i2c.h"
#include "gpio.h"
#include "tmr.h"
#include "lp.h"
#include "flc.h"
#include "uart.h"
#include "icc.h"
#include "wdt.h"
#include "define.h"
#include "system_func.h"
5 months ago
#define millis() SystemTimer_Get_TickCount()
#define SYSTEM_TIMER_INSTANCE MXC_TMR1
//////////////////////////////////////////
// printf use
//
#define APP_UART_INSTANCE MXC_UART1
#define APP_UART_ALTERNATE MAP_A
#define APP_UART_BUADRATE 115200
#define APP_UART_TX_BUFFER_SIZE 512
#define APP_UART_RX_BUFFER_SIZE 128
5 months ago
#endif