2016-06-09 02:32:06 +03:00
|
|
|
# Main code build rules
|
|
|
|
|
2019-07-24 08:09:45 +03:00
|
|
|
src-y += sched.c command.c basecmd.c debugcmds.c
|
2021-02-04 18:07:13 +03:00
|
|
|
src-$(CONFIG_HAVE_GPIO) += initial_pins.c gpiocmds.c stepper.c endstop.c \
|
|
|
|
trsync.c
|
2016-06-09 02:32:06 +03:00
|
|
|
src-$(CONFIG_HAVE_GPIO_ADC) += adccmds.c
|
2023-06-08 18:20:59 +03:00
|
|
|
src-$(CONFIG_HAVE_GPIO_SPI) += spicmds.c
|
2023-02-21 03:52:36 +03:00
|
|
|
src-$(CONFIG_HAVE_GPIO_SDIO) += sdiocmds.c
|
2018-10-26 10:37:21 +03:00
|
|
|
src-$(CONFIG_HAVE_GPIO_I2C) += i2ccmds.c
|
2016-06-09 02:44:34 +03:00
|
|
|
src-$(CONFIG_HAVE_GPIO_HARD_PWM) += pwmcmds.c
|
2023-06-08 18:20:59 +03:00
|
|
|
|
|
|
|
src-$(CONFIG_WANT_GPIO_BITBANGING) += buttons.c tmcuart.c neopixel.c \
|
|
|
|
pulse_counter.c
|
|
|
|
src-$(CONFIG_WANT_DISPLAYS) += lcd_st7920.c lcd_hd44780.c
|
|
|
|
src-$(CONFIG_WANT_SOFTWARE_SPI) += spi_software.c
|
|
|
|
src-$(CONFIG_WANT_SOFTWARE_I2C) += i2c_software.c
|
|
|
|
sensors-src-$(CONFIG_HAVE_GPIO_SPI) := thermocouple.c sensor_adxl345.c \
|
|
|
|
sensor_angle.c
|
|
|
|
sensors-src-$(CONFIG_HAVE_GPIO_I2C) += sensor_mpu9250.c
|
|
|
|
src-$(CONFIG_WANT_SENSORS) += $(sensors-src-y)
|