Commit 45b71964 authored by Hermann Mayer's avatar Hermann Mayer
Browse files

Initial Commit.

parents
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+3 −0
Original line number Diff line number Diff line
/build/*
/tags

CMakeConfig.cmake

0 → 100644
+45 −0
Original line number Diff line number Diff line
SET(CMAKE_SYSTEM_NAME Generic)

SET(CMAKE_C_COMPILER avr-gcc)
SET(CMAKE_CXX_COMPILER avr-g++)


SET(CSTANDARD "-std=gnu99")
#SET(CDEBUG "-gstabs")
SET(CWARN "-Wall -Wstrict-prototypes")
SET(CTUNING "-funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums")
SET(COPT "-Os")
SET(CINCS "-I${CMAKE_SOURCE_DIR}/src/lib/arduino")
SET(CMCU "-mmcu=atmega328p")
SET(CDEFS "-DF_CPU=16000000")
SET(CFLAGS "${CMCU} ${CDEBUG} ${CDEFS} ${CINCS} ${COPT} ${CWARN} ${CSTANDARD} ${CEXTRA} ${CTUNING}")


SET(CXXSTANDARD "")
#SET(CDEBUG "-gstabs")
SET(CXXWARN "-Wall")
SET(CXXTUNING "-funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -Wl,--gc-sections -fno-exceptions --pedantic")
SET(CXXOPT "-Os")
SET(CXXINCS "-I${CMAKE_SOURCE_DIR}/src/lib/arduino")
SET(CXXMCU "-mmcu=atmega328p")
SET(CXXDEFS "-DF_CPU=16000000")
SET(CXXFLAGS "${CXXMCU} ${CXXDEBUG} ${CXXDEFS} ${CXXINCS} ${CXXOPT} ${CXXWARN} ${CXXSTANDARD} ${CXXEXTRA} ${CXXTUNING}")


SET(CMAKE_C_FLAGS  ${CFLAGS})
SET(CMAKE_CXX_FLAGS ${CXXFLAGS})

SET(LIBRARY_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/build")
SET(EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/build")

# AVR Assembler
# AVR Compiler
# AVR C++ Compiler
# AVR C Linker
# AVR C++ Linker
# AVR Archiver
# AVR Create Extended Listing
# AVR Create Flash image
# AVR Create EEPROM image
# Print Size
# AVRDude

CMakeLists.txt

0 → 100644
+7 −0
Original line number Diff line number Diff line
cmake_minimum_required(VERSION 2.6)

Project(Slave-Stack)

add_subdirectory(src/lib/arduino)
add_subdirectory(src/lib)
add_subdirectory(src)

INSTALL.md

0 → 100644
+8 −0
Original line number Diff line number Diff line
Install Notes
=============

##Required Steps

Deploy Notes
============

LICENSE

0 → 100644
+674 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading