Skip to content

Commit

Permalink
Coretx-M0 adaption
Browse files Browse the repository at this point in the history
rename files according to project changes
fix: build system changes
  • Loading branch information
gagarinlg committed Sep 3, 2022
1 parent 244fb41 commit fc0049d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/src/hal/hal_stm32.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

#if defined(PLATFORM_STM32)
#if !defined(TARGET_TX_FLYSKY_FRM301)

#include <stm32_def.h>
#include <string.h>
Expand Down Expand Up @@ -39,4 +40,5 @@ void __attribute__((used)) initVariant(void)
/* This can be used to run some init before \ref setup() */
}

#endif
#endif // PLATFORM_STM32
4 changes: 2 additions & 2 deletions src/targets/flysky.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ build_flags =
#-D SERIAL_UART_INSTANCE=2 # Remap default Serial to USART2
#-D PIN_SERIAL_RX=PA3
#-D PIN_SERIAL_TX=PA2
src_filter = ${env_common_stm32.src_filter} -<rx_*.cpp>
build_src_filter = ${env_common_stm32.build_src_filter} -<rx_*.cpp>
#upload_flags =
# BOOTLOADER=bootloader/frm301_bootloader.bin
# VECT_OFFSET=0x1000


# ********************************
# Receiver targets
# ********************************
# ********************************
File renamed without changes.
File renamed without changes.

0 comments on commit fc0049d

Please sign in to comment.