12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef _CONFIG_H
- #define _CONFIG_H
- #define ADC_CHAN_MSK 0b0000001001011111
- #define ADC_CHAN_CNT 7
- #define ADC_OVRSAMPL 16
- #define ADC_CALLBACK adc_ready
- #define SWI2C
- #define SWI2C_A8
- #define SWI2C_DEL 20
- #define SWI2C_TMO 2048
- #define PAT9125_SWI2C
- #define PAT9125_I2C_ADDR 0x75
- #define PAT9125_XRES 0
- #define PAT9125_YRES 240
- #define SM4_DEFDELAY 500
- #define TMC2130_SPI_RATE 0
- #define TMC2130_SPCR SPI_SPCR(TMC2130_SPI_RATE, 1, 1, 1, 0)
- #define TMC2130_SPSR SPI_SPSR(TMC2130_SPI_RATE)
- #define W25X20CL_PIN_CS 32
- #define W25X20CL_SPI_RATE 0
- #define W25X20CL_SPCR SPI_SPCR(W25X20CL_SPI_RATE, 1, 1, 1, 0)
- #define W25X20CL_SPSR SPI_SPSR(W25X20CL_SPI_RATE)
- #include "boards.h"
- #include "Configuration_prusa.h"
- #define LANG_MODE 1
- #define LANG_SIZE_RESERVED 0x2800
- #endif
|