summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-12-31 15:30:52 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-12-31 15:30:52 +0100
commit44c73e7330aaa7d1411a8fd48b85d1b95bdc2b6b (patch)
tree84d3efb8c107ac9410af3602e3035f8e4125b62d /src/arch
parentd3e2b724b4f924b9839f2896db4455c2564cf29d (diff)
Use CONFIG_meta_driver_hardware_i2c instead of MULTIPASS_ARCH_HAS_I2C
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arduino-nano/Makefile.inc1
-rw-r--r--src/arch/atmega2560/Makefile.inc1
-rw-r--r--src/arch/blinkenrocket/Makefile.inc1
-rw-r--r--src/arch/lora32u4ii/Makefile.inc1
-rw-r--r--src/arch/msp430fr5969lp/Makefile.inc1
-rw-r--r--src/arch/msp430fr5994lp/Makefile.inc1
-rw-r--r--src/arch/posix/Makefile.inc1
7 files changed, 0 insertions, 7 deletions
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc
index 82c3a28..c8221e4 100644
--- a/src/arch/arduino-nano/Makefile.inc
+++ b/src/arch/arduino-nano/Makefile.inc
@@ -22,7 +22,6 @@ cpu_freq ?= 16000000
COMMON_FLAGS += -Werror=overflow
COMMON_FLAGS += -mmcu=${MCU} -DMULTIPASS_ARCH_arduino_nano
COMMON_FLAGS += -DF_CPU=${cpu_freq}UL
-COMMON_FLAGS += -DMULTIPASS_ARCH_HAS_I2C
ifeq (${stack_usage}, )
COMMON_FLAGS += -flto
diff --git a/src/arch/atmega2560/Makefile.inc b/src/arch/atmega2560/Makefile.inc
index 29e6453..e404331 100644
--- a/src/arch/atmega2560/Makefile.inc
+++ b/src/arch/atmega2560/Makefile.inc
@@ -17,7 +17,6 @@ cpu_freq ?= 16000000
COMMON_FLAGS += -Werror=overflow
COMMON_FLAGS += -mmcu=${MCU} -DMULTIPASS_ARCH_atmega2560
COMMON_FLAGS += -DF_CPU=${cpu_freq}UL
-COMMON_FLAGS += -DMULTIPASS_ARCH_HAS_I2C
ifeq (${stack_usage}, )
COMMON_FLAGS += -flto
diff --git a/src/arch/blinkenrocket/Makefile.inc b/src/arch/blinkenrocket/Makefile.inc
index af8795c..4fdc130 100644
--- a/src/arch/blinkenrocket/Makefile.inc
+++ b/src/arch/blinkenrocket/Makefile.inc
@@ -9,7 +9,6 @@ SERIAL_PORT ?= /dev/ttyUSB0
COMMON_FLAGS += -mmcu=${MCU} -DF_CPU=8000000UL -DMULTIPASS_ARCH_blinkenrocket
COMMON_FLAGS += -flto
-COMMON_FLAGS += -DMULTIPASS_ARCH_HAS_I2C
CC = avr-gcc
CXX = avr-g++
diff --git a/src/arch/lora32u4ii/Makefile.inc b/src/arch/lora32u4ii/Makefile.inc
index 2cb2411..3ac2d04 100644
--- a/src/arch/lora32u4ii/Makefile.inc
+++ b/src/arch/lora32u4ii/Makefile.inc
@@ -16,7 +16,6 @@ cpu_freq ?= 8000000
COMMON_FLAGS += -Werror=overflow
COMMON_FLAGS += -mmcu=${MCU} -DMULTIPASS_ARCH_lora32u4ii
COMMON_FLAGS += -DF_CPU=${cpu_freq}UL
-COMMON_FLAGS += -DMULTIPASS_ARCH_HAS_I2C
ifeq (${stack_usage}, )
COMMON_FLAGS += -flto
diff --git a/src/arch/msp430fr5969lp/Makefile.inc b/src/arch/msp430fr5969lp/Makefile.inc
index b050f04..98e7ad3 100644
--- a/src/arch/msp430fr5969lp/Makefile.inc
+++ b/src/arch/msp430fr5969lp/Makefile.inc
@@ -17,7 +17,6 @@ MSP430_FLASHER_DIR ?= /opt/msp430/MSP430Flasher_1.3.20
INCLUDES += -I/opt/msp430/ti/msp430-gcc-full-linux-5.1.2.0/include
COMMON_FLAGS += -mcpu=${CPU} -mmcu=${MCU} -DMULTIPASS_ARCH_msp430fr5969lp
-COMMON_FLAGS += -DMULTIPASS_ARCH_HAS_I2C
# LTO seems to be broken.
diff --git a/src/arch/msp430fr5994lp/Makefile.inc b/src/arch/msp430fr5994lp/Makefile.inc
index aecf6fa..cd160a0 100644
--- a/src/arch/msp430fr5994lp/Makefile.inc
+++ b/src/arch/msp430fr5994lp/Makefile.inc
@@ -17,7 +17,6 @@ MSP430_FLASHER_DIR ?= /opt/msp430/MSP430Flasher_1.3.20
INCLUDES += -I/opt/msp430/ti/msp430-gcc-full-linux-5.1.2.0/include
COMMON_FLAGS += -mcpu=${CPU} -mmcu=${MCU} -DMULTIPASS_ARCH_msp430fr5994lp
-COMMON_FLAGS += -DMULTIPASS_ARCH_HAS_I2C
ifdef CONFIG_arch_msp430fr5994lp_large_mode
override msp430_large = 1
diff --git a/src/arch/posix/Makefile.inc b/src/arch/posix/Makefile.inc
index b06a29d..d693405 100644
--- a/src/arch/posix/Makefile.inc
+++ b/src/arch/posix/Makefile.inc
@@ -5,7 +5,6 @@
# SPDX-License-Identifier: BSD-2-Clause
COMMON_FLAGS += -DMULTIPASS_ARCH_posix
-COMMON_FLAGS += -DMULTIPASS_ARCH_HAS_I2C
CC = gcc
CXX = g++