summaryrefslogtreecommitdiff
path: root/src/compile_commands.json
diff options
context:
space:
mode:
authorBrett Weiland <brett_weiland@bpcsapce.com>2023-01-24 14:58:52 -0600
committerBrett Weiland <brett_weiland@bpcsapce.com>2023-01-24 14:58:52 -0600
commita5984050eb556741ef40792d6335b7f65fa1eb4f (patch)
treeaaf870b1558d6b40369f481443c4ce768f9b76be /src/compile_commands.json
parentb666668d0e6b67e4632e65486cae814ab5abbc39 (diff)
started fixing makefile, created test function
Diffstat (limited to 'src/compile_commands.json')
-rw-r--r--src/compile_commands.json120
1 files changed, 67 insertions, 53 deletions
diff --git a/src/compile_commands.json b/src/compile_commands.json
index 7646b7a..67f3d54 100644
--- a/src/compile_commands.json
+++ b/src/compile_commands.json
@@ -3,16 +3,17 @@
"directory": "/home/indigo/projects/watch/src",
"arguments": [
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/bin/avr-gcc",
- "-v",
- "-mmcu=atmega2560",
+ "-c",
"-I",
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/avr/include",
- "-o",
- "compiled_payload",
+ "-mmcu=atmega2560",
+ "-DDEBUG_BUILD=1",
"-DBAUD=9600",
"-DF_CPU=16000000",
"-Wall",
"-O1",
+ "-o",
+ "build/main.o",
"main.c"
],
"file": "main.c"
@@ -21,21 +22,18 @@
"directory": "/home/indigo/projects/watch/src",
"arguments": [
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/bin/avr-gcc",
- "-lc",
- "-mmcu=atmega2560",
+ "-c",
"-I",
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/avr/include",
- "-o",
- "compiled_payload.elf",
+ "-mmcu=atmega2560",
"-DDEBUG_BUILD=1",
"-DBAUD=9600",
"-DF_CPU=16000000",
"-Wall",
"-O1",
- "main.c",
- "debug_serial.c",
- "i2c.c",
- "ssd1306_driver.h"
+ "-o",
+ "build/i2c.o",
+ "i2c.c"
],
"file": "i2c.c"
},
@@ -43,22 +41,18 @@
"directory": "/home/indigo/projects/watch/src",
"arguments": [
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/bin/avr-gcc",
- "-mmcu=atmega2560",
+ "-c",
"-I",
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/avr/include",
- "-o",
- "compiled_payload.elf",
+ "-mmcu=atmega2560",
"-DDEBUG_BUILD=1",
"-DBAUD=9600",
"-DF_CPU=16000000",
"-Wall",
"-O1",
- "main.c",
- "debug.c",
- "i2c.c",
- "ssd1306_driver.c",
- "uart.c",
- "-Wall"
+ "-o",
+ "build/uart.o",
+ "uart.c"
],
"file": "uart.c"
},
@@ -66,23 +60,18 @@
"directory": "/home/indigo/projects/watch/src",
"arguments": [
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/bin/avr-gcc",
- "-mmcu=atmega2560",
+ "-c",
"-I",
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/avr/include",
- "-o",
- "compiled_payload.elf",
+ "-mmcu=atmega2560",
"-DDEBUG_BUILD=1",
"-DBAUD=9600",
"-DF_CPU=16000000",
"-Wall",
"-O1",
- "main.c",
- "debug.c",
- "i2c.c",
- "ssd1306_display_driver.c",
- "uart.c",
- "br24t_eeprom_driver.c",
- "-Wall"
+ "-o",
+ "build/br24t_eeprom_driver.o",
+ "br24t_eeprom_driver.c"
],
"file": "br24t_eeprom_driver.c"
},
@@ -90,24 +79,18 @@
"directory": "/home/indigo/projects/watch/src",
"arguments": [
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/bin/avr-gcc",
- "-mmcu=atmega2560",
+ "-c",
"-I",
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/avr/include",
- "-o",
- "compiled_payload.elf",
+ "-mmcu=atmega2560",
"-DDEBUG_BUILD=1",
"-DBAUD=9600",
"-DF_CPU=16000000",
"-Wall",
"-O1",
- "main.c",
- "debug.c",
- "i2c.c",
- "ssd1306_display_driver.c",
- "uart.c",
- "br24t_eeprom_driver.c",
- "paint.c",
- "-Wall"
+ "-o",
+ "build/paint.o",
+ "paint.c"
],
"file": "paint.c"
},
@@ -115,26 +98,57 @@
"directory": "/home/indigo/projects/watch/src",
"arguments": [
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/bin/avr-gcc",
+ "-c",
+ "-I",
+ "/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/avr/include",
"-mmcu=atmega2560",
+ "-DDEBUG_BUILD=1",
+ "-DBAUD=9600",
+ "-DF_CPU=16000000",
+ "-Wall",
+ "-O1",
+ "-o",
+ "build/pcf_clock_driver.o",
+ "pcf_clock_driver.c"
+ ],
+ "file": "pcf_clock_driver.c"
+ },
+ {
+ "directory": "/home/indigo/projects/watch/src",
+ "arguments": [
+ "/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/bin/avr-gcc",
+ "-c",
"-I",
"/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/avr/include",
+ "-mmcu=atmega2560",
+ "-DDEBUG_BUILD=1",
+ "-DBAUD=9600",
+ "-DF_CPU=16000000",
+ "-Wall",
+ "-O1",
"-o",
- "compiled_payload.elf",
+ "build/debug.o",
+ "debug.c"
+ ],
+ "file": "debug.c"
+ },
+ {
+ "directory": "/home/indigo/projects/watch/src",
+ "arguments": [
+ "/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/bin/avr-gcc",
+ "-c",
+ "-I",
+ "/home/indigo/packs/avr8-gnu-toolchain-linux_x86_64/avr/include",
+ "-mmcu=atmega2560",
"-DDEBUG_BUILD=1",
"-DBAUD=9600",
"-DF_CPU=16000000",
"-Wall",
"-O1",
- "main.c",
- "debug.c",
- "i2c.c",
- "ssd1306_display_driver.c",
- "uart.c",
- "br24t_eeprom_driver.c",
- "paint.c",
- "pcf_clock_driver.c",
- "-Wall"
+ "-o",
+ "build/ssd1306_display_driver.o",
+ "ssd1306_display_driver.c"
],
- "file": "pcf_clock_driver.c"
+ "file": "ssd1306_display_driver.c"
}
]