bootload compile fixes for B&W radios, compiles, but does not linkm due to libc errors
This commit is contained in:
committed by
Raphael Coeffic
parent
89ff8c53f4
commit
0eb11ae4b6
@@ -19,7 +19,7 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include "opentx.h"
|
||||
#include "board.h"
|
||||
|
||||
#if !defined(BOOT)
|
||||
Fifo<uint8_t, BT_TX_FIFO_SIZE> btTxFifo;
|
||||
|
||||
@@ -156,6 +156,7 @@ else()
|
||||
set(BOOTLOADER_SRC
|
||||
${BOOTLOADER_SRC}
|
||||
../../../../../gui/common/stdlcd/fonts.cpp
|
||||
../../../../../gui/common/stdlcd/utf8.cpp
|
||||
../../../../../targets/${TARGET_DIR}/i2c_driver.cpp
|
||||
)
|
||||
remove_definitions(-DDEBUG)
|
||||
|
||||
@@ -19,7 +19,11 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <strings.h>
|
||||
#include <memory.h>
|
||||
|
||||
#include "boot.h"
|
||||
#include "board.h"
|
||||
#include "sdcard.h"
|
||||
#include "bin_files.h"
|
||||
#include "fw_version.h"
|
||||
|
||||
@@ -23,7 +23,10 @@
|
||||
#define _bin_files_h_
|
||||
|
||||
#include <FatFs/ff.h>
|
||||
#include "sdcard.h"
|
||||
#if defined(COLORLCD)
|
||||
#include "bitmapbuffer.h"
|
||||
#endif
|
||||
|
||||
enum MemoryType {
|
||||
MEM_FLASH,
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "bin_files.h"
|
||||
#include "dataconstants.h"
|
||||
#include "lcd.h"
|
||||
#include "keys.h"
|
||||
#include "debug.h"
|
||||
|
||||
#if defined(PCBXLITE)
|
||||
#define BOOTLOADER_KEYS 0x0F
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
*/
|
||||
|
||||
#include "board.h"
|
||||
#include "hal.h"
|
||||
#include "board_common.h"
|
||||
|
||||
static uint8_t rotencPosition;
|
||||
volatile rotenc_t rotencValue;
|
||||
|
||||
Reference in New Issue
Block a user