mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
PICO: Minor file rename (removing misc_todo.c)
This commit is contained in:
parent
cbe83af5aa
commit
51828fa9a6
4 changed files with 53 additions and 11 deletions
|
@ -37,6 +37,11 @@
|
|||
#include "hardware/spi.h"
|
||||
#include "hardware/gpio.h"
|
||||
|
||||
void spiPinConfigure(const struct spiPinConfig_s *pConfig)
|
||||
{
|
||||
UNUSED(pConfig);
|
||||
}
|
||||
|
||||
void spiInitDevice(SPIDevice device)
|
||||
{
|
||||
//TODO: implement
|
||||
|
|
25
src/platform/PICO/debug_pico.c
Normal file
25
src/platform/PICO/debug_pico.c
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
* This file is part of Betaflight.
|
||||
*
|
||||
* Betaflight is free software. You can redistribute this software
|
||||
* and/or modify this software under the terms of the GNU General
|
||||
* Public License as published by the Free Software Foundation,
|
||||
* either version 3 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* Betaflight is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public
|
||||
* License along with this software.
|
||||
*
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
void debugInit(void)
|
||||
{
|
||||
// NOOP
|
||||
}
|
|
@ -183,7 +183,8 @@ MCU_COMMON_SRC = \
|
|||
drivers/bus_spi_config.c \
|
||||
drivers/serial_pinconfig.c \
|
||||
drivers/serial_uart_pinconfig.c \
|
||||
PICO/misc_todo.c \
|
||||
PICO/stdio_pico_stub.c \
|
||||
PICO/debug_pico.c \
|
||||
PICO/system.c \
|
||||
PICO/io_pico.c \
|
||||
PICO/bus_spi_pico.c \
|
||||
|
|
|
@ -1,14 +1,25 @@
|
|||
#include "drivers/bus_spi.h"
|
||||
/*
|
||||
* This file is part of Betaflight.
|
||||
*
|
||||
* Betaflight is free software. You can redistribute this software
|
||||
* and/or modify this software under the terms of the GNU General
|
||||
* Public License as published by the Free Software Foundation,
|
||||
* either version 3 of the License, or (at your option) any later
|
||||
* version.
|
||||
*
|
||||
* Betaflight is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public
|
||||
* License along with this software.
|
||||
*
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
void spiPinConfigure(const struct spiPinConfig_s *pConfig)
|
||||
{
|
||||
UNUSED(pConfig);
|
||||
}
|
||||
|
||||
void debugInit(void)
|
||||
{
|
||||
// NOOP
|
||||
}
|
||||
#include "common/utils.h"
|
||||
|
||||
int _open(const char *fn, int oflag, ...)
|
||||
{
|
Loading…
Add table
Add a link
Reference in a new issue