FL-409 Boot0 OK button (#257)

* update makefiles for f3-1
* add f3-1 files
* fix mk for f3
* remap OK button
* differ gpio invert
* expose full duplex spi2
* remove duplicate bq drivers
* remove bq inc
This commit is contained in:
coreglitch
2020-12-02 16:40:06 +03:00
committed by GitHub
parent 3a6fbff8c3
commit 884dba647a
56 changed files with 9964 additions and 21 deletions

View File

@@ -10,15 +10,6 @@ const GpioPin input_gpio[GPIO_INPUT_PINS_COUNT] = {
{BUTTON_BACK_GPIO_Port, BUTTON_BACK_Pin},
};
const bool input_invert[GPIO_INPUT_PINS_COUNT] = {
true, // {BUTTON_UP_GPIO_Port, BUTTON_UP_Pin},
true, // {BUTTON_DOWN_GPIO_Port, BUTTON_DOWN_Pin},
true, // {BUTTON_RIGHT_GPIO_Port, BUTTON_RIGHT_Pin},
true, // {BUTTON_LEFT_GPIO_Port, BUTTON_LEFT_Pin},
true, // {BUTTON_OK_GPIO_Port, BUTTON_OK_Pin},
true, // {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},