Rebuild started: Project: empty_LP_MSPM0G3507_nortos_keil
*** Using Compiler 'V6.21', folder: 'D:\左猪崽\ARM\ARMCLANG\Bin'
Rebuild target 'empty_LP_MSPM0G3507_nortos_keil'
Note: source file '.\Car.c' - object file renamed from '.\Objects\Car.o' to '.\Objects\car_1.o'.
Note: source file '.\BEEP.c' - object file renamed from '.\Objects\BEEP.o' to '.\Objects\beep_1.o'.
Note: source file '.\Track.c' - object file renamed from '.\Objects\Track.o' to '.\Objects\track_1.o'.
Note: source file '.\KEY.c' - object file renamed from '.\Objects\KEY.o' to '.\Objects\key_1.o'.
Before Build - User command #1: cmd.exe /C "E:\TI\OLED2\OLED\examples\nortos\LP_MSPM0G3507\driverlib\empty\keil\../../../../../../tools/keil/syscfg.bat 'E:\TI\OLED2\OLED\examples\nortos\LP_MSPM0G3507\driverlib\empty\keil\' empty.syscfg"
Using Sysconfig Tool from "E:\TI\sysconfig_cli.bat.bat"
"Update the file located at <sdk path>/tools/keil/syscfg.bat to use a different version"
Running script...
Validating...
info: /ti/project_config/ProjectConfig deviceSpin: Note: User must select a device after migration.
Generating Code (empty.syscfg)...
Writing E:\TI\OLED2\OLED\examples\nortos\LP_MSPM0G3507\driverlib\empty\ti_msp_dl_config.c...
Unchanged E:\TI\OLED2\OLED\examples\nortos\LP_MSPM0G3507\driverlib\empty\ti_msp_dl_config.h...
Unchanged E:\TI\OLED2\OLED\examples\nortos\LP_MSPM0G3507\driverlib\empty\Event.dot...
assembling startup_mspm0g350x_uvision.s...
../empty.c(34): error: 'BEEP.h' file not found
34 | #include "BEEP.h"
| ^~~~~~~~
1 error generated.
compiling empty.c...
compiling delay.c...
compiling ti_msp_dl_config.c...
compiling board.c...
BEEP.c(1): warning: In file included from...
./BEEP.h(1): warning: extra tokens at end of #ifndef directive [-Wextra-tokens]
1 | #ifndef BEEP.h
| ^
| //
./BEEP.h(2): warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions]
2 | #define BEEP.h
| ^
BEEP.c(19): error: expected identifier or '('
19 | void BEEP(int delay, int en){
| ^
./BEEP.h(2): note: expanded from macro 'BEEP'
BEEP.c(40): error: use of undeclared identifier 'DL_GPIO_PORT_A'
40 | DL_GPIO_togglePins(BEEP_GPIO, BEEP_GPIO_PIN);// 缈昏浆鐢靛钩
| ^
./BEEP.h(4): note: expanded from macro 'BEEP_GPIO'
4 | #define BEEP_GPIO DL_GPIO_PORT_A // 浣跨敤TI椹卞姩搴撶殑瀹?
| ^
BEEP.c(41): error: use of undeclared identifier 'DL_GPIO_PORT_A'
41 | DL_GPIO_togglePins(BEEP_GPIO, BEEP_LED_PIN);// 缈昏浆鐢靛钩
| ^
./BEEP.h(4): note: expanded from macro 'BEEP_GPIO'
4 | #define BEEP_GPIO DL_GPIO_PORT_A // 浣跨敤TI椹卞姩搴撶殑瀹?
| ^
BEEP.c(49): error: use of undeclared identifier 'DL_GPIO_PORT_A'
49 | DL_GPIO_setPins(BEEP_GPIO, BEEP_GPIO_PIN);
| ^
./BEEP.h(4): note: expanded from macro 'BEEP_GPIO'
4 | #define BEEP_GPIO DL_GPIO_PORT_A // 浣跨敤TI椹卞姩搴撶殑瀹?
| ^
BEEP.c(50): error: use of undeclared identifier 'DL_GPIO_PORT_A'
50 | DL_GPIO_clearPins(BEEP_GPIO, BEEP_LED_PIN);//杈撳嚭浣庣數骞?
| ^
./BEEP.h(4): note: expanded from macro 'BEEP_GPIO'
4 | #define BEEP_GPIO DL_GPIO_PORT_A // 浣跨敤TI椹卞姩搴撶殑瀹?
| ^
2 warnings and 5 errors generated.
compiling BEEP.c...
Car.c(1): warning: extra tokens at end of #include directive [-Wextra-tokens]
1 | #include "Car.h".h"
| ^
| //
Car.c(1): warning: missing terminating '"' character [-Winvalid-pp-token]
1 | #include "Car.h".h"
| ^
2 warnings generated.
compiling Car.c...
Track.c(27): error: use of undeclared identifier 'Track_GPIO'
27 | if( DL_GPIO_readPins(Track_GPIO, Track_PIN_1) > 0 )
| ^
Track.c(27): error: use of undeclared identifier 'Track_PIN_1'
27 | if( DL_GPIO_readPins(Track_GPIO, Track_PIN_1) > 0 )
| ^
Track.c(29): error: use of undeclared identifier 'H'
29 | track[i] = H; //淇濈暀涓洪珮鐢靛钩
| ^
Track.c(34): error: use of undeclared identifier 'L'
34 | track[i] = L;//淇濈暀涓轰綆鐢靛钩
| ^
Track.c(38): error: use of undeclared identifier 'Track_GPIO'
38 | if( DL_GPIO_readPins(Track_GPIO, Track_PIN_2) > 0 )
| ^
Track.c(38): error: use of undeclared identifier 'Track_PIN_2'
38 | if( DL_GPIO_readPins(Track_GPIO, Track_PIN_2) > 0 )
| ^
Track.c(40): error: use of undeclared identifier 'H'
40 | track[i] = H; //淇濈暀涓洪珮鐢靛钩
| ^
Track.c(45): error: use of undeclared identifier 'L'
45 | track[i] = L;//淇濈暀涓轰綆鐢靛钩
| ^
Track.c(50): error: use of undeclared identifier 'Track_GPIO'
50 | if( DL_GPIO_readPins(Track_GPIO, Track_PIN_3) > 0 )
| ^
Track.c(50): error: use of undeclared identifier 'Track_PIN_3'
50 | if( DL_GPIO_readPins(Track_GPIO, Track_PIN_3) > 0 )
| ^
Track.c(52): error: use of undeclared identifier 'H'
52 | track[i] = H; //淇濈暀涓洪珮鐢靛钩
| ^
Track.c(57): error: use of undeclared identifier 'L'
57 | track[i] = L;//淇濈暀涓轰綆鐢靛钩
| ^
Track.c(61): error: use of undeclared identifier 'Track_GPIO'
61 | if( DL_GPIO_readPins(Track_GPIO, Track_PIN_4) > 0 )
| ^
Track.c(61): error: use of undeclared identifier 'Track_PIN_4'
61 | if( DL_GPIO_readPins(Track_GPIO, Track_PIN_4) > 0 )
| ^
Track.c(63): error: use of undeclared identifier 'H'
63 | track[i] = H; //淇濈暀涓洪珮鐢靛钩
| ^
Track.c(68): error: use of undeclared identifier 'L'
68 | track[i] = L;//淇濈暀涓轰綆鐢靛钩
| ^
Track.c(73): error: use of undeclared identifier 'Track_GPIO'
73 | if( DL_GPIO_readPins(Track_GPIO, Track_PIN_5) > 0 )
| ^
Track.c(73): error: use of undeclared identifier 'Track_PIN_5'
73 | if( DL_GPIO_readPins(Track_GPIO, Track_PIN_5) > 0 )
| ^
Track.c(75): error: use of undeclared identifier 'H'
75 | track[i] = H; //淇濈暀涓洪珮鐢靛钩
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
compiling Track.c...
compiling oled.c...
KEY.c(26): error: use of undeclared identifier 'KEY_GPIO'
26 | if( DL_GPIO_readPins(KEY_GPIO, KEY1) > 0 )
| ^
KEY.c(26): error: use of undeclared identifier 'KEY1'
26 | if( DL_GPIO_readPins(KEY_GPIO, KEY1) > 0 )
| ^
KEY.c(33): error: use of undeclared identifier 'KEY_GPIO'
33 | if( DL_GPIO_readPins(KEY_GPIO, KEY1) > 0 )
| ^
KEY.c(33): error: use of undeclared identifier 'KEY1'
33 | if( DL_GPIO_readPins(KEY_GPIO, KEY1) > 0 )
| ^
KEY.c(41): error: use of undeclared identifier 'KEY_GPIO'
41 | if( DL_GPIO_readPins(KEY_GPIO, KEY2) > 0 )
| ^
KEY.c(41): error: use of undeclared identifier 'KEY2'
41 | if( DL_GPIO_readPins(KEY_GPIO, KEY2) > 0 )
| ^
KEY.c(48): error: use of undeclared identifier 'KEY_GPIO'
48 | if( DL_GPIO_readPins(KEY_GPIO, KEY2) > 0 )
| ^
KEY.c(48): error: use of undeclared identifier 'KEY2'
48 | if( DL_GPIO_readPins(KEY_GPIO, KEY2) > 0 )
| ^
KEY.c(58): error: use of undeclared identifier 'KEY_GPIO'
58 | if( DL_GPIO_readPins(KEY_GPIO, KEY3) > 0 )
| ^
KEY.c(58): error: use of undeclared identifier 'KEY3'
58 | if( DL_GPIO_readPins(KEY_GPIO, KEY3) > 0 )
| ^
KEY.c(65): error: use of undeclared identifier 'KEY_GPIO'
65 | if( DL_GPIO_readPins(KEY_GPIO, KEY3) > 0 )
| ^
KEY.c(65): error: use of undeclared identifier 'KEY3'
65 | if( DL_GPIO_readPins(KEY_GPIO, KEY3) > 0 )
| ^
KEY.c(75): error: use of undeclared identifier 'KEY_GPIO'
75 | if( DL_GPIO_readPins(KEY_GPIO, KEY4) > 0 )
| ^
KEY.c(75): error: use of undeclared identifier 'KEY4'
75 | if( DL_GPIO_readPins(KEY_GPIO, KEY4) > 0 )
| ^
KEY.c(82): error: use of undeclared identifier 'KEY_GPIO'
82 | if( DL_GPIO_readPins(KEY_GPIO, KEY4) > 0 )
| ^
KEY.c(82): error: use of undeclared identifier 'KEY4'
82 | if( DL_GPIO_readPins(KEY_GPIO, KEY4) > 0 )
| ^
KEY.c(92): error: use of undeclared identifier 'KEY_GPIO'
92 | if( DL_GPIO_readPins(KEY_GPIO, KEY5) > 0 )
| ^
KEY.c(92): error: use of undeclared identifier 'KEY5'
92 | if( DL_GPIO_readPins(KEY_GPIO, KEY5) > 0 )
| ^
KEY.c(99): error: use of undeclared identifier 'KEY_GPIO'
99 | if( DL_GPIO_readPins(KEY_GPIO, KEY5) > 0 )
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
compiling KEY.c...
".\Objects\empty_LP_MSPM0G3507_nortos_keil.axf" - 44 Error(s), 4 Warning(s).
Target not created.
Build Time Elapsed: 00:00:03