nCube:Thyme for Arduino Development Environment Setup with Atom (PlatformIO IDE) (Korean) - IoTKETI/nCube-Thyme-Arduino GitHub Wiki

nCube:Thyme for Arduino Development Environment Setup with Atom (PlatformIO IDE)

์•„๋‘์ด๋…ธ ๋ณด๋“œ์˜ ๊ฐœ๋ฐœํ™˜๊ฒฝ์œผ๋กœ์„œ ๋ณดํ†ต Arduino IDE ๋˜๋Š”, PlatformIO IDE๊ฐ€ ์‚ฌ์šฉ๋œ๋‹ค.
์ด์ค‘, PlatformIO IDE๊ฐ€ ๊ฐ€์ง€๋Š” ์ด์ ์€ ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค :

  • 400๊ฐœ ์ด์ƒ์˜ ์ž„๋ฒ ๋””๋“œ ๋ณด๋“œ ํ˜ธํ™˜์„ฑ.
  • ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๊ด€๋ฆฌ, intelligence code completion, and smart code linter. ์ด๋Ÿฌํ•œ ์ด์ ์„ ๊ฐ€์ง€๋Š” PlatformIO IDE์˜ ์„ค์น˜์— ๋Œ€ํ•œ ๊ฐ€์ด๋“œ๋ฅผ ์ด ํŽ˜์ด์ง€์—์„œ ์ œ๊ณตํ•œ๋‹ค.

Atom Editor and PlatformIO IDE installation

Atom Editor installation

Atom Editor ๋Š” Github์— ์˜ํ•ด ๊ฐœ๋ฐœ๋˜์—ˆ์œผ๋ฉฐ, ๋ฌด๋ฃŒ๋กœ ๋ฐฐํฌ๋˜๊ณ ์žˆ๋‹ค. package๋“ค์„ ์„ค์น˜ํ•˜์—ฌ ๋‹ค์–‘ํ•œ ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ•  ์ˆ˜ ์žˆ๊ธฐ๋„ ํ•˜๋‹ค.
๋˜ํ•œ, HTML, CSS, JavaScript์™€ ๊ฐ™์€ ์›น ๊ธฐ์ˆ ๋กœ ๊ฐœ๋ฐœ๋˜์—ˆ๊ธฐ ๋•Œ๋ฌธ์— UI๋ฅผ ๊ฐ„ํŽธํ•˜๊ฒŒ ํŽธ์ง‘ํ•  ์ˆ˜ ์žˆ๋‹ค.

Atom Editor official web site์—์„œ, ๊ฐœ๋ฐœํ™˜๊ฒฝ์˜ OS์— ๋งž๋Š” ์„ค์น˜ํŒŒ์ผ์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์„ ์ˆ˜ ์žˆ๋‹ค.


Atom Editor๋Š” ์„ค์น˜๊ฐ€ ๋๋‚œ๋’ค ์ž๋™์œผ๋กœ ์‹คํ–‰๋œ๋‹ค.

PlatformIO IDE installation


Atom Editor์˜ File ํƒญ, Settings ๋ฉ”๋‰ด๋กœ ๋“ค์–ด๊ฐ€ install ๋ฉ”๋‰ด ๋ฒ„ํŠผ์„ ํด๋ฆญํ•œ๋‹ค.


์œ„์˜ ๊ทธ๋ฆผ๊ณผ ๊ฐ™์ด platformio-ide ํŒจํ‚ค์ง€๋ฅผ ๊ฒ€์ƒ‰ํ•˜๊ณ  ์„ค์น˜ํ•œ๋‹ค.

Intelligence Code Completion๊ธฐ๋Šฅ์„ ์œ„ํ•ด Clang์ด ์š”๊ตฌ๋œ๋‹ค. LLVM official web site์—์„œ LLVM 3.9.1 ๋ฒ„์ „์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›๊ณ , ์„ค์น˜ํ•œ๋‹ค.
LLVM ์„ค์น˜์™€ Intelligence Code Completion์— ๋Œ€ํ•œ ๋” ์ž์„ธํ•œ ์ •๋ณด๋Š” PlatformIO installation guide document์—์„œ ์–ป์„ ์ˆ˜ ์žˆ๋‹ค.

nCube:Thyme for Arduino application development environment setup

nCube:Thyme for Arduino libraries downloading


https://github.com/IoTKETI/nCube-Thyme-Arduino
์œ„์˜ nCube:Thyme for Arduino github ํŽ˜์ด์ง€์—์„œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋“ค์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›๊ณ , ์••์ถ•์„ ํ’€์–ด์ค€๋‹ค.

New nCube:Thyme for Arduino Project Creation


Atom Editor์˜ PlatformIO ํˆด๋ฐ”์— ์žˆ๋Š” ํ™ˆ ์•„์ด์ฝ˜์„ ํด๋ฆญํ•˜๊ณ , New Project ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ์ƒˆ๋กœ์šด ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•œ๋‹ค.


Board์™€ Framework๋ฅผ ์ด์šฉ์ž์˜ ํ™˜๊ฒฝ์— ๋งž์ถฐ ์„ ํƒํ•˜๊ณ , Finish ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ ์ƒˆ๋กœ์šด ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ์„ ๋งˆ๋ฌด๋ฆฌํ•œ๋‹ค.


C:\Users\[User account]\Documents\PlatformIO\Projects
์œ„์˜ ๊ฒฝ๋กœ์—์„œ ์ƒˆ๋กœ ์ƒ์„ฑํ•œ ํ”„๋กœ์ ํŠธ๋ฅผ ์ฐพ์„ ์ˆ˜ ์žˆ์œผ๋ฉฐ, Atom Editor๋กœ ํ”„๋กœ์ ํŠธ๋ฅผ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ ์œ„ํ•ด Fileํƒญ์˜ Add Project Folder ๋ฉ”๋‰ด๋ฅผ ํด๋ฆญํ•˜์—ฌ ํ”„๋กœ์ ํŠธ๋ฅผ ๋ถˆ๋Ÿฌ์˜จ๋‹ค.

nCube:Thyme for Arduino libraries importing


์œ„์—์„œ ๋‹ค์šด๋กœ๋“œ ๋ฐ›๊ณ  ์••์ถ•์„ ํ’€์–ด๋‘์—ˆ๋˜ nCube:Thyme for Arduino ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋“ค์„
C:\Users\[User account]\Documents\PlatformIO\Projects\[Project name created]\lib ๋””๋ ‰ํ† ๋ฆฌ ์•„๋ž˜๋กœ ์˜ฏ๊ฒจ์ค€๋‹ค.

โš ๏ธ **GitHub.com Fallback** โš ๏ธ