24 lines
372 B
C++
24 lines
372 B
C++
#pragma GCC optimize ("-O3")
|
|
|
|
#include <Arduino.h>
|
|
|
|
#include "Config.h"
|
|
|
|
#include "Board.h"
|
|
#include "Uci.h"
|
|
|
|
void setup() {
|
|
// put your setup code here, to run once:
|
|
Board::init();
|
|
Serial.begin(115200);
|
|
pinMode(LED_BUILTIN, OUTPUT);
|
|
//debug_check();
|
|
//perft_test();
|
|
//bench();
|
|
}
|
|
|
|
void loop() {
|
|
// put your main code here, to run repeatedly:
|
|
Uci::handle_uci();
|
|
}
|