mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
Compilation fix (attempt N+2)
This commit is contained in:
parent
ee961e245e
commit
ed92684b94
3 changed files with 12 additions and 8 deletions
|
@ -26,8 +26,8 @@ set(STM32USB_SRC
|
|||
STM32_USB_Device_Library/Core/src/usbd_ioreq.c
|
||||
STM32_USB_Device_Library/Core/src/usbd_req.c
|
||||
)
|
||||
set(TARGET_SRC
|
||||
${TARGET_SRC}
|
||||
set(FIRMWARE_TARGET_SRC
|
||||
${FIRMWARE_TARGET_SRC}
|
||||
../common/arm/stm32/rtc_driver.cpp
|
||||
../common/arm/stm32/cpu_id.cpp
|
||||
${AUX_SERIAL_DRIVER}
|
||||
|
|
|
@ -741,3 +741,7 @@ void disableSpeaker()
|
|||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
void rtcSetTime(const struct gtm * t)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -15,8 +15,8 @@ if(PCB STREQUAL 9XRPRO)
|
|||
add_definitions(-Dat91sam3s8 -DREVX)
|
||||
set(FLAVOUR 9xrpro)
|
||||
set(LINKER_SCRIPT targets/sky9x/sam3s8c_flash.ld)
|
||||
set(TARGET_SRC
|
||||
${TARGET_SRC}
|
||||
set(FIRMWARE_TARGET_SRC
|
||||
${FIRMWARE_TARGET_SRC}
|
||||
rtc_driver.cpp
|
||||
)
|
||||
set(OPENRC_BOOTLOADER bootflash8.lbm)
|
||||
|
@ -25,8 +25,8 @@ elseif(PCB STREQUAL AR9X)
|
|||
add_definitions(-Dat91sam3s8 -DPCBAR9X -DSOFTWARE_VOLUME)
|
||||
set(FLAVOUR ar9x)
|
||||
include_directories(${THIRDPARTY_DIR}/xdk-asf-3.31.0/sam/drivers/twi)
|
||||
set(TARGET_SRC
|
||||
${TARGET_SRC}
|
||||
set(FIRMWARE_TARGET_SRC
|
||||
${FIRMWARE_TARGET_SRC}
|
||||
../../${THIRDPARTY_DIR}/xdk-asf-3.31.0/sam/drivers/twi/twi.c
|
||||
i2c_driver.cpp
|
||||
rtc_ds3231_driver.cpp
|
||||
|
@ -38,8 +38,8 @@ else()
|
|||
set(FLAVOUR sky9x)
|
||||
set(PCBREV "REVC" CACHE STRING "PCB Revision (REVB/REVC)")
|
||||
set_property(CACHE PCBREV PROPERTY STRINGS "REVB" "REVC")
|
||||
set(TARGET_SRC
|
||||
${TARGET_SRC}
|
||||
set(FIRMWARE_TARGET_SRC
|
||||
${FIRMWARE_TARGET_SRC}
|
||||
coproc_driver.cpp
|
||||
rotary_encoder_driver.cpp
|
||||
rtc_driver.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue