setup to directly define the AVR device type. Fixes issues with the 'io.h' library
This commit is contained in:
parent
87f1b739a0
commit
dee8610be5
|
@ -31,7 +31,8 @@ set(CMAKE_CXX_STANDARD 11)
|
|||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Werror -Wpedantic")
|
||||
|
||||
|
||||
#Define the device type
|
||||
add_definitions(-D__AVR_ATtiny13A__)
|
||||
|
||||
# #######################################
|
||||
# TESTING STUFF
|
||||
|
|
Loading…
Reference in New Issue