LinkIt ONE: when I comlipe Blink example code in Arduino, meet following alarm and can not complie

警告:核心 ‘MediaTek ARM7 EJ-S (32-bits) Boards’ 中的 platform.txt 文件 包含已废弃的 recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} “{build.path}/{archive_file}” “{object_file}”,已自动转换为 recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} “{archive_file_path}” “{object_file}”。请考虑更新核心。
C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino: In function ‘void setup()’:

Blink:28:11: error: ‘LED_BUILTIN’ was not declared in this scope

pinMode(LED_BUILTIN, OUTPUT);

       ^

C:\Program Files (x86)\Arduino\examples\01.Basics\Blink\Blink.ino: In function ‘void loop()’:

Blink:33:16: error: ‘LED_BUILTIN’ was not declared in this scope

digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)

            ^

exit status 1
‘LED_BUILTIN’ was not declared in this scope

Add this as the first line of code:

#define LED_BUILTIN 13

Yes, i have had that happen to me, i simply wont use 'LED_BUILTIN; But if you use the actual pin the LED is on it will compile and run. example: pinMode(13, OUTPUT); I think it is something wrong with the library file that has not been change…

code to test:
int LED=13;
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}