Skip to content

Python Module for SConstruct files to work with arduino better.

Notifications You must be signed in to change notification settings

AstraLuma/sconsduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sconsduino

If you want to use Arduino libraries with a normal editor, this module may be for you.

Install this, and you can use an SConstruct file similar to:

from sconsduino.teensy import Teensy

env = Environment()

board = Teensy(
	version=3.1,
	env=env,
	build_dir='bin',
)

# Set to 24000000, 48000000, or 96000000 to set CPU core speed
board.cpu(speed=96000000)

# (Teensy)
# For key layouts, set to US_ENGLISH, CANADIAN_FRENCH, CANADIAN_MULTILINGUAL, DANISH, FINNISH, FRENCH, FRENCH_BELGIAN, FRENCH_SWISS, 
# GERMAN, GERMAN_MAC, GERMAN_SWISS, ICELANDIC, IRISH, ITALIAN, NORWEGIAN, PORTUGUESE, PORTUGUESE_BRAZILIAN, SPANISH, SPANISH_LATIN_AMERICA, 
# SWEDISH, TURKISH, UNITED_KINGDOM, US_INTERNATIONAL
board.layout('US_ENGLISH')

# (Teensy)
board.usb_mode('SERIAL')

board.sketch('blinky')

Supported Boards

  • Teensy 3/3.1
  • Bare ATMEGA328 (very similar to an uno)
  • Arduino Pro Mini

About

Python Module for SConstruct files to work with arduino better.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages