AKBONE 2019년판 개발 환경 설정
AKBONE 소개
AKBONE은 일본 안드로이드의 회 아키하바라 지부 로봇부가 개발하고 있는 트레이닝 킷입니다.
원래 버전의 Ardublock htp : // bg. 아 rb ぉ ck. 이 m을 사용하여 Portable 환경으로 배포합니다.
거의 매년마다 사용 보드를 갱신하고 있어, 2019년판은 이하의 구성으로 되어 있습니다.
AKBONE Release7 (타겟 보드: STM32 Cleaner/STM32F103VBT6 + ST-LinkV2)
이 기사에서는 AKBONE 2019년 버전인 Release7의 개발 환경에 대해 설명합니다.
 설치한 것
도서관
USBComposite는 하지 않아도 좋다.
설정 방법
Arduino 1.8.10 버전
아래에서 다운로드.
 htps //w w. 아르즈이의. C / En / Main / 그 f와
Windows/Mac/Linux 중 하나. 덧붙여 Wndows 요점은는 ZIP판을 이용한다.
다운로드한 것을 펼친다.
폴더 이름 Arduino-1.8.10_AKBONE에 저장합니다.
이 폴더 안에 다음과 같은 것이 있게 한다.
 lib        revisions.txt
arduino                  hardware    libraries  tools
arduino-builder          install.sh  tools-builder
...
 휴대용 설정
portable 폴더를 Arduino-1.8.10_AKBONE 내에 작성.
Mac 사용자는 권말의 "Mac에서 휴대용 환경 설정"을 참조하십시오.
 부팅
Arduino-1.8.10_AKBONE 폴더에서 Arduino를 두 번 클릭하여 시작
 STM32_Arduino 설정
 라이브러리 설정
 덤 1 트러블 슛
이것을 하려고 하면 여러가지 에러가 되었다.
 

/home/nanbuwks/Downloads/ardublock/arduino/linux64/arduino-1.8.10_AKBONE/libraries/TFT/src/utility/Adafruit_ST7735.h:30:26: fatal error: avr/pgmspace.h: No such file or directory
compilation terminated.
와 나간다.
https://github.com/SodaqMoja/Sodaq_DS3231/issues/5
이것을 참고로,
#if (defined(__AVR__))
#include <avr\pgmspace.h>
#else
#include <pgmspace.h>
#endif
로 설정했다.
/home/nanbuwks/Downloads/ardublock/arduino/linux64/arduino-1.8.10_AKBONE/libraries/TFT/src/utility/glcdfont.c:3:20: fatal error: avr/io.h: No such file or directory
compilation terminated.
또한 에러가 계속되므로 동일하게 고치는 것.
 덤 2 Mac에서 휴대용 환경 설정
(아래와 같이 했지만 작동하지 않았습니다. 다음 디버깅을 위해 남겨 둡니다)
``
cd ~/...(폴더를 만든 위치로 이동).../arduino-1.8.10_AKBONE
cp -r/usr/local/arduino ./
``
다음으로 다음 쉘 스크립트 작성 및 실행
touch arduinoportable.command
chmod arduinoportable.command
#!/bin/bash
export PATH_Backup=$PATH
export PATH=(...):$PATH
~/...(フォルダを作った場所に移動).../arduino-1.8.10_AKBONE
./arduino
                
                    
        
    
    
    
    
    
                
                
                
                
                    
                        
                            
                            
                            Reference
                            
                            이 문제에 관하여(AKBONE 2019년판 개발 환경 설정), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
                                
                                https://qiita.com/nanbuwks/items/a38ff0331cad41106695
                            
                            
                            
                                텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                            
                            
                                
                                
                                 우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                            
                            
                        
                    
                
                
                
            
 lib        revisions.txt
arduino                  hardware    libraries  tools
arduino-builder          install.sh  tools-builder
...
이것을 하려고 하면 여러가지 에러가 되었다.


/home/nanbuwks/Downloads/ardublock/arduino/linux64/arduino-1.8.10_AKBONE/libraries/TFT/src/utility/Adafruit_ST7735.h:30:26: fatal error: avr/pgmspace.h: No such file or directory
compilation terminated.
와 나간다.
https://github.com/SodaqMoja/Sodaq_DS3231/issues/5
이것을 참고로,
#if (defined(__AVR__))
#include <avr\pgmspace.h>
#else
#include <pgmspace.h>
#endif
로 설정했다.
/home/nanbuwks/Downloads/ardublock/arduino/linux64/arduino-1.8.10_AKBONE/libraries/TFT/src/utility/glcdfont.c:3:20: fatal error: avr/io.h: No such file or directory
compilation terminated.
또한 에러가 계속되므로 동일하게 고치는 것.
덤 2 Mac에서 휴대용 환경 설정
(아래와 같이 했지만 작동하지 않았습니다. 다음 디버깅을 위해 남겨 둡니다)
``
cd ~/...(폴더를 만든 위치로 이동).../arduino-1.8.10_AKBONE
cp -r/usr/local/arduino ./
``
다음으로 다음 쉘 스크립트 작성 및 실행
touch arduinoportable.command
chmod arduinoportable.command
#!/bin/bash
export PATH_Backup=$PATH
export PATH=(...):$PATH
~/...(フォルダを作った場所に移動).../arduino-1.8.10_AKBONE
./arduino
                
                    
        
    
    
    
    
    
                
                
                
                
                    
                        
                            
                            
                            Reference
                            
                            이 문제에 관하여(AKBONE 2019년판 개발 환경 설정), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
                                
                                https://qiita.com/nanbuwks/items/a38ff0331cad41106695
                            
                            
                            
                                텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                            
                            
                                
                                
                                 우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)
                            
                            
                        
                    
                
                
                
            
touch arduinoportable.command
chmod arduinoportable.command
#!/bin/bash
export PATH_Backup=$PATH
export PATH=(...):$PATH
~/...(フォルダを作った場所に移動).../arduino-1.8.10_AKBONE
./arduino
Reference
이 문제에 관하여(AKBONE 2019년판 개발 환경 설정), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/nanbuwks/items/a38ff0331cad41106695텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                                
                                
                                
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)