Doc: Created meaningful readme

This commit is contained in:
2022-03-19 22:38:28 +01:00
parent eefcd3af81
commit 4d6489e260
2 changed files with 51 additions and 4 deletions

View File

@@ -6,8 +6,9 @@ project(vfdprog C)
set(CMAKE_C_COMPILER avr-gcc)
set(OBJCOPY avr-objcopy)
set(TARGET_CPU atmega88)
set(F_CPU 8000000UL)
add_compile_definitions("__AVR_${TARGET_CPU}__" "F_CPU=8000000UL")
add_compile_definitions("__AVR_${TARGET_CPU}__" "F_CPU=${F_CPU}")
include_directories(/usr/lib/avr/include)
set(CMAKE_C_FLAGS "-Os -mcall-prologues -mmcu=${TARGET_CPU} -Wall")