mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-21 02:03:18 +00:00
c1c069e95f
* move f3-1 to f4, remove f3 * remove f2 * remove firmware F3 for pipeline * remove patch for F4 makefile * fix fw makefile * migrate bootloader to f4
22 lines
846 B
C
22 lines
846 B
C
#include "main.h"
|
|
#include "flipper_v2.h"
|
|
|
|
const GpioPin input_gpio[GPIO_INPUT_PINS_COUNT] = {
|
|
{BUTTON_UP_GPIO_Port, BUTTON_UP_Pin},
|
|
{BUTTON_DOWN_GPIO_Port, BUTTON_DOWN_Pin},
|
|
{BUTTON_RIGHT_GPIO_Port, BUTTON_RIGHT_Pin},
|
|
{BUTTON_LEFT_GPIO_Port, BUTTON_LEFT_Pin},
|
|
{BUTTON_OK_GPIO_Port, BUTTON_OK_Pin},
|
|
{BUTTON_BACK_GPIO_Port, BUTTON_BACK_Pin},
|
|
};
|
|
|
|
const GpioPin led_gpio[3] = {
|
|
{LED_RED_GPIO_Port, LED_RED_Pin},
|
|
{LED_GREEN_GPIO_Port, LED_GREEN_Pin},
|
|
{LED_BLUE_GPIO_Port, LED_BLUE_Pin}};
|
|
|
|
const GpioPin backlight_gpio = {DISPLAY_BACKLIGHT_GPIO_Port, DISPLAY_BACKLIGHT_Pin};
|
|
const GpioPin sd_cs_gpio = {SD_CS_GPIO_Port, SD_CS_Pin};
|
|
const GpioPin vibro_gpio = {VIBRO_GPIO_Port, VIBRO_Pin};
|
|
const GpioPin ibutton_gpio = {iBTN_GPIO_Port, iBTN_Pin};
|
|
const GpioPin cc1101_g0_gpio = {CC1101_G0_GPIO_Port, CC1101_G0_Pin};
|