#ifndef __BOARD_H
#define __BOARD_H

#include <aery32/all.h>

#define ADC_VREF 3.0
#define ADC_BITS 10

namespace board {

	void init(void);

	inline double cnv_to_volt(unsigned int cnv)
	{
		return cnv * (ADC_VREF / (1UL << ADC_BITS));
	}

} /* end of namespace board */

#endif

#ifndef __BOARD_H
#define __BOARD_H

#define ADC_VREF 3.0
#define ADC_BITS 10

namespace board {

	void init(void);

	inline double cnv_to_volt(unsigned int cnv)
	{
		return cnv * (ADC_VREF / (1UL << ADC_BITS));
	}

} /* end of namespace board */

#endif

Remove unnecessary include of aery32/all.h
Remove unnecessary include of aery32/all.h