setup to directly define the AVR device type. Fixes issues with the 'io.h' library

This commit is contained in:
jakeg00dwin 2024-04-10 11:21:21 -07:00
parent 87f1b739a0
commit dee8610be5
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,8 @@ set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True) set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_FLAGS "-Wall -Werror -Wpedantic") set(CMAKE_CXX_FLAGS "-Wall -Werror -Wpedantic")
#Define the device type
add_definitions(-D__AVR_ATtiny13A__)
# ####################################### # #######################################
# TESTING STUFF # TESTING STUFF