Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile. #3

Open
ichirowo opened this issue Apr 3, 2021 · 0 comments
Open

Unable to compile. #3

ichirowo opened this issue Apr 3, 2021 · 0 comments

Comments

@ichirowo
Copy link

ichirowo commented Apr 3, 2021

I followed the documentation to compile CH552_Interface.ino, but I get an error.

This is what it shows on error.
Can you tell me the cause?
I am compiling on Windows 10.

Arduino:1.8.13 (Windows 10), ボード:"CH552"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\user\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\user\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\user\Documents\Arduino\libraries -fqbn=CH55xDuino:ch55x:CH552uC -ide-version=10813 -build-path C:\Users\user\AppData\Local\Temp\arduino_build_837423 -warnings=none -build-cache C:\Users\user\AppData\Local\Temp\arduino_cache_13956 -prefs=build.warn_data_percentage=75 -verbose C:\Users\user\Downloads\CH_HID_Arduino-master\CH_HID_Arduino-master\examples\CH552_Interface\CH552_Interface.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\user\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\user\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\user\Documents\Arduino\libraries -fqbn=CH55xDuino:ch55x:CH552uC -ide-version=10813 -build-path C:\Users\user\AppData\Local\Temp\arduino_build_837423 -warnings=none -build-cache C:\Users\user\AppData\Local\Temp\arduino_cache_13956 -prefs=build.warn_data_percentage=75 -verbose C:\Users\user\Downloads\CH_HID_Arduino-master\CH_HID_Arduino-master\examples\CH552_Interface\CH552_Interface.ino

Using board 'CH552uC' from platform in folder: C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x\0.1.0

Using core 'ch55x' from platform in folder: C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x\0.1.0

Detecting libraries used...

"C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x/0.1.0/win/busybox" ash "C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x/0.1.0/wrapper/sdcc.sh" "C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.11630/bin/sdcc" "C:\Users\user\AppData\Local\Temp\arduino_build_837423\sketch\CH552_Interface.ino.cpp" nul -c -V -mmcs51 --model-large --xram-size 0x0400 --xram-loc 0x0100 --code-size 0x3800 -DMCUch552 -DFREQ_SYS=24000000L "-IC:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x\0.1.0\cores\ch55x" "-IC:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x\0.1.0\variants\standard" "-IC:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.11630/include" -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for compiler.h: []

ResolveLibrary(compiler.h)

-> candidates: []

C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.11630/bin/sdcc -c -V -mmcs51 --model-large --xram-size 0x0400 --xram-loc 0x0100 --code-size 0x3800 -DMCUch552 -DFREQ_SYS=24000000L -IC:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x\0.1.0\cores\ch55x -IC:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x\0.1.0\variants\standard -IC:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.11630/include -DARDUINO_LIB_DISCOVERY_PHASE C:\Users\user\AppData\Local\Temp\arduino_build_837423\sketch\CH552_Interface.ino.cpp -o nul

cpp gefunden

C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.11630/bin/sdcc -c -V -mmcs51 --model-large --xram-size 0x0400 --xram-loc 0x0100 --code-size 0x3800 -DMCUch552 -DFREQ_SYS=24000000L -IC:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x\0.1.0\cores\ch55x -IC:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x\0.1.0\variants\standard -IC:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.11630/include -DARDUINO_LIB_DISCOVERY_PHASE C:\Users\user\AppData\Local\Temp\arduino_build_837423\sketch\CH552_Interface.ino.c

In file included from C:/Users/user/AppData/Local/Arduino15/packages/CH55xDuino/hardware/ch55x/0.1.0/cores/ch55x/Arduino.h:35,

             from C:\Users\user\AppData\Local\Temp\arduino_build_837423\sketch\CH552_Interface.ino.c:2:

C:/Users/user/AppData/Local/Arduino15/packages/CH55xDuino/hardware/ch55x/0.1.0/cores/ch55x/CH554.h:16:22: fatal error: compiler.h: No such file or directory

compilation terminated.

  • C:\Users\user\AppData\Local\ARDUIN1\packages\CH55XD1\tools\sdcc\BUILD~1.116/bin\sdcpp.exe -nostdinc -Wall -std=c11 -D"MCUch552" -D"FREQ_SYS=24000000L" -I"C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x\0.1.0\cores\ch55x" -I"C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\hardware\ch55x\0.1.0\variants\standard" -I"C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.11630/include" -D"ARDUINO_LIB_DISCOVERY_PHASE" -obj-ext=.rel -D__SDCC_CHAR_UNSIGNED -D__SDCC_MODEL_LARGE -D__SDCC_FLOAT_REENT -D__SDCC=4_0_2 -D__SDCC_VERSION_MAJOR=4 -D__SDCC_VERSION_MINOR=0 -D__SDCC_VERSION_PATCH=2 -DSDCC=402 -D__SDCC_REVISION=11630 -D__SDCC_mcs51 -D__STDC_NO_COMPLEX__=1 -D__STDC_NO_THREADS__=1 -D__STDC_NO_ATOMICS__=1 -D__STDC_NO_VLA__=1 -D__STDC_ISO_10646__=201409L -D__STDC_UTF_16__=1 -D__STDC_UTF_32__=1 -isystem "C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.11630/bin..\include\mcs51" -isystem "C:\Users\user\AppData\Local\Arduino15\packages\CH55xDuino\tools\sdcc\build.11630/bin..\include" "C:\Users\user\AppData\Local\Temp\arduino_build_837423\sketch\CH552_Interface.ino.c"

cp: can't stat 'nul': No such file or directory

exit status 1

ボードCH552に対するコンパイル時にエラーが発生しました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant