diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/rusefi-hardware.iml b/.idea/rusefi-hardware.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/rusefi-hardware.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/SENT-box/firmware/io/io_pins.h b/SENT-box/firmware/io/io_pins.h index 46274ee..667965d 100644 --- a/SENT-box/firmware/io/io_pins.h +++ b/SENT-box/firmware/io/io_pins.h @@ -4,8 +4,8 @@ #define LED_BLUE_PIN 13 #define LL_LED_BLUE_PIN LL_GPIO_PIN_13 -#define LED_GREEN_PORT GPIOA -#define LED_GREEN_PIN 8 +//#define LED_GREEN_PORT GPIOA +//#define LED_GREEN_PIN 8 // Communication - UART #define UART_GPIO_PORT GPIOA @@ -16,38 +16,3 @@ #define CAN_GPIO_PORT GPIOA #define LL_CAN_TX_PIN LL_GPIO_PIN_12 #define LL_CAN_RX_PIN LL_GPIO_PIN_11 - -// LSU 4.2 - 6.8K -#define NERNST_42_ESR_DRIVER_PORT GPIOB -#define NERNST_42_ESR_DRIVER_PIN 12 - -// LSU 4.9 - 22K -#define NERNST_ESR_DRIVER_PORT GPIOB -#define NERNST_ESR_DRIVER_PIN 11 - -// LSU ADV - 47K -#define NERNST_ADV_ESR_DRIVER_PORT GPIOB -#define NERNST_ADV_ESR_DRIVER_PIN 10 - -// PB6 TIM4_CH1 -#define HEATER_PWM_DEVICE PWMD4 -#define HEATER_PWM_CHANNEL_0 0 - -// PA1 TIM2_CH2 -#define PUMP_DAC_PWM_DEVICE PWMD2 -#define PUMP_DAC_PWM_CHANNEL_0 1 - -// TIM1 - DAC for AUX outputs -#define AUXOUT_DAC_PWM_DEVICE PWMD1 -// PB14 - TIM1_CH2N -#define AUXOUT_DAC_PWM_CHANNEL_0 1 -// PB15 - TIM1_CH3N -#define AUXOUT_DAC_PWM_CHANNEL_1 2 - -#if 0 -#define ID_SEL1_PORT GPIOC -#define ID_SEL1_PIN 13 - -#define ID_SEL2_PORT GPIOC -#define ID_SEL2_PIN 14 -#endif