From 2817866ad239f445eff9ec8ddc6c7197ef05703d Mon Sep 17 00:00:00 2001 From: bsongis Date: Sat, 14 Mar 2015 11:56:24 +0100 Subject: [PATCH] Directories FatFS / CoOS / STM32 libs moved to thirdparty --- companion/src/CMakeLists.txt | 86 +--- companion/src/companion.cpp | 1 + companion/src/constants.h | 38 ++ companion/src/eeprominterface.cpp | 10 + companion/src/eeprominterface.h | 55 +-- .../src/firmwares/er9x/er9xinterface.cpp | 2 +- .../firmwares/er9x/simulator/CMakeLists.txt | 15 + .../er9x/{ => simulator}/er9xsimulator.cpp | 0 .../er9x/{ => simulator}/er9xsimulator.h | 2 - .../firmwares/ersky9x/ersky9xinterface.cpp | 2 +- .../ersky9x/simulator/CMakeLists.txt | 15 + .../{ => simulator}/ersky9xsimulator.cpp | 0 .../{ => simulator}/ersky9xsimulator.h | 2 - .../opentx/opentxGruvin9xsimulator.cpp | 250 ----------- .../opentx/opentxGruvin9xsimulator.h | 66 --- .../firmwares/opentx/opentxM128simulator.cpp | 243 ----------- .../firmwares/opentx/opentxM128simulator.h | 66 --- .../firmwares/opentx/opentxM64simulator.cpp | 247 ----------- .../src/firmwares/opentx/opentxM64simulator.h | 65 --- .../firmwares/opentx/opentxSky9xsimulator.cpp | 306 -------------- .../firmwares/opentx/opentxSky9xsimulator.h | 66 --- .../opentx/opentxTaranisSimulator.cpp | 353 ---------------- .../opentx/opentxTaranisX9ESimulator.h | 66 --- .../src/firmwares/opentx/opentxinterface.cpp | 34 +- .../src/firmwares/opentx/opentxinterface.h | 2 - .../firmwares/opentx/simulator/CMakeLists.txt | 129 ++++++ .../opentxsimulator.cpp} | 352 +++++++++++----- .../opentxsimulator.h} | 53 ++- .../firmwares/th9x/simulator/CMakeLists.txt | 15 + .../th9x/{ => simulator}/th9xsimulator.cpp | 0 .../th9x/{ => simulator}/th9xsimulator.h | 2 - .../src/firmwares/th9x/th9xinterface.cpp | 2 +- companion/src/helpers.cpp | 7 +- companion/src/simulation/CMakeLists.txt | 1 + companion/src/simulation/simulatordialog.cpp | 21 +- companion/src/simulation/simulatordialog.h | 9 +- companion/src/simulation/simulatorimport.h | 3 +- .../src/simulation/simulatorinterface.cpp | 61 +++ companion/src/simulation/simulatorinterface.h | 70 +++- companion/src/simulation/telemetrysimu.cpp | 3 +- companion/src/simulator.cpp | 85 ++-- companion/targets/windows/companion-vs.nsi.in | 2 + companion/targets/windows/simulator-vs.nsi.in | 3 + radio/src/Makefile | 124 +++--- radio/src/bootloader/Makefile | 392 ------------------ radio/src/debug.cpp | 5 +- radio/src/gui/Taranis/lcd.cpp | 4 +- radio/src/gui/Taranis/menu_general_calib.cpp | 2 +- radio/src/lua_api.cpp | 2 +- radio/src/opentx.h | 4 +- radio/src/sdcard.cpp | 5 +- radio/src/targets/simu/simpgmspace.h | 7 +- radio/src/targets/taranis/bootloader/Makefile | 335 +++++++++++++++ .../{ => targets/taranis}/bootloader/boot.cpp | 18 +- .../{ => targets/taranis}/bootloader/init.c | 0 radio/src/targets/taranis/diskio.cpp | 8 +- .../src/targets/taranis/usbd_storage_msd.cpp | 2 +- radio/src/{ => thirdparty}/CoOS/OsConfig.h | 0 radio/src/{ => thirdparty}/CoOS/kernel/CoOS.h | 0 .../src/{ => thirdparty}/CoOS/kernel/OsCore.h | 0 .../{ => thirdparty}/CoOS/kernel/OsError.h | 0 .../{ => thirdparty}/CoOS/kernel/OsEvent.h | 0 .../src/{ => thirdparty}/CoOS/kernel/OsFlag.h | 0 .../CoOS/kernel/OsKernelHeap.h | 0 radio/src/{ => thirdparty}/CoOS/kernel/OsMM.h | 0 .../{ => thirdparty}/CoOS/kernel/OsMutex.h | 0 .../{ => thirdparty}/CoOS/kernel/OsQueue.h | 0 .../CoOS/kernel/OsServiceReq.h | 0 .../src/{ => thirdparty}/CoOS/kernel/OsTask.h | 0 .../src/{ => thirdparty}/CoOS/kernel/OsTime.h | 0 .../{ => thirdparty}/CoOS/kernel/OsTimer.h | 0 .../src/{ => thirdparty}/CoOS/kernel/coocox.h | 0 radio/src/{ => thirdparty}/CoOS/kernel/core.c | 0 .../src/{ => thirdparty}/CoOS/kernel/event.c | 0 radio/src/{ => thirdparty}/CoOS/kernel/flag.c | 0 radio/src/{ => thirdparty}/CoOS/kernel/hook.c | 0 .../{ => thirdparty}/CoOS/kernel/kernelHeap.c | 0 radio/src/{ => thirdparty}/CoOS/kernel/mbox.c | 0 radio/src/{ => thirdparty}/CoOS/kernel/mm.c | 0 .../src/{ => thirdparty}/CoOS/kernel/mutex.c | 0 .../src/{ => thirdparty}/CoOS/kernel/queue.c | 0 radio/src/{ => thirdparty}/CoOS/kernel/sem.c | 0 .../{ => thirdparty}/CoOS/kernel/serviceReq.c | 0 radio/src/{ => thirdparty}/CoOS/kernel/task.c | 0 radio/src/{ => thirdparty}/CoOS/kernel/time.c | 0 .../src/{ => thirdparty}/CoOS/kernel/timer.c | 0 .../{ => thirdparty}/CoOS/kernel/utility.c | 0 .../{ => thirdparty}/CoOS/kernel/utility.h | 0 .../{ => thirdparty}/CoOS/portable/GCC/port.c | 0 .../{ => thirdparty}/CoOS/portable/OsArch.h | 0 .../src/{ => thirdparty}/CoOS/portable/arch.c | 0 radio/src/{ => thirdparty}/FatFs/00readme.txt | 0 radio/src/{ => thirdparty}/FatFs/diskio.h | 0 radio/src/{ => thirdparty}/FatFs/fattime.c | 0 radio/src/{ => thirdparty}/FatFs/ff.c | 0 radio/src/{ => thirdparty}/FatFs/ff.h | 0 radio/src/{ => thirdparty}/FatFs/ffconf.h | 0 radio/src/{ => thirdparty}/FatFs/integer.h | 0 .../src/{ => thirdparty}/FatFs/option/cc932.c | 0 .../src/{ => thirdparty}/FatFs/option/cc936.c | 0 .../src/{ => thirdparty}/FatFs/option/cc949.c | 0 .../src/{ => thirdparty}/FatFs/option/cc950.c | 0 .../{ => thirdparty}/FatFs/option/ccsbcs.c | 0 .../{ => thirdparty}/FatFs/option/syscall.c | 0 .../{ => thirdparty}/FatFs/option/unicode.c | 0 .../{ => thirdparty}/GCS_MAVLink/.gitignore | 0 .../src/{ => thirdparty}/GCS_MAVLink/COPYING | 0 radio/src/{ => thirdparty}/GCS_MAVLink/README | 0 .../ardupilotmega/ardupilotmega.h | 0 .../include_v1.0/ardupilotmega/mavlink.h | 0 .../ardupilotmega/mavlink_msg_ahrs.h | 0 .../ardupilotmega/mavlink_msg_ap_adc.h | 0 .../ardupilotmega/mavlink_msg_data16.h | 0 .../ardupilotmega/mavlink_msg_data32.h | 0 .../ardupilotmega/mavlink_msg_data64.h | 0 .../ardupilotmega/mavlink_msg_data96.h | 0 .../mavlink_msg_digicam_configure.h | 0 .../mavlink_msg_digicam_control.h | 0 .../mavlink_msg_fence_fetch_point.h | 0 .../ardupilotmega/mavlink_msg_fence_point.h | 0 .../ardupilotmega/mavlink_msg_fence_status.h | 0 .../ardupilotmega/mavlink_msg_hwstatus.h | 0 .../ardupilotmega/mavlink_msg_limits_status.h | 0 .../ardupilotmega/mavlink_msg_meminfo.h | 0 .../mavlink_msg_mount_configure.h | 0 .../ardupilotmega/mavlink_msg_mount_control.h | 0 .../ardupilotmega/mavlink_msg_mount_status.h | 0 .../ardupilotmega/mavlink_msg_radio.h | 0 .../ardupilotmega/mavlink_msg_rangefinder.h | 0 .../mavlink_msg_sensor_offsets.h | 0 .../mavlink_msg_set_mag_offsets.h | 0 .../ardupilotmega/mavlink_msg_simstate.h | 0 .../ardupilotmega/mavlink_msg_wind.h | 0 .../include_v1.0/ardupilotmega/testsuite.h | 0 .../include_v1.0/ardupilotmega/version.h | 0 .../GCS_MAVLink/include_v1.0/checksum.h | 0 .../GCS_MAVLink/include_v1.0/common/common.h | 0 .../GCS_MAVLink/include_v1.0/common/mavlink.h | 0 .../common/mavlink_msg_attitude.h | 0 .../common/mavlink_msg_attitude_quaternion.h | 0 .../common/mavlink_msg_auth_key.h | 0 .../common/mavlink_msg_battery_status.h | 0 .../mavlink_msg_change_operator_control.h | 0 .../mavlink_msg_change_operator_control_ack.h | 0 .../common/mavlink_msg_command_ack.h | 0 .../common/mavlink_msg_command_long.h | 0 .../common/mavlink_msg_data_stream.h | 0 .../include_v1.0/common/mavlink_msg_debug.h | 0 .../common/mavlink_msg_debug_vect.h | 0 .../mavlink_msg_file_transfer_dir_list.h | 0 .../common/mavlink_msg_file_transfer_res.h | 0 .../common/mavlink_msg_file_transfer_start.h | 0 .../common/mavlink_msg_global_position_int.h | 0 ...mavlink_msg_global_position_setpoint_int.h | 0 ...link_msg_global_vision_position_estimate.h | 0 .../common/mavlink_msg_gps_global_origin.h | 0 .../common/mavlink_msg_gps_raw_int.h | 0 .../common/mavlink_msg_gps_status.h | 0 .../common/mavlink_msg_heartbeat.h | 0 .../common/mavlink_msg_highres_imu.h | 0 .../common/mavlink_msg_hil_controls.h | 0 .../include_v1.0/common/mavlink_msg_hil_gps.h | 0 .../common/mavlink_msg_hil_optical_flow.h | 0 .../common/mavlink_msg_hil_rc_inputs_raw.h | 0 .../common/mavlink_msg_hil_sensor.h | 0 .../common/mavlink_msg_hil_state.h | 0 .../common/mavlink_msg_hil_state_quaternion.h | 0 .../common/mavlink_msg_local_position_ned.h | 0 ..._local_position_ned_system_global_offset.h | 0 .../mavlink_msg_local_position_setpoint.h | 0 .../common/mavlink_msg_manual_control.h | 0 .../common/mavlink_msg_manual_setpoint.h | 0 .../common/mavlink_msg_memory_vect.h | 0 .../common/mavlink_msg_mission_ack.h | 0 .../common/mavlink_msg_mission_clear_all.h | 0 .../common/mavlink_msg_mission_count.h | 0 .../common/mavlink_msg_mission_current.h | 0 .../common/mavlink_msg_mission_item.h | 0 .../common/mavlink_msg_mission_item_reached.h | 0 .../common/mavlink_msg_mission_request.h | 0 .../common/mavlink_msg_mission_request_list.h | 0 ...mavlink_msg_mission_request_partial_list.h | 0 .../common/mavlink_msg_mission_set_current.h | 0 .../mavlink_msg_mission_write_partial_list.h | 0 .../common/mavlink_msg_named_value_float.h | 0 .../common/mavlink_msg_named_value_int.h | 0 .../mavlink_msg_nav_controller_output.h | 0 .../common/mavlink_msg_omnidirectional_flow.h | 0 .../common/mavlink_msg_optical_flow.h | 0 .../common/mavlink_msg_param_request_list.h | 0 .../common/mavlink_msg_param_request_read.h | 0 .../common/mavlink_msg_param_set.h | 0 .../common/mavlink_msg_param_value.h | 0 .../include_v1.0/common/mavlink_msg_ping.h | 0 .../common/mavlink_msg_radio_status.h | 0 .../include_v1.0/common/mavlink_msg_raw_imu.h | 0 .../common/mavlink_msg_raw_pressure.h | 0 .../common/mavlink_msg_rc_channels_override.h | 0 .../common/mavlink_msg_rc_channels_raw.h | 0 .../common/mavlink_msg_rc_channels_scaled.h | 0 .../common/mavlink_msg_request_data_stream.h | 0 ...msg_roll_pitch_yaw_rates_thrust_setpoint.h | 0 ...msg_roll_pitch_yaw_speed_thrust_setpoint.h | 0 ...vlink_msg_roll_pitch_yaw_thrust_setpoint.h | 0 .../common/mavlink_msg_safety_allowed_area.h | 0 .../mavlink_msg_safety_set_allowed_area.h | 0 .../common/mavlink_msg_scaled_imu.h | 0 .../common/mavlink_msg_scaled_pressure.h | 0 .../common/mavlink_msg_servo_output_raw.h | 0 ...ink_msg_set_global_position_setpoint_int.h | 0 .../mavlink_msg_set_gps_global_origin.h | 0 .../mavlink_msg_set_local_position_setpoint.h | 0 .../common/mavlink_msg_set_mode.h | 0 .../mavlink_msg_set_quad_motors_setpoint.h | 0 ...set_quad_swarm_led_roll_pitch_yaw_thrust.h | 0 ...msg_set_quad_swarm_roll_pitch_yaw_thrust.h | 0 ...link_msg_set_roll_pitch_yaw_speed_thrust.h | 0 .../mavlink_msg_set_roll_pitch_yaw_thrust.h | 0 .../common/mavlink_msg_setpoint_6dof.h | 0 .../common/mavlink_msg_setpoint_8dof.h | 0 .../common/mavlink_msg_sim_state.h | 0 .../common/mavlink_msg_state_correction.h | 0 .../common/mavlink_msg_statustext.h | 0 .../common/mavlink_msg_sys_status.h | 0 .../common/mavlink_msg_system_time.h | 0 .../include_v1.0/common/mavlink_msg_vfr_hud.h | 0 .../mavlink_msg_vicon_position_estimate.h | 0 .../mavlink_msg_vision_position_estimate.h | 0 .../mavlink_msg_vision_speed_estimate.h | 0 .../include_v1.0/common/testsuite.h | 0 .../GCS_MAVLink/include_v1.0/common/version.h | 0 .../include_v1.0/mavlink_conversions.h | 0 .../include_v1.0/mavlink_helpers.h | 0 .../include_v1.0/mavlink_protobuf_manager.hpp | 0 .../GCS_MAVLink/include_v1.0/mavlink_types.h | 0 .../GCS_MAVLink/include_v1.0/protocol.h | 0 .../ardupilotmega.xml | 0 .../message_definitions_v1.0/autoquad.xml | 0 .../message_definitions_v1.0/common.xml | 0 .../message_definitions_v1.0/matrixpilot.xml | 0 .../message_definitions_v1.0/minimal.xml | 0 .../message_definitions_v1.0/pixhawk.proto | 0 .../message_definitions_v1.0/pixhawk.xml | 0 .../message_definitions_v1.0/sensesoar.xml | 0 .../message_definitions_v1.0/slugs.xml | 0 .../message_definitions_v1.0/test.xml | 0 .../message_definitions_v1.0/ualberta.xml | 0 radio/src/{ => thirdparty}/GCS_MAVLink/sync | 0 .../Device/ST/STM32F2xx/Include/stm32f2xx.h | 0 .../ST/STM32F2xx/Include/system_stm32f2xx.h | 0 .../Templates/gcc_ride7/startup_stm32f2xx.s | 0 .../Source/Templates/system_stm32f2xx.c | 0 .../CMSIS/Include/arm_common_tables.h | 0 .../Libraries/CMSIS/Include/arm_math.h | 0 .../Libraries/CMSIS/Include/core_cm0.h | 0 .../Libraries/CMSIS/Include/core_cm3.h | 0 .../Libraries/CMSIS/Include/core_cm4.h | 0 .../Libraries/CMSIS/Include/core_cm4_simd.h | 0 .../Libraries/CMSIS/Include/core_cmFunc.h | 0 .../Libraries/CMSIS/Include/core_cmInstr.h | 0 .../STM32F2xx_StdPeriph_Driver/inc/misc.h | 0 .../inc/stm32f2xx_adc.h | 0 .../inc/stm32f2xx_can.h | 0 .../inc/stm32f2xx_crc.h | 0 .../inc/stm32f2xx_cryp.h | 0 .../inc/stm32f2xx_dac.h | 0 .../inc/stm32f2xx_dbgmcu.h | 0 .../inc/stm32f2xx_dcmi.h | 0 .../inc/stm32f2xx_dma.h | 0 .../inc/stm32f2xx_exti.h | 0 .../inc/stm32f2xx_flash.h | 0 .../inc/stm32f2xx_fsmc.h | 0 .../inc/stm32f2xx_gpio.h | 0 .../inc/stm32f2xx_hash.h | 0 .../inc/stm32f2xx_i2c.h | 0 .../inc/stm32f2xx_iwdg.h | 0 .../inc/stm32f2xx_pwr.h | 0 .../inc/stm32f2xx_rcc.h | 0 .../inc/stm32f2xx_rng.h | 0 .../inc/stm32f2xx_rtc.h | 0 .../inc/stm32f2xx_sdio.h | 0 .../inc/stm32f2xx_spi.h | 0 .../inc/stm32f2xx_syscfg.h | 0 .../inc/stm32f2xx_tim.h | 0 .../inc/stm32f2xx_usart.h | 0 .../inc/stm32f2xx_wwdg.h | 0 .../STM32F2xx_StdPeriph_Driver/src/misc.c | 0 .../src/stm32f2xx_adc.c | 0 .../src/stm32f2xx_can.c | 0 .../src/stm32f2xx_crc.c | 0 .../src/stm32f2xx_cryp.c | 0 .../src/stm32f2xx_cryp_aes.c | 0 .../src/stm32f2xx_cryp_des.c | 0 .../src/stm32f2xx_cryp_tdes.c | 0 .../src/stm32f2xx_dac.c | 0 .../src/stm32f2xx_dbgmcu.c | 0 .../src/stm32f2xx_dcmi.c | 0 .../src/stm32f2xx_dma.c | 0 .../src/stm32f2xx_exti.c | 0 .../src/stm32f2xx_flash.c | 0 .../src/stm32f2xx_fsmc.c | 0 .../src/stm32f2xx_gpio.c | 0 .../src/stm32f2xx_hash.c | 0 .../src/stm32f2xx_hash_md5.c | 0 .../src/stm32f2xx_hash_sha1.c | 0 .../src/stm32f2xx_i2c.c | 0 .../src/stm32f2xx_iwdg.c | 0 .../src/stm32f2xx_pwr.c | 0 .../src/stm32f2xx_rcc.c | 0 .../src/stm32f2xx_rng.c | 0 .../src/stm32f2xx_rtc.c | 0 .../src/stm32f2xx_sdio.c | 0 .../src/stm32f2xx_spi.c | 0 .../src/stm32f2xx_syscfg.c | 0 .../src/stm32f2xx_tim.c | 0 .../src/stm32f2xx_usart.c | 0 .../src/stm32f2xx_wwdg.c | 0 .../Device/ST/STM32F4xx/Include/stm32f4xx.h | 0 .../ST/STM32F4xx/Include/system_stm32f4xx.h | 0 .../gcc_ride7/startup_stm32f40_41xxx.s | 0 .../Source/Templates/system_stm32f4xx.c | 0 .../CMSIS/Include/arm_common_tables.h | 0 .../CMSIS/Include/arm_const_structs.h | 0 .../Libraries/CMSIS/Include/arm_math.h | 0 .../Libraries/CMSIS/Include/core_cm0.h | 0 .../Libraries/CMSIS/Include/core_cm0plus.h | 0 .../Libraries/CMSIS/Include/core_cm3.h | 0 .../Libraries/CMSIS/Include/core_cm4.h | 0 .../Libraries/CMSIS/Include/core_cm4_simd.h | 0 .../Libraries/CMSIS/Include/core_cmFunc.h | 0 .../Libraries/CMSIS/Include/core_cmInstr.h | 0 .../Libraries/CMSIS/Include/core_sc000.h | 0 .../Libraries/CMSIS/Include/core_sc300.h | 0 .../STM32F4xx_StdPeriph_Driver/inc/misc.h | 0 .../inc/stm32f4xx_adc.h | 0 .../inc/stm32f4xx_can.h | 0 .../inc/stm32f4xx_crc.h | 0 .../inc/stm32f4xx_cryp.h | 0 .../inc/stm32f4xx_dac.h | 0 .../inc/stm32f4xx_dbgmcu.h | 0 .../inc/stm32f4xx_dcmi.h | 0 .../inc/stm32f4xx_dma.h | 0 .../inc/stm32f4xx_dma2d.h | 0 .../inc/stm32f4xx_exti.h | 0 .../inc/stm32f4xx_flash.h | 0 .../inc/stm32f4xx_flash_ramfunc.h | 0 .../inc/stm32f4xx_fmc.h | 0 .../inc/stm32f4xx_fsmc.h | 0 .../inc/stm32f4xx_gpio.h | 0 .../inc/stm32f4xx_hash.h | 0 .../inc/stm32f4xx_i2c.h | 0 .../inc/stm32f4xx_iwdg.h | 0 .../inc/stm32f4xx_ltdc.h | 0 .../inc/stm32f4xx_pwr.h | 0 .../inc/stm32f4xx_rcc.h | 0 .../inc/stm32f4xx_rng.h | 0 .../inc/stm32f4xx_rtc.h | 0 .../inc/stm32f4xx_sai.h | 0 .../inc/stm32f4xx_sdio.h | 0 .../inc/stm32f4xx_spi.h | 0 .../inc/stm32f4xx_syscfg.h | 0 .../inc/stm32f4xx_tim.h | 0 .../inc/stm32f4xx_usart.h | 0 .../inc/stm32f4xx_wwdg.h | 0 .../STM32F4xx_StdPeriph_Driver/src/misc.c | 0 .../src/stm32f4xx_adc.c | 0 .../src/stm32f4xx_can.c | 0 .../src/stm32f4xx_crc.c | 0 .../src/stm32f4xx_cryp.c | 0 .../src/stm32f4xx_cryp_aes.c | 0 .../src/stm32f4xx_cryp_des.c | 0 .../src/stm32f4xx_cryp_tdes.c | 0 .../src/stm32f4xx_dac.c | 0 .../src/stm32f4xx_dbgmcu.c | 0 .../src/stm32f4xx_dcmi.c | 0 .../src/stm32f4xx_dma.c | 0 .../src/stm32f4xx_dma2d.c | 0 .../src/stm32f4xx_exti.c | 0 .../src/stm32f4xx_flash.c | 0 .../src/stm32f4xx_flash_ramfunc.c | 0 .../src/stm32f4xx_fmc.c | 0 .../src/stm32f4xx_fsmc.c | 0 .../src/stm32f4xx_gpio.c | 0 .../src/stm32f4xx_hash.c | 0 .../src/stm32f4xx_hash_md5.c | 0 .../src/stm32f4xx_hash_sha1.c | 0 .../src/stm32f4xx_i2c.c | 0 .../src/stm32f4xx_iwdg.c | 0 .../src/stm32f4xx_ltdc.c | 0 .../src/stm32f4xx_pwr.c | 0 .../src/stm32f4xx_rcc.c | 0 .../src/stm32f4xx_rng.c | 0 .../src/stm32f4xx_rtc.c | 0 .../src/stm32f4xx_sai.c | 0 .../src/stm32f4xx_sdio.c | 0 .../src/stm32f4xx_spi.c | 0 .../src/stm32f4xx_syscfg.c | 0 .../src/stm32f4xx_tim.c | 0 .../src/stm32f4xx_usart.c | 0 .../src/stm32f4xx_wwdg.c | 0 .../Class/audio/inc/usbd_audio_core.h | 0 .../Class/audio/inc/usbd_audio_out_if.h | 0 .../Class/audio/src/usbd_audio_core.c | 0 .../Class/audio/src/usbd_audio_out_if.c | 0 .../Class/cdc/inc/usbd_cdc_core.h | 0 .../Class/cdc/inc/usbd_cdc_if_template.h | 0 .../Class/cdc/src/usbd_cdc_core.c | 0 .../Class/cdc/src/usbd_cdc_if_template.c | 0 .../Class/dfu/inc/usbd_dfu_core.h | 0 .../Class/dfu/inc/usbd_dfu_mal.h | 0 .../Class/dfu/inc/usbd_flash_if.h | 0 .../Class/dfu/inc/usbd_mem_if_template.h | 0 .../Class/dfu/inc/usbd_otp_if.h | 0 .../Class/dfu/src/usbd_dfu_core.c | 0 .../Class/dfu/src/usbd_dfu_mal.c | 0 .../Class/dfu/src/usbd_flash_if.c | 0 .../Class/dfu/src/usbd_mem_if_template.c | 0 .../Class/dfu/src/usbd_otp_if.c | 0 .../Class/hid/inc/usbd_hid_core.h | 0 .../Class/hid/src/usbd_hid_core.c | 0 .../Class/msc/inc/usbd_msc_bot.h | 0 .../Class/msc/inc/usbd_msc_core.h | 0 .../Class/msc/inc/usbd_msc_data.h | 2 +- .../Class/msc/inc/usbd_msc_mem.h | 0 .../Class/msc/inc/usbd_msc_scsi.h | 0 .../Class/msc/src/usbd_msc_bot.c | 0 .../Class/msc/src/usbd_msc_core.c | 0 .../Class/msc/src/usbd_msc_data.c | 0 .../Class/msc/src/usbd_msc_scsi.c | 0 .../Core/inc/usbd_conf_template.h | 0 .../Core/inc/usbd_core.h | 2 +- .../Core/inc/usbd_def.h | 2 +- .../Core/inc/usbd_ioreq.h | 0 .../Core/inc/usbd_req.h | 2 +- .../Core/inc/usbd_usr.h | 0 .../Core/src/usbd_core.c | 0 .../Core/src/usbd_ioreq.c | 0 .../Core/src/usbd_req.c | 2 +- .../Release_Notes.html | 0 .../STM32_USB_OTG_Driver/Release_Notes.html | 0 .../STM32_USB_OTG_Driver/inc/usb_bsp.h | 0 .../inc/usb_conf_template.h | 0 .../STM32_USB_OTG_Driver/inc/usb_core.h | 2 +- .../STM32_USB_OTG_Driver/inc/usb_dcd.h | 0 .../STM32_USB_OTG_Driver/inc/usb_dcd_int.h | 0 .../STM32_USB_OTG_Driver/inc/usb_defines.h | 2 +- .../STM32_USB_OTG_Driver/inc/usb_hcd.h | 0 .../STM32_USB_OTG_Driver/inc/usb_hcd_int.h | 0 .../STM32_USB_OTG_Driver/inc/usb_otg.h | 0 .../STM32_USB_OTG_Driver/inc/usb_regs.h | 2 +- .../STM32_USB_OTG_Driver/src/usb_core.c | 0 .../STM32_USB_OTG_Driver/src/usb_dcd.c | 0 .../STM32_USB_OTG_Driver/src/usb_dcd_int.c | 0 .../STM32_USB_OTG_Driver/src/usb_hcd.c | 0 .../STM32_USB_OTG_Driver/src/usb_hcd_int.c | 0 .../STM32_USB_OTG_Driver/src/usb_otg.c | 0 456 files changed, 1154 insertions(+), 2580 deletions(-) create mode 100644 companion/src/constants.h create mode 100644 companion/src/firmwares/er9x/simulator/CMakeLists.txt rename companion/src/firmwares/er9x/{ => simulator}/er9xsimulator.cpp (100%) rename companion/src/firmwares/er9x/{ => simulator}/er9xsimulator.h (96%) create mode 100644 companion/src/firmwares/ersky9x/simulator/CMakeLists.txt rename companion/src/firmwares/ersky9x/{ => simulator}/ersky9xsimulator.cpp (100%) rename companion/src/firmwares/ersky9x/{ => simulator}/ersky9xsimulator.h (97%) delete mode 100644 companion/src/firmwares/opentx/opentxGruvin9xsimulator.cpp delete mode 100644 companion/src/firmwares/opentx/opentxGruvin9xsimulator.h delete mode 100644 companion/src/firmwares/opentx/opentxM128simulator.cpp delete mode 100644 companion/src/firmwares/opentx/opentxM128simulator.h delete mode 100644 companion/src/firmwares/opentx/opentxM64simulator.cpp delete mode 100644 companion/src/firmwares/opentx/opentxM64simulator.h delete mode 100644 companion/src/firmwares/opentx/opentxSky9xsimulator.cpp delete mode 100644 companion/src/firmwares/opentx/opentxSky9xsimulator.h delete mode 100644 companion/src/firmwares/opentx/opentxTaranisSimulator.cpp delete mode 100755 companion/src/firmwares/opentx/opentxTaranisX9ESimulator.h create mode 100644 companion/src/firmwares/opentx/simulator/CMakeLists.txt rename companion/src/firmwares/opentx/{opentxTaranisX9ESimulator.cpp => simulator/opentxsimulator.cpp} (57%) mode change 100755 => 100644 rename companion/src/firmwares/opentx/{opentxTaranisSimulator.h => simulator/opentxsimulator.h} (52%) create mode 100644 companion/src/firmwares/th9x/simulator/CMakeLists.txt rename companion/src/firmwares/th9x/{ => simulator}/th9xsimulator.cpp (100%) rename companion/src/firmwares/th9x/{ => simulator}/th9xsimulator.h (96%) create mode 100644 companion/src/simulation/simulatorinterface.cpp delete mode 100644 radio/src/bootloader/Makefile create mode 100755 radio/src/targets/taranis/bootloader/Makefile rename radio/src/{ => targets/taranis}/bootloader/boot.cpp (98%) mode change 100644 => 100755 rename radio/src/{ => targets/taranis}/bootloader/init.c (100%) mode change 100644 => 100755 rename radio/src/{ => thirdparty}/CoOS/OsConfig.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/CoOS.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsCore.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsError.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsEvent.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsFlag.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsKernelHeap.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsMM.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsMutex.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsQueue.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsServiceReq.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsTask.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsTime.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/OsTimer.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/coocox.h (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/core.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/event.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/flag.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/hook.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/kernelHeap.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/mbox.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/mm.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/mutex.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/queue.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/sem.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/serviceReq.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/task.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/time.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/timer.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/utility.c (100%) rename radio/src/{ => thirdparty}/CoOS/kernel/utility.h (100%) rename radio/src/{ => thirdparty}/CoOS/portable/GCC/port.c (100%) rename radio/src/{ => thirdparty}/CoOS/portable/OsArch.h (100%) rename radio/src/{ => thirdparty}/CoOS/portable/arch.c (100%) rename radio/src/{ => thirdparty}/FatFs/00readme.txt (100%) rename radio/src/{ => thirdparty}/FatFs/diskio.h (100%) rename radio/src/{ => thirdparty}/FatFs/fattime.c (100%) rename radio/src/{ => thirdparty}/FatFs/ff.c (100%) rename radio/src/{ => thirdparty}/FatFs/ff.h (100%) rename radio/src/{ => thirdparty}/FatFs/ffconf.h (100%) rename radio/src/{ => thirdparty}/FatFs/integer.h (100%) rename radio/src/{ => thirdparty}/FatFs/option/cc932.c (100%) rename radio/src/{ => thirdparty}/FatFs/option/cc936.c (100%) rename radio/src/{ => thirdparty}/FatFs/option/cc949.c (100%) rename radio/src/{ => thirdparty}/FatFs/option/cc950.c (100%) rename radio/src/{ => thirdparty}/FatFs/option/ccsbcs.c (100%) rename radio/src/{ => thirdparty}/FatFs/option/syscall.c (100%) rename radio/src/{ => thirdparty}/FatFs/option/unicode.c (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/.gitignore (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/COPYING (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/README (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/ardupilotmega.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_ahrs.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_ap_adc.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data16.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data32.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data64.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data96.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_digicam_configure.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_digicam_control.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_fetch_point.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_point.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_status.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_hwstatus.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_limits_status.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_meminfo.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_configure.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_control.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_status.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_radio.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_rangefinder.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_sensor_offsets.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_set_mag_offsets.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_simstate.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_wind.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/testsuite.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/ardupilotmega/version.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/checksum.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/common.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_attitude.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_attitude_quaternion.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_auth_key.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_battery_status.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_change_operator_control.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_change_operator_control_ack.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_command_ack.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_command_long.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_data_stream.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_debug.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_debug_vect.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_dir_list.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_res.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_start.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_position_int.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_position_setpoint_int.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_vision_position_estimate.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_global_origin.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_raw_int.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_status.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_heartbeat.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_highres_imu.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_controls.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_gps.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_optical_flow.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_rc_inputs_raw.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_sensor.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_state.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_state_quaternion.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_ned.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_ned_system_global_offset.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_setpoint.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_manual_control.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_manual_setpoint.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_memory_vect.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_ack.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_clear_all.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_count.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_current.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_item.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_item_reached.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request_list.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request_partial_list.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_set_current.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_write_partial_list.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_named_value_float.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_named_value_int.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_nav_controller_output.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_omnidirectional_flow.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_optical_flow.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_request_list.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_request_read.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_set.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_value.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_ping.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_radio_status.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_raw_imu.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_raw_pressure.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_override.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_raw.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_scaled.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_request_data_stream.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_rates_thrust_setpoint.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_speed_thrust_setpoint.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_thrust_setpoint.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_safety_allowed_area.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_safety_set_allowed_area.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_scaled_imu.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_scaled_pressure.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_servo_output_raw.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_global_position_setpoint_int.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_gps_global_origin.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_local_position_setpoint.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_mode.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_motors_setpoint.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_swarm_led_roll_pitch_yaw_thrust.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_swarm_roll_pitch_yaw_thrust.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_roll_pitch_yaw_speed_thrust.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_roll_pitch_yaw_thrust.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_setpoint_6dof.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_setpoint_8dof.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_sim_state.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_state_correction.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_statustext.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_sys_status.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_system_time.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_vfr_hud.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_vicon_position_estimate.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_vision_position_estimate.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/mavlink_msg_vision_speed_estimate.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/testsuite.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/common/version.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/mavlink_conversions.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/mavlink_helpers.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/mavlink_protobuf_manager.hpp (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/mavlink_types.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/include_v1.0/protocol.h (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/message_definitions_v1.0/ardupilotmega.xml (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/message_definitions_v1.0/autoquad.xml (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/message_definitions_v1.0/common.xml (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/message_definitions_v1.0/matrixpilot.xml (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/message_definitions_v1.0/minimal.xml (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/message_definitions_v1.0/pixhawk.proto (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/message_definitions_v1.0/pixhawk.xml (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/message_definitions_v1.0/sensesoar.xml (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/message_definitions_v1.0/slugs.xml (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/message_definitions_v1.0/test.xml (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/message_definitions_v1.0/ualberta.xml (100%) rename radio/src/{ => thirdparty}/GCS_MAVLink/sync (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/stm32f2xx.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/system_stm32f2xx.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc_ride7/startup_stm32f2xx.s (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/system_stm32f2xx.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/arm_common_tables.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/arm_math.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm0.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm3.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm4.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm4_simd.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cmFunc.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cmInstr.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/misc.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_adc.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_can.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_crc.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_cryp.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dac.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dbgmcu.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dcmi.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dma.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_exti.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_flash.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_fsmc.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_gpio.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_hash.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_i2c.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_iwdg.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_pwr.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rcc.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rng.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rtc.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_sdio.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_spi.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_syscfg.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_tim.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_usart.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_wwdg.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/misc.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_adc.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_can.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_crc.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_aes.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_des.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_tdes.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dac.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dbgmcu.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dcmi.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dma.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_exti.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_flash.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_fsmc.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_gpio.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash_md5.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash_sha1.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_i2c.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_iwdg.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_pwr.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rcc.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rng.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rtc.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_sdio.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_spi.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_syscfg.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_tim.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_usart.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_wwdg.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f40_41xxx.s (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_common_tables.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_const_structs.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_math.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm0.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm0plus.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm3.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm4.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm4_simd.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cmFunc.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cmInstr.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_sc000.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_sc300.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/misc.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_adc.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_can.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_crc.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_cryp.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dac.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dbgmcu.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dcmi.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma2d.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_exti.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash_ramfunc.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fmc.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fsmc.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_hash.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_i2c.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_iwdg.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_ltdc.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_pwr.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rcc.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rng.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rtc.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sai.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sdio.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_spi.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_syscfg.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_tim.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_usart.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_wwdg.h (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/misc.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_crc.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_aes.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_des.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dac.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dbgmcu.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dcmi.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma2d.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_exti.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash_ramfunc.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmc.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fsmc.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_md5.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_sha1.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_i2c.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_iwdg.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_ltdc.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_pwr.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rng.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rtc.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sai.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sdio.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_syscfg.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_tim.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_usart.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_wwdg.c (100%) mode change 100755 => 100644 rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/inc/usbd_audio_core.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/inc/usbd_audio_out_if.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/src/usbd_audio_core.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/src/usbd_audio_out_if.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/inc/usbd_cdc_core.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/inc/usbd_cdc_if_template.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/src/usbd_cdc_core.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/src/usbd_cdc_if_template.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_dfu_core.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_dfu_mal.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_flash_if.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_mem_if_template.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_otp_if.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_dfu_core.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_dfu_mal.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_flash_if.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_mem_if_template.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_otp_if.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/hid/inc/usbd_hid_core.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/hid/src/usbd_hid_core.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_bot.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_core.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_data.h (94%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_mem.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_scsi.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_bot.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_core.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_data.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_scsi.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_conf_template.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_core.h (94%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_def.h (96%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_ioreq.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_req.h (94%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_usr.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_core.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_ioreq.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_req.c (95%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Release_Notes.html (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/Release_Notes.html (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_bsp.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_conf_template.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_core.h (96%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd_int.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_defines.h (95%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_hcd.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_hcd_int.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_otg.h (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_regs.h (94%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_core.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd_int.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_hcd.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_hcd_int.c (100%) rename radio/src/{targets/taranis => thirdparty}/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_otg.c (100%) diff --git a/companion/src/CMakeLists.txt b/companion/src/CMakeLists.txt index 38aa68fed..2149f2691 100644 --- a/companion/src/CMakeLists.txt +++ b/companion/src/CMakeLists.txt @@ -74,42 +74,11 @@ set(RADIO_SRC_DIRECTORY ${PROJECT_SOURCE_DIR}/../../radio/src) set(SIMU_SRC_DIRECTORY ${PROJECT_SOURCE_DIR}/simulation) set(COMPANION_SRC_DIRECTORY ${PROJECT_SOURCE_DIR}) -add_custom_command( - OUTPUT ${RADIO_SRC_DIRECTORY}/bitmaps/9X/about.lbm - COMMAND make lbm PCB=9X - DEPENDS ${RADIO_SRC_DIRECTORY}/bitmaps/9X/about.png - WORKING_DIRECTORY ${RADIO_SRC_DIRECTORY} -) - -add_custom_command( - OUTPUT ${RADIO_SRC_DIRECTORY}/bitmaps/Taranis/about.lbm - COMMAND make lbm PCB=TARANIS - DEPENDS ${RADIO_SRC_DIRECTORY}/bitmaps/Taranis/about.png - WORKING_DIRECTORY ${RADIO_SRC_DIRECTORY} -) - -add_custom_command( - OUTPUT ${RADIO_SRC_DIRECTORY}/translations/en.h - COMMAND make tra - DEPENDS ${RADIO_SRC_DIRECTORY}/translations/en.h.txt - WORKING_DIRECTORY ${RADIO_SRC_DIRECTORY} -) - -add_custom_command( - OUTPUT ${RADIO_SRC_DIRECTORY}/lua_exports.inc - COMMAND make PCB=TARANIS lua_exports.cpp - DEPENDS ${RADIO_SRC_DIRECTORY}/myeeprom.h - WORKING_DIRECTORY ${RADIO_SRC_DIRECTORY} -) - include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${PROJECT_SOURCE_DIR}/../.. ${PROJECT_SOURCE_DIR}/shared ${SIMU_SRC_DIRECTORY} - ${RADIO_SRC_DIRECTORY} - ${RADIO_SRC_DIRECTORY}/fonts/std - ${RADIO_SRC_DIRECTORY}/lua/src ${XSD_INCLUDE_DIR} ) @@ -117,6 +86,7 @@ add_subdirectory(shared) add_subdirectory(modeledit) add_subdirectory(generaledit) add_subdirectory(simulation) +add_subdirectory(firmwares/opentx/simulator) set(common_SRCS eeprominterface.cpp @@ -128,21 +98,11 @@ set(common_SRCS firmwares/gruvin9x/gruvin9xinterface.cpp firmwares/ersky9x/ersky9xeeprom.cpp firmwares/ersky9x/ersky9xinterface.cpp - ${RADIO_SRC_DIRECTORY}/bitmaps/9X/about.lbm - ${RADIO_SRC_DIRECTORY}/bitmaps/Taranis/about.lbm - ${RADIO_SRC_DIRECTORY}/translations/en.h - ${RADIO_SRC_DIRECTORY}/lua_exports.inc firmwares/opentx/opentxeeprom.cpp firmwares/opentx/open9xStockeeprom.cpp firmwares/opentx/open9xGruvin9xeeprom.cpp firmwares/opentx/open9xSky9xeeprom.cpp firmwares/opentx/opentxinterface.cpp - firmwares/opentx/opentxTaranisSimulator.cpp - firmwares/opentx/opentxTaranisX9ESimulator.cpp - firmwares/opentx/opentxSky9xsimulator.cpp - firmwares/opentx/opentxGruvin9xsimulator.cpp - firmwares/opentx/opentxM128simulator.cpp - firmwares/opentx/opentxM64simulator.cpp file.cpp appdata.cpp ) @@ -307,45 +267,11 @@ ELSE( ) ADD_EXECUTABLE( ${PROJECT_NAME} WIN32 ${companion_SRCS} ${companion_QM} ) ENDIF( ) -TARGET_LINK_LIBRARIES( ${PROJECT_NAME} generaledit modeledit simulation common shared ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY} ${XERCESC_LIBRARY} ${PTHREAD_LIBRARY} ${SDL_LIBRARY} ${PHONON_LIBS} ) +TARGET_LINK_LIBRARIES( ${PROJECT_NAME} generaledit modeledit simulation common shared ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY} ${XERCESC_LIBRARY} ${PTHREAD_LIBRARY} ${SDL_LIBRARY} ${PHONON_LIBS}) ############# Standalone simu ############### -set(TH9X_CHECKOUT_DIRECTORY ${PROJECT_BINARY_DIR}/firmwares/th9x) -add_custom_command( - OUTPUT ${TH9X_CHECKOUT_DIRECTORY}/th9xsimulator.cpp - COMMAND ${CMAKE_COMMAND} -E make_directory ${TH9X_CHECKOUT_DIRECTORY} - COMMAND cd ${TH9X_CHECKOUT_DIRECTORY} && svn checkout http://th9x.googlecode.com/svn/trunk/src@285 . - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/th9x/th9xsimulator.cpp ${TH9X_CHECKOUT_DIRECTORY} - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/th9x/th9xsimulator.cpp -) - -set(ER9X_CHECKOUT_DIRECTORY ${PROJECT_BINARY_DIR}/firmwares/er9x) -add_custom_command( - OUTPUT ${ER9X_CHECKOUT_DIRECTORY}/er9xsimulator.cpp - COMMAND ${CMAKE_COMMAND} -E make_directory ${ER9X_CHECKOUT_DIRECTORY} - COMMAND cd ${ER9X_CHECKOUT_DIRECTORY} && svn checkout http://er9x.googlecode.com/svn/trunk/src@790 . - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/er9x/er9xsimulator.cpp ${ER9X_CHECKOUT_DIRECTORY} - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/er9x/er9xsimulator.cpp -) - -set(ERSKY9X_CHECKOUT_DIRECTORY ${PROJECT_BINARY_DIR}/firmwares/ersky9x) -add_custom_command( - OUTPUT ${ERSKY9X_CHECKOUT_DIRECTORY}/ersky9xsimulator.cpp - COMMAND ${CMAKE_COMMAND} -E make_directory ${ERSKY9X_CHECKOUT_DIRECTORY} - COMMAND cd ${ERSKY9X_CHECKOUT_DIRECTORY} && svn checkout http://ersky9x.googlecode.com/svn/trunk/src@170 . - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/ersky9x/ersky9xsimulator.cpp ${ERSKY9X_CHECKOUT_DIRECTORY} - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/ersky9x/ersky9xsimulator.cpp -) - set(simu_SRCS - ${TH9X_CHECKOUT_DIRECTORY}/th9xsimulator.cpp - ${ER9X_CHECKOUT_DIRECTORY}/er9xsimulator.cpp - ${ERSKY9X_CHECKOUT_DIRECTORY}/ersky9xsimulator.cpp - ${RADIO_SRC_DIRECTORY}/bitmaps/9X/about.lbm - ${RADIO_SRC_DIRECTORY}/bitmaps/Taranis/about.lbm - ${RADIO_SRC_DIRECTORY}/translations/en.h - ${RADIO_SRC_DIRECTORY}/lua_exports.inc modeledit/node.cpp modeledit/edge.cpp # TODO not needed simulator.cpp @@ -369,10 +295,10 @@ else() add_executable(simulator WIN32 ${simu_SRCS}) endif() -if(SDL_FOUND) - target_link_libraries(simulator simulation common ${QT_LIBRARIES} ${PTHREAD_LIBRARY} ${SDL_LIBRARY} ${PHONON_LIBS}) -else() - target_link_libraries(simulator simulation common ${QT_LIBRARIES} ${QT_QTMAIN_LIBRARY} ${PTHREAD_LIBRARY} ${SDL_LIBRARY} ${PHONON_LIBS}) +target_link_libraries(simulator simulation common ${QT_LIBRARIES} ${PTHREAD_LIBRARY} ${SDL_LIBRARY} ${PHONON_LIBS} ${OPENTX_SIMULATOR_LIBS}) + +if(NOT SDL_FOUND) + target_link_libraries(simulator ${QT_QTMAIN_LIBRARY}) endif() ############# Packaging #################### diff --git a/companion/src/companion.cpp b/companion/src/companion.cpp index 0a9d9ec63..429951610 100644 --- a/companion/src/companion.cpp +++ b/companion/src/companion.cpp @@ -98,6 +98,7 @@ int main(int argc, char *argv[]) registerEEpromInterfaces(); registerOpenTxFirmwares(); + registerSimulators(); if (g.profile[g.id()].fwType().isEmpty()){ g.profile[g.id()].fwType(default_firmware_variant->getId()); diff --git a/companion/src/constants.h b/companion/src/constants.h new file mode 100644 index 000000000..3f319b666 --- /dev/null +++ b/companion/src/constants.h @@ -0,0 +1,38 @@ +#ifndef _constants_h_ +#define _constants_h_ + +enum BoardEnum { + BOARD_STOCK, + BOARD_M128, + BOARD_MEGA2560, + BOARD_GRUVIN9X, + BOARD_SKY9X, + BOARD_9XRPRO, + BOARD_TARANIS, + BOARD_TARANIS_PLUS, + BOARD_TARANIS_X9E +}; + +#define C9X_MAX_MODELS 60 +#define C9X_MAX_TIMERS 3 +#define C9X_MAX_FLIGHT_MODES 9 +#define C9X_MAX_MIXERS 64 +#define C9X_MAX_INPUTS 32 +#define C9X_MAX_EXPOS 64 +#define C9X_MAX_CURVES 32 +#define C9X_MAX_POINTS 17 +#define C9X_MAX_GVARS 9 +#define C9X_MAX_ENCODERS 2 +#define C9X_NUM_CHNOUT 32 // number of real output channels +#define C9X_NUM_CSW 32 // number of custom switches +#define C9X_MAX_CUSTOM_FUNCTIONS 64 // number of functions assigned to switches +#define C9X_NUM_MODULES 2 +#define NUM_STICKS 4 +#define BOARD_9X_NUM_POTS 3 +#define C9X_NUM_POTS 8 +#define NUM_CAL_PPM 4 +#define NUM_CYC 3 +#define C9X_NUM_SWITCHES 32 +#define C9X_NUM_KEYS 32 + +#endif diff --git a/companion/src/eeprominterface.cpp b/companion/src/eeprominterface.cpp index b62ddcd76..7575b63f2 100644 --- a/companion/src/eeprominterface.cpp +++ b/companion/src/eeprominterface.cpp @@ -1615,3 +1615,13 @@ void Firmware::addOptions(Option options[]) } this->opts.push_back(opts); } + +SimulatorInterface *GetCurrentFirmwareSimulator() +{ + QString firmwareId = GetCurrentFirmware()->getId(); + SimulatorFactory *factory = getSimulatorFactory(firmwareId); + if (factory) + return factory->create(); + else + return NULL; +} diff --git a/companion/src/eeprominterface.h b/companion/src/eeprominterface.h index 96da8cc1c..0684fafd4 100644 --- a/companion/src/eeprominterface.h +++ b/companion/src/eeprominterface.h @@ -17,19 +17,14 @@ #ifndef eeprom_interface_h #define eeprom_interface_h -#include #include #include #include #include #include #include - -#if __GNUC__ - #define PACK( __Declaration__ ) __Declaration__ __attribute__((__packed__)) -#else - #include "../targets/windows/winbuild.h" -#endif +#include "constants.h" +#include "simulatorinterface.h" #define EESIZE_STOCK 2048 #define EESIZE_M128 4096 @@ -39,20 +34,6 @@ #define EESIZE_9XRPRO (128*4096) #define EESIZE_RLC_MAX EESIZE_TARANIS -template t LIMIT(t mi, t x, t ma) { return std::min(std::max(mi, x), ma); } - -enum BoardEnum { - BOARD_STOCK, - BOARD_M128, - BOARD_MEGA2560, - BOARD_GRUVIN9X, - BOARD_SKY9X, - BOARD_9XRPRO, - BOARD_TARANIS, - BOARD_TARANIS_PLUS, - BOARD_TARANIS_X9E -}; - QString getBoardName(BoardEnum board); #define IS_9X(board) (board==BOARD_STOCK || board==BOARD_M128) @@ -71,21 +52,6 @@ const uint8_t modn12x3[4][4]= { {4, 2, 3, 1}, {4, 3, 2, 1} }; -#define C9X_MAX_MODELS 60 -#define C9X_MAX_TIMERS 3 -#define C9X_MAX_FLIGHT_MODES 9 -#define C9X_MAX_MIXERS 64 -#define C9X_MAX_INPUTS 32 -#define C9X_MAX_EXPOS 64 -#define C9X_MAX_CURVES 32 -#define C9X_MAX_POINTS 17 -#define C9X_MAX_GVARS 9 -#define C9X_MAX_ENCODERS 2 -#define C9X_NUM_CHNOUT 32 // number of real output channels -#define C9X_NUM_CSW 32 // number of custom switches -#define C9X_MAX_CUSTOM_FUNCTIONS 64 // number of functions assigned to switches -#define C9X_NUM_MODULES 2 - #define STK_RUD 1 #define STK_ELE 2 #define STK_THR 3 @@ -197,14 +163,6 @@ enum HeliSwashTypes { HELI_SWASH_TYPE_90 }; -#define NUM_STICKS 4 -#define BOARD_9X_NUM_POTS 3 -#define C9X_NUM_POTS 8 -#define NUM_CAL_PPM 4 -#define NUM_CYC 3 -#define C9X_NUM_SWITCHES 10 -#define C9X_NUM_KEYS 6 - extern const char * switches9X[]; extern const char * switchesX9D[]; extern const char leftArrow[]; @@ -1565,11 +1523,6 @@ class Firmware { virtual bool isTelemetrySourceAvailable(int source) = 0; - virtual SimulatorInterface * getSimulator() - { - return NULL; - } - public: QList languages; QList ttslanguages; @@ -1599,6 +1552,8 @@ inline Firmware * GetCurrentFirmware() return current_firmware_variant; } +SimulatorInterface *getCurrentFirmwareSimulator(); + inline EEPROMInterface * GetEepromInterface() { return GetCurrentFirmware()->getEepromInterface(); @@ -1611,4 +1566,6 @@ inline int divRoundClosest(const int n, const int d) #define CHECK_IN_ARRAY(T, index) ((unsigned int)index < (unsigned int)(sizeof(T)/sizeof(T[0])) ? T[(unsigned int)index] : "???") +SimulatorInterface * GetCurrentFirmwareSimulator(); + #endif diff --git a/companion/src/firmwares/er9x/er9xinterface.cpp b/companion/src/firmwares/er9x/er9xinterface.cpp index 8f4bce4e8..7961a2597 100644 --- a/companion/src/firmwares/er9x/er9xinterface.cpp +++ b/companion/src/firmwares/er9x/er9xinterface.cpp @@ -17,7 +17,7 @@ #include #include "er9xinterface.h" #include "er9xeeprom.h" -#include "er9xsimulator.h" +#include "simulator/er9xsimulator.h" #include "file.h" #include "appdata.h" diff --git a/companion/src/firmwares/er9x/simulator/CMakeLists.txt b/companion/src/firmwares/er9x/simulator/CMakeLists.txt new file mode 100644 index 000000000..e633efbce --- /dev/null +++ b/companion/src/firmwares/er9x/simulator/CMakeLists.txt @@ -0,0 +1,15 @@ +set(ER9X_CHECKOUT_DIRECTORY ${PROJECT_BINARY_DIR}/firmwares/er9x) +add_custom_command( + OUTPUT ${ER9X_CHECKOUT_DIRECTORY}/er9xsimulator.cpp + COMMAND ${CMAKE_COMMAND} -E make_directory ${ER9X_CHECKOUT_DIRECTORY} + COMMAND cd ${ER9X_CHECKOUT_DIRECTORY} && svn checkout http://er9x.googlecode.com/svn/trunk/src@790 . + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/er9x/er9xsimulator.cpp ${ER9X_CHECKOUT_DIRECTORY} + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/er9x/er9xsimulator.cpp +) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${PROJECT_SOURCE_DIR} +) + +add_library(er9x-simulator er9xsimulator.cpp) diff --git a/companion/src/firmwares/er9x/er9xsimulator.cpp b/companion/src/firmwares/er9x/simulator/er9xsimulator.cpp similarity index 100% rename from companion/src/firmwares/er9x/er9xsimulator.cpp rename to companion/src/firmwares/er9x/simulator/er9xsimulator.cpp diff --git a/companion/src/firmwares/er9x/er9xsimulator.h b/companion/src/firmwares/er9x/simulator/er9xsimulator.h similarity index 96% rename from companion/src/firmwares/er9x/er9xsimulator.h rename to companion/src/firmwares/er9x/simulator/er9xsimulator.h index 7ec83fc1c..f6fb7fad6 100644 --- a/companion/src/firmwares/er9x/er9xsimulator.h +++ b/companion/src/firmwares/er9x/simulator/er9xsimulator.h @@ -50,8 +50,6 @@ class Er9xSimulator : public SimulatorInterface { virtual const char * getPhaseName(unsigned int phase) { return 0; } - virtual void wheelEvent(uint8_t steps) { } - virtual const char * getError(); virtual void sendTelemetry(uint8_t * data, unsigned int len) {}; diff --git a/companion/src/firmwares/ersky9x/ersky9xinterface.cpp b/companion/src/firmwares/ersky9x/ersky9xinterface.cpp index 64717477e..9d10ff3de 100644 --- a/companion/src/firmwares/ersky9x/ersky9xinterface.cpp +++ b/companion/src/firmwares/ersky9x/ersky9xinterface.cpp @@ -18,7 +18,7 @@ #include #include "ersky9xinterface.h" #include "ersky9xeeprom.h" -#include "ersky9xsimulator.h" +#include "simulator/ersky9xsimulator.h" #include "file.h" #define FILE_TYP_GENERAL 1 diff --git a/companion/src/firmwares/ersky9x/simulator/CMakeLists.txt b/companion/src/firmwares/ersky9x/simulator/CMakeLists.txt new file mode 100644 index 000000000..ef8454cf3 --- /dev/null +++ b/companion/src/firmwares/ersky9x/simulator/CMakeLists.txt @@ -0,0 +1,15 @@ +set(ERSKY9X_CHECKOUT_DIRECTORY ${PROJECT_BINARY_DIR}/firmwares/ersky9x) +add_custom_command( + OUTPUT ${ERSKY9X_CHECKOUT_DIRECTORY}/ersky9xsimulator.cpp + COMMAND ${CMAKE_COMMAND} -E make_directory ${ERSKY9X_CHECKOUT_DIRECTORY} + COMMAND cd ${ERSKY9X_CHECKOUT_DIRECTORY} && svn checkout http://ersky9x.googlecode.com/svn/trunk/src@170 . + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/ersky9x/ersky9xsimulator.cpp ${ERSKY9X_CHECKOUT_DIRECTORY} + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/ersky9x/ersky9xsimulator.cpp +) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${PROJECT_SOURCE_DIR} +) + +add_library(ersky9x-simulator ersky9xsimulator.cpp) diff --git a/companion/src/firmwares/ersky9x/ersky9xsimulator.cpp b/companion/src/firmwares/ersky9x/simulator/ersky9xsimulator.cpp similarity index 100% rename from companion/src/firmwares/ersky9x/ersky9xsimulator.cpp rename to companion/src/firmwares/ersky9x/simulator/ersky9xsimulator.cpp diff --git a/companion/src/firmwares/ersky9x/ersky9xsimulator.h b/companion/src/firmwares/ersky9x/simulator/ersky9xsimulator.h similarity index 97% rename from companion/src/firmwares/ersky9x/ersky9xsimulator.h rename to companion/src/firmwares/ersky9x/simulator/ersky9xsimulator.h index 291b5bb73..57737257d 100644 --- a/companion/src/firmwares/ersky9x/ersky9xsimulator.h +++ b/companion/src/firmwares/ersky9x/simulator/ersky9xsimulator.h @@ -50,8 +50,6 @@ class Ersky9xSimulator : public SimulatorInterface { virtual const char * getPhaseName(unsigned int phase) { return 0; } - virtual void wheelEvent(uint8_t steps) { } - virtual const char * getError(); virtual void sendTelemetry(uint8_t * data, unsigned int len) {}; diff --git a/companion/src/firmwares/opentx/opentxGruvin9xsimulator.cpp b/companion/src/firmwares/opentx/opentxGruvin9xsimulator.cpp deleted file mode 100644 index 244a01e98..000000000 --- a/companion/src/firmwares/opentx/opentxGruvin9xsimulator.cpp +++ /dev/null @@ -1,250 +0,0 @@ -/* - * Author - Bertrand Songis - * - * Based on th9x -> http://code.google.com/p/th9x/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - * - */ - -#include "opentxGruvin9xsimulator.h" -#include "opentxinterface.h" -#include "opentxeeprom.h" - -#define SIMU -#define SIMU_EXCEPTIONS -#define PCBGRUVIN9X -#define CPUM2560 -#define GUI -#define ROTARY_ENCODERS 2 -#define HELI -#define TEMPLATES -#define SPLASH -#define FLIGHT_MODES -#define FRSKY -#define FRSKY_HUB -#define WS_HOW_HIGH -#define VARIO -#define PPM_UNIT_PERCENT_PREC1 -#define BUZZER -#define AUDIO -#define HAPTIC -#define AUTOSWITCH -#define GRAPHICS -#define CURVES -#define GVARS -#define BOLD_FONT -#define VOICE -#define PPM_CENTER_ADJUSTABLE -#define PPM_LIMITS_SYMETRICAL -#define GAUGES -#define GPS -#define FAI_CHOICE -#define FRSKY_STICKS -#define OVERRIDE_CHANNEL_FUNCTION -#define TIMERS 2 -#define THRTRACE - -#define FLAVOUR "gruvin9x" -#define EEPROM_VARIANT 3 - -#undef min -#undef max - -#include - -namespace Open9xGruvin9x { -#include "radio/src/targets/gruvin9x/board_gruvin9x.cpp" -#include "radio/src/targets/common_avr/telemetry_driver.cpp" -#include "radio/src/eeprom_common.cpp" -#include "radio/src/eeprom_rlc.cpp" -#include "radio/src/opentx.cpp" -#include "radio/src/main_avr.cpp" -#include "radio/src/strhelpers.cpp" -#include "radio/src/switches.cpp" -#include "radio/src/functions.cpp" -#include "radio/src/curves.cpp" -#include "radio/src/mixer.cpp" -#include "radio/src/timers.cpp" -#include "radio/src/pulses/pulses_avr.cpp" -#include "radio/src/stamp.cpp" -#include "radio/src/maths.cpp" -#include "radio/src/vario.cpp" -#include "radio/src/gui/9X/widgets.cpp" -#include "radio/src/gui/9X/navigation.cpp" -#include "radio/src/gui/9X/popups.cpp" -#include "radio/src/gui/9X/helpers.cpp" -#include "radio/src/gui/9X/menus.cpp" -#include "radio/src/gui/9X/menu_model.cpp" -#include "radio/src/gui/9X/menu_model_select.cpp" -#include "radio/src/gui/9X/menu_model_setup.cpp" -#include "radio/src/gui/9X/menu_model_heli.cpp" -#include "radio/src/gui/9X/menu_model_flightmodes.cpp" -#include "radio/src/gui/9X/menu_model_inputs_mixes.cpp" -#include "radio/src/gui/9X/menu_model_logical_switches.cpp" -#include "radio/src/gui/9X/menu_model_custom_functions.cpp" -#include "radio/src/gui/9X/menu_model_curves.cpp" -#include "radio/src/gui/9X/menu_model_limits.cpp" -#include "radio/src/gui/9X/menu_model_telemetry.cpp" -#include "radio/src/gui/9X/menu_model_templates.cpp" -#include "radio/src/gui/9X/menu_general.cpp" -#include "radio/src/gui/9X/menu_general_setup.cpp" -#include "radio/src/gui/9X/menu_general_trainer.cpp" -#include "radio/src/gui/9X/menu_general_version.cpp" -#include "radio/src/gui/9X/menu_general_diagkeys.cpp" -#include "radio/src/gui/9X/menu_general_diaganas.cpp" -#include "radio/src/gui/9X/menu_general_calib.cpp" -#include "radio/src/gui/9X/view_main.cpp" -#include "radio/src/gui/9X/view_statistics.cpp" -#include "radio/src/gui/9X/view_telemetry.cpp" -#include "radio/src/gui/9X/lcd.cpp" -#include "radio/src/gui/9X/splash.cpp" -#include "radio/src/keys.cpp" -#include "radio/src/targets/simu/simpgmspace.cpp" -#include "radio/src/templates.cpp" -#include "radio/src/translations.cpp" -#include "radio/src/gui/9X/fonts.cpp" -#include "radio/src/audio_avr.cpp" -#include "radio/src/buzzer.cpp" -#include "radio/src/targets/gruvin9x/somo14d.cpp" -#include "radio/src/telemetry/frsky.cpp" -#include "radio/src/telemetry/frsky_d.cpp" -#include "radio/src/translations/tts_en.cpp" -#include "radio/src/haptic.cpp" - -int16_t g_anas[NUM_STICKS+BOARD_9X_NUM_POTS]; - -uint16_t anaIn(uint8_t chan) -{ - if (chan == 7) - return 150; - else - return g_anas[chan]; -} - -bool hasExtendedTrims() -{ - return g_model.extendedTrims; -} - -uint8_t getStickMode() -{ - return limit(0, g_eeGeneral.stickMode, 3); -} - -} - -using namespace Open9xGruvin9x; - -Open9xGruvin9xSimulator::Open9xGruvin9xSimulator() -{ -} - -bool Open9xGruvin9xSimulator::timer10ms() -{ -#define TIMER10MS_IMPORT -#include "simulatorimport.h" -} - -uint8_t * Open9xGruvin9xSimulator::getLcd() -{ -#define GETLCD_IMPORT -#include "simulatorimport.h" -} - -bool Open9xGruvin9xSimulator::lcdChanged(bool & lightEnable) -{ -#define LCDCHANGED_IMPORT -#include "simulatorimport.h" -} - -void Open9xGruvin9xSimulator::start(QByteArray & eeprom, bool tests) -{ - g_rotenc[0] = 0; - g_rotenc[1] = 0; - memcpy(Open9xGruvin9x::eeprom, eeprom.data(), std::min(sizeof(Open9xGruvin9x::eeprom), eeprom.size())); - StartEepromThread(NULL); - StartMainThread(tests); -} - -void Open9xGruvin9xSimulator::start(const char * filename, bool tests) -{ - g_rotenc[0] = 0; - g_rotenc[1] = 0; - StartEepromThread(filename); - StartMainThread(tests); -} - -void Open9xGruvin9xSimulator::stop() -{ - StopMainThread(); - StopEepromThread(); -} - -void Open9xGruvin9xSimulator::getValues(TxOutputs &outputs) -{ -#define GETVALUES_IMPORT -#define g_chans512 channelOutputs -#include "simulatorimport.h" - outputs.beep = g_beepCnt; - g_beepCnt = 0; -} - -void Open9xGruvin9xSimulator::setValues(TxInputs &inputs) -{ -#define SETVALUES_IMPORT -#include "simulatorimport.h" -} - -void Open9xGruvin9xSimulator::setTrim(unsigned int idx, int value) -{ - idx = Open9xGruvin9x::modn12x3[4*getStickMode() + idx]; - uint8_t phase = getTrimFlightPhase(getFlightMode(), idx); - setTrimValue(phase, idx, value); -} - -void Open9xGruvin9xSimulator::getTrims(Trims & trims) -{ - uint8_t phase = getFlightMode(); - trims.extended = hasExtendedTrims(); - for (uint8_t idx=0; idx<4; idx++) { - trims.values[idx] = getTrimValue(getTrimFlightPhase(phase, idx), idx); - } - - for (int i=0; i<2; i++) { - uint8_t idx = Open9xGruvin9x::modn12x3[4*getStickMode() + i]; - int16_t tmp = trims.values[i]; - trims.values[i] = trims.values[idx]; - trims.values[idx] = tmp; - } -} - -void Open9xGruvin9xSimulator::wheelEvent(uint8_t steps) -{ - g_rotenc[0] += steps; -} - -unsigned int Open9xGruvin9xSimulator::getPhase() -{ - return getFlightMode(); -} - -const char * Open9xGruvin9xSimulator::getPhaseName(unsigned int phase) -{ - static char buff[sizeof(g_model.flightModeData[0].name)+1]; - zchar2str(buff, g_model.flightModeData[phase].name, sizeof(g_model.flightModeData[0].name)); - return buff; -} - -const char * Open9xGruvin9xSimulator::getError() -{ -#define GETERROR_IMPORT -#include "simulatorimport.h" -} diff --git a/companion/src/firmwares/opentx/opentxGruvin9xsimulator.h b/companion/src/firmwares/opentx/opentxGruvin9xsimulator.h deleted file mode 100644 index fa557d22d..000000000 --- a/companion/src/firmwares/opentx/opentxGruvin9xsimulator.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Author - Bertrand Songis - * - * Based on th9x -> http://code.google.com/p/th9x/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - * - */ - -#ifndef open9xGruvin9x_simulator_h -#define open9xGruvin9x_simulator_h - -#include "simulatorinterface.h" - -class RadioData; -class OpenTxEepromInterface; - -class Open9xGruvin9xSimulator : public SimulatorInterface { - - public: - - Open9xGruvin9xSimulator(); - - virtual void start(QByteArray & eeprom, bool tests=true); - - virtual void start(const char * filename, bool tests=true); - - virtual void stop(); - - virtual bool timer10ms(); - - virtual uint8_t * getLcd(); - - virtual bool lcdChanged(bool & lightEnable); - - virtual void setValues(TxInputs &inputs); - - virtual void getValues(TxOutputs &outputs); - - virtual void setTrim(unsigned int idx, int value); - - virtual void getTrims(Trims & trims); - - virtual unsigned int getPhase(); - - virtual const char * getPhaseName(unsigned int phase); - - virtual void wheelEvent(uint8_t steps); - - virtual const char * getError(); - - virtual void sendTelemetry(uint8_t * data, unsigned int len) {}; - - virtual void setTrainerInput(unsigned int inputNumber, int16_t value) {}; - - virtual void installTraceHook(void (*callback)(const char *)) {}; -}; - -#endif diff --git a/companion/src/firmwares/opentx/opentxM128simulator.cpp b/companion/src/firmwares/opentx/opentxM128simulator.cpp deleted file mode 100644 index 5fe968394..000000000 --- a/companion/src/firmwares/opentx/opentxM128simulator.cpp +++ /dev/null @@ -1,243 +0,0 @@ -/* - * Author - Bertrand Songis - * - * Based on th9x -> http://code.google.com/p/th9x/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - * - */ - -#include "opentxM128simulator.h" -#include "opentxinterface.h" -#include "opentxeeprom.h" - -#define SIMU -#define SIMU_EXCEPTIONS -#define PCBSTD -#define CPUM128 -#define GUI -#define HELI -#define TEMPLATES -#define SPLASH -#define FLIGHT_MODES -#define FRSKY -#define FRSKY_HUB -#define WS_HOW_HIGH -#define VARIO -#define PPM_UNIT_PERCENT_PREC1 -#define AUDIO -#define HAPTIC -#define AUTOSWITCH -#define GRAPHICS -#define CURVES -#define GVARS -#define BOLD_FONT -#define VOICE -#define PPM_CENTER_ADJUSTABLE -#define PPM_LIMITS_SYMETRICAL -#define GAUGES -#define GPS -#define FAI_CHOICE -#define FRSKY_STICKS -#define DSM2 -#define DSM2_PPM -#define OVERRIDE_CHANNEL_FUNCTION -#define TIMERS 2 -#define GAUGES -#define THRTRACE - -#define FLAVOUR "9x128" -#define EEPROM_VARIANT SIMU_M128_VARIANTS - -#undef min -#undef max - -#include - -namespace OpenTxM128 { -#include "radio/src/targets/stock/board_stock.cpp" -#include "radio/src/targets/common_avr/telemetry_driver.cpp" -#include "radio/src/eeprom_common.cpp" -#include "radio/src/eeprom_rlc.cpp" -#include "radio/src/opentx.cpp" -#include "radio/src/main_avr.cpp" -#include "radio/src/strhelpers.cpp" -#include "radio/src/switches.cpp" -#include "radio/src/functions.cpp" -#include "radio/src/curves.cpp" -#include "radio/src/mixer.cpp" -#include "radio/src/timers.cpp" -#include "radio/src/pulses/pulses_avr.cpp" -#include "radio/src/stamp.cpp" -#include "radio/src/maths.cpp" -#include "radio/src/vario.cpp" -#include "radio/src/gui/9X/widgets.cpp" -#include "radio/src/gui/9X/navigation.cpp" -#include "radio/src/gui/9X/popups.cpp" -#include "radio/src/gui/9X/helpers.cpp" -#include "radio/src/gui/9X/menus.cpp" -#include "radio/src/gui/9X/menu_model.cpp" -#include "radio/src/gui/9X/menu_model_select.cpp" -#include "radio/src/gui/9X/menu_model_setup.cpp" -#include "radio/src/gui/9X/menu_model_heli.cpp" -#include "radio/src/gui/9X/menu_model_flightmodes.cpp" -#include "radio/src/gui/9X/menu_model_inputs_mixes.cpp" -#include "radio/src/gui/9X/menu_model_curves.cpp" -#include "radio/src/gui/9X/menu_model_logical_switches.cpp" -#include "radio/src/gui/9X/menu_model_custom_functions.cpp" -#include "radio/src/gui/9X/menu_model_limits.cpp" -#include "radio/src/gui/9X/menu_model_telemetry.cpp" -#include "radio/src/gui/9X/menu_model_templates.cpp" -#include "radio/src/gui/9X/menu_general.cpp" -#include "radio/src/gui/9X/menu_general_setup.cpp" -#include "radio/src/gui/9X/menu_general_trainer.cpp" -#include "radio/src/gui/9X/menu_general_version.cpp" -#include "radio/src/gui/9X/menu_general_diagkeys.cpp" -#include "radio/src/gui/9X/menu_general_diaganas.cpp" -#include "radio/src/gui/9X/menu_general_calib.cpp" -#include "radio/src/gui/9X/view_main.cpp" -#include "radio/src/gui/9X/view_statistics.cpp" -#include "radio/src/gui/9X/view_telemetry.cpp" -#include "radio/src/gui/9X/lcd.cpp" -#include "radio/src/gui/9X/splash.cpp" -#include "radio/src/keys.cpp" -#include "radio/src/targets/simu/simpgmspace.cpp" -#include "radio/src/templates.cpp" -#include "radio/src/translations.cpp" -#include "radio/src/gui/9X/fonts.cpp" -#include "radio/src/audio_avr.cpp" -#include "radio/src/targets/stock/voice.cpp" -#include "radio/src/telemetry/frsky.cpp" -#include "radio/src/telemetry/frsky_d.cpp" -#include "radio/src/translations/tts_en.cpp" -#include "radio/src/haptic.cpp" - -int16_t g_anas[NUM_STICKS+BOARD_9X_NUM_POTS]; - -uint16_t anaIn(uint8_t chan) -{ - if (chan == 7) - return 150; - else - return g_anas[chan]; -} - -bool hasExtendedTrims() -{ - return g_model.extendedTrims; -} - -uint8_t getStickMode() -{ - return limit(0, g_eeGeneral.stickMode, 3); -} - -} - -using namespace OpenTxM128; - -OpenTxM128Simulator::OpenTxM128Simulator() -{ -} - -bool OpenTxM128Simulator::timer10ms() -{ -#define TIMER10MS_IMPORT -#include "simulatorimport.h" -} - -uint8_t * OpenTxM128Simulator::getLcd() -{ -#define GETLCD_IMPORT -#include "simulatorimport.h" -} - -bool OpenTxM128Simulator::lcdChanged(bool & lightEnable) -{ -#define LCDCHANGED_IMPORT -#include "simulatorimport.h" -} - -void OpenTxM128Simulator::start(QByteArray & eeprom, bool tests) -{ - memcpy(OpenTxM128::eeprom, eeprom.data(), std::min(sizeof(OpenTxM128::eeprom), eeprom.size())); - StartEepromThread(NULL); - StartMainThread(tests); -} - -void OpenTxM128Simulator::start(const char * filename, bool tests) -{ - StartEepromThread(filename); - StartMainThread(tests); -} - -void OpenTxM128Simulator::stop() -{ - StopMainThread(); - StopEepromThread(); -} - -void OpenTxM128Simulator::getValues(TxOutputs &outputs) -{ -#define GETVALUES_IMPORT -#define g_chans512 channelOutputs -#include "simulatorimport.h" -} - -void OpenTxM128Simulator::setValues(TxInputs &inputs) -{ -#define SETVALUES_IMPORT -#include "simulatorimport.h" -} - -void OpenTxM128Simulator::setTrim(unsigned int idx, int value) -{ - idx = OpenTxM128::modn12x3[4*getStickMode() + idx]; - uint8_t phase = getTrimFlightPhase(getFlightMode(), idx); - setTrimValue(phase, idx, value); -} - -void OpenTxM128Simulator::getTrims(Trims & trims) -{ - uint8_t phase = getFlightMode(); - trims.extended = hasExtendedTrims(); - for (uint8_t idx=0; idx<4; idx++) { - trims.values[idx] = getTrimValue(getTrimFlightPhase(phase, idx), idx); - } - - for (int i=0; i<2; i++) { - uint8_t idx = OpenTxM128::modn12x3[4*getStickMode() + i]; - int16_t tmp = trims.values[i]; - trims.values[i] = trims.values[idx]; - trims.values[idx] = tmp; - } -} - -void OpenTxM128Simulator::wheelEvent(uint8_t steps) -{ -} - -unsigned int OpenTxM128Simulator::getPhase() -{ - return getFlightMode(); -} - -const char * OpenTxM128Simulator::getPhaseName(unsigned int phase) -{ - static char buff[sizeof(g_model.flightModeData[0].name)+1]; - zchar2str(buff, g_model.flightModeData[phase].name, sizeof(g_model.flightModeData[0].name)); - return buff; -} - -const char * OpenTxM128Simulator::getError() -{ -#define GETERROR_IMPORT -#include "simulatorimport.h" -} diff --git a/companion/src/firmwares/opentx/opentxM128simulator.h b/companion/src/firmwares/opentx/opentxM128simulator.h deleted file mode 100644 index 43f01948d..000000000 --- a/companion/src/firmwares/opentx/opentxM128simulator.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Author - Bertrand Songis - * - * Based on th9x -> http://code.google.com/p/th9x/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - * - */ - -#ifndef OpenTxM128_simulator_h -#define OpenTxM128_simulator_h - -#include "simulatorinterface.h" - -class RadioData; -class OpenTxEepromInterface; - -class OpenTxM128Simulator : public SimulatorInterface { - - public: - - OpenTxM128Simulator(); - - virtual void start(QByteArray & eeprom, bool tests=true); - - virtual void start(const char * filename, bool tests=true); - - virtual void stop(); - - virtual bool timer10ms(); - - virtual uint8_t * getLcd(); - - virtual bool lcdChanged(bool & lightEnable); - - virtual void setValues(TxInputs &inputs); - - virtual void getValues(TxOutputs &outputs); - - virtual void setTrim(unsigned int idx, int value); - - virtual void getTrims(Trims & trims); - - virtual unsigned int getPhase(); - - virtual const char * getPhaseName(unsigned int phase); - - virtual void wheelEvent(uint8_t steps); - - virtual const char * getError(); - - virtual void sendTelemetry(uint8_t * data, unsigned int len) {}; - - virtual void setTrainerInput(unsigned int inputNumber, int16_t value) {}; - - virtual void installTraceHook(void (*callback)(const char *)) {}; -}; - -#endif diff --git a/companion/src/firmwares/opentx/opentxM64simulator.cpp b/companion/src/firmwares/opentx/opentxM64simulator.cpp deleted file mode 100644 index 312303f17..000000000 --- a/companion/src/firmwares/opentx/opentxM64simulator.cpp +++ /dev/null @@ -1,247 +0,0 @@ -/* - * Author - Bertrand Songis - * - * Based on th9x -> http://code.google.com/p/th9x/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - * - */ - -#include "opentxM64simulator.h" -#include "opentxinterface.h" -#include "opentxeeprom.h" - -#define HELI -#define SIMU -#define SIMU_EXCEPTIONS -#define PCBSTD -#define CPUM64 -#define GUI -#define SPLASH -#define FLIGHT_MODES -#define PPM_UNIT_PERCENT_PREC1 -#define HELI -#define TEMPLATES -#define FRSKY -#define FRSKY_HUB -#define WS_HOW_HIGH -#define PXX -#define DSM2 -#define DSM2_PPM -#define VARIO -#define HAPTIC -#define AUTOSWITCH -#define GRAPHICS -#define CURVES -#define GVARS -#define BOLD_FONT -#define VOICE -#define PPM_CENTER_ADJUSTABLE -#define PPM_LIMITS_SYMETRICAL -#define BUZZER -#define GAUGES -#define GPS -#define FAI_CHOICE -#define FRSKY_STICKS -#define OVERRIDE_CHANNEL_FUNCTION -#define FAS_OFFSET -#define GAUGES -#define TIMERS 2 -#define NUM_POTS 3 -#define THRTRACE - -#define FLAVOUR "9x" -#define EEPROM_VARIANT SIMU_STOCK_VARIANTS - -#undef min -#undef max - -#include - -namespace OpenTxM64 { -#include "radio/src/targets/stock/board_stock.cpp" -#include "radio/src/targets/common_avr/telemetry_driver.cpp" -#include "radio/src/eeprom_common.cpp" -#include "radio/src/eeprom_rlc.cpp" -#include "radio/src/opentx.cpp" -#include "radio/src/main_avr.cpp" -#include "radio/src/strhelpers.cpp" -#include "radio/src/switches.cpp" -#include "radio/src/functions.cpp" -#include "radio/src/curves.cpp" -#include "radio/src/mixer.cpp" -#include "radio/src/timers.cpp" -#include "radio/src/pulses/pulses_avr.cpp" -#include "radio/src/stamp.cpp" -#include "radio/src/maths.cpp" -#include "radio/src/vario.cpp" -#include "radio/src/gui/9X/widgets.cpp" -#include "radio/src/gui/9X/navigation.cpp" -#include "radio/src/gui/9X/popups.cpp" -#include "radio/src/gui/9X/helpers.cpp" -#include "radio/src/gui/9X/menus.cpp" -#include "radio/src/gui/9X/menu_model.cpp" -#include "radio/src/gui/9X/menu_model_select.cpp" -#include "radio/src/gui/9X/menu_model_setup.cpp" -#include "radio/src/gui/9X/menu_model_heli.cpp" -#include "radio/src/gui/9X/menu_model_flightmodes.cpp" -#include "radio/src/gui/9X/menu_model_inputs_mixes.cpp" -#include "radio/src/gui/9X/menu_model_curves.cpp" -#include "radio/src/gui/9X/menu_model_logical_switches.cpp" -#include "radio/src/gui/9X/menu_model_custom_functions.cpp" -#include "radio/src/gui/9X/menu_model_limits.cpp" -#include "radio/src/gui/9X/menu_model_telemetry.cpp" -#include "radio/src/gui/9X/menu_model_templates.cpp" -#include "radio/src/gui/9X/menu_general.cpp" -#include "radio/src/gui/9X/menu_general_setup.cpp" -#include "radio/src/gui/9X/menu_general_trainer.cpp" -#include "radio/src/gui/9X/menu_general_version.cpp" -#include "radio/src/gui/9X/menu_general_diagkeys.cpp" -#include "radio/src/gui/9X/menu_general_diaganas.cpp" -#include "radio/src/gui/9X/menu_general_calib.cpp" -#include "radio/src/gui/9X/view_main.cpp" -#include "radio/src/gui/9X/view_statistics.cpp" -#include "radio/src/gui/9X/view_telemetry.cpp" -#include "radio/src/gui/9X/lcd.cpp" -#include "radio/src/gui/9X/splash.cpp" -#include "radio/src/keys.cpp" -#include "radio/src/targets/simu/simpgmspace.cpp" -#include "radio/src/telemetry/frsky.cpp" -#include "radio/src/telemetry/frsky_d.cpp" -#include "radio/src/templates.cpp" -#include "radio/src/translations.cpp" -#include "radio/src/gui/9X/fonts.cpp" -#include "radio/src/targets/stock/voice.cpp" -#include "radio/src/buzzer.cpp" -#include "radio/src/translations/tts_en.cpp" -#include "radio/src/haptic.cpp" - -int16_t g_anas[NUM_STICKS+BOARD_9X_NUM_POTS]; - -uint16_t anaIn(uint8_t chan) -{ - if (chan == 7) - return 1500; - else - return g_anas[chan]; -} - -bool hasExtendedTrims() -{ - return g_model.extendedTrims; -} - -uint8_t getStickMode() -{ - return limit(0, g_eeGeneral.stickMode, 3); -} - -} - -using namespace OpenTxM64; - -OpenTxM64Simulator::OpenTxM64Simulator() -{ -#define INIT_IMPORT -#include "simulatorimport.h" -} - -bool OpenTxM64Simulator::timer10ms() -{ -#define TIMER10MS_IMPORT -#include "simulatorimport.h" -} - -uint8_t * OpenTxM64Simulator::getLcd() -{ -#define GETLCD_IMPORT -#include "simulatorimport.h" -} - -bool OpenTxM64Simulator::lcdChanged(bool & lightEnable) -{ -#define LCDCHANGED_IMPORT -#include "simulatorimport.h" -} - -void OpenTxM64Simulator::start(QByteArray & eeprom, bool tests) -{ - memcpy(&OpenTxM64::eeprom[0], eeprom.data(), 2048); - StartEepromThread(NULL); - StartMainThread(tests); -} - -void OpenTxM64Simulator::start(const char * filename, bool tests) -{ - StartEepromThread(filename); - StartMainThread(tests); -} - -void OpenTxM64Simulator::stop() -{ - StopMainThread(); - StopEepromThread(); -} - -void OpenTxM64Simulator::getValues(TxOutputs &outputs) -{ -#define GETVALUES_IMPORT -#define g_chans512 channelOutputs -#include "simulatorimport.h" - outputs.beep = g_beepCnt; - g_beepCnt = 0; -} - -void OpenTxM64Simulator::setValues(TxInputs &inputs) -{ -#define SETVALUES_IMPORT -#include "simulatorimport.h" -} - -void OpenTxM64Simulator::setTrim(unsigned int idx, int value) -{ - idx = OpenTxM64::modn12x3[4*getStickMode() + idx]; - uint8_t phase = getTrimFlightPhase(getFlightMode(), idx); - setTrimValue(phase, idx, value); -} - -void OpenTxM64Simulator::getTrims(Trims & trims) -{ - uint8_t phase = getFlightMode(); - trims.extended = hasExtendedTrims(); - for (uint8_t idx=0; idx<4; idx++) { - trims.values[idx] = getTrimValue(getTrimFlightPhase(phase, idx), idx); - } - - for (int i=0; i<2; i++) { - uint8_t idx = OpenTxM64::modn12x3[4*getStickMode() + i]; - int16_t tmp = trims.values[i]; - trims.values[i] = trims.values[idx]; - trims.values[idx] = tmp; - } -} - -unsigned int OpenTxM64Simulator::getPhase() -{ - return getFlightMode(); -} - -const char * OpenTxM64Simulator::getPhaseName(unsigned int phase) -{ - static char buff[sizeof(g_model.flightModeData[0].name)+1]; - zchar2str(buff, g_model.flightModeData[phase].name, sizeof(g_model.flightModeData[0].name)); - return buff; -} - -const char * OpenTxM64Simulator::getError() -{ -#define GETERROR_IMPORT -#include "simulatorimport.h" -} diff --git a/companion/src/firmwares/opentx/opentxM64simulator.h b/companion/src/firmwares/opentx/opentxM64simulator.h deleted file mode 100644 index 2c4e18f3f..000000000 --- a/companion/src/firmwares/opentx/opentxM64simulator.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Author - Bertrand Songis - * - * Based on th9x -> http://code.google.com/p/th9x/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - * - */ - -#ifndef open9x_simulator_h -#define open9x_simulator_h - -#include "simulatorinterface.h" - -class OpenTxEepromInterface; - -class OpenTxM64Simulator : public SimulatorInterface { - - public: - - OpenTxM64Simulator(); - - virtual void start(QByteArray & eeprom, bool tests=true); - - virtual void start(const char * filename, bool tests=true); - - virtual void stop(); - - virtual bool timer10ms(); - - virtual uint8_t * getLcd(); - - virtual bool lcdChanged(bool & lightEnable); - - virtual void setValues(TxInputs &inputs); - - virtual void getValues(TxOutputs &outputs); - - virtual void setTrim(unsigned int idx, int value); - - virtual void getTrims(Trims & trims); - - virtual unsigned int getPhase(); - - virtual const char * getPhaseName(unsigned int phase); - - virtual void wheelEvent(uint8_t steps) { } - - virtual const char * getError(); - - virtual void sendTelemetry(uint8_t * data, unsigned int len) {}; - - virtual void setTrainerInput(unsigned int inputNumber, int16_t value) {}; - - virtual void installTraceHook(void (*callback)(const char *)) {}; -}; - -#endif diff --git a/companion/src/firmwares/opentx/opentxSky9xsimulator.cpp b/companion/src/firmwares/opentx/opentxSky9xsimulator.cpp deleted file mode 100644 index e16ccad12..000000000 --- a/companion/src/firmwares/opentx/opentxSky9xsimulator.cpp +++ /dev/null @@ -1,306 +0,0 @@ -/* - * Author - Bertrand Songis - * - * Based on th9x -> http://code.google.com/p/th9x/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - * - */ - -#include "opentxSky9xsimulator.h" -#include "opentxinterface.h" -#include "appdata.h" - -#define SIMU -#define SIMU_EXCEPTIONS -#define PCBSKY9X -#define CPUARM -#define GUI -#define REVB -#define ROTARY_ENCODERS 1 -#define HELI -#define TEMPLATES -#define SPLASH -#define FLIGHT_MODES -#define FRSKY -#define FRSKY_HUB -#define WS_HOW_HIGH -#define VARIO -#define PPM_UNIT_PERCENT_PREC1 -#define BUZZER -#define AUDIO -#define VOICE -#define HAPTIC -// #define PXX -#define DSM2 -#define DSM2_PPM -#define DBLKEYS -#define AUTOSWITCH -#define GRAPHICS -#define SDCARD -#define CURVES -#define GVARS -#define BOLD_FONT -#define PPM_CENTER_ADJUSTABLE -#define PPM_LIMITS_SYMETRICAL -#define GAUGES -#define GPS -#define FAI_CHOICE -#define FRSKY_STICKS -#define OVERRIDE_CHANNEL_FUNCTION -#define NUM_POTS 3 -#define TIMERS 2 -#define THRTRACE - -#define EEPROM_VARIANT 3 -#define FLAVOUR "sky9x" - -#undef min -#undef max - -#include - -namespace Open9xSky9x { -#include "radio/src/targets/sky9x/board_sky9x.cpp" -#include "radio/src/pulses/ppm_arm.cpp" -#include "radio/src/pulses/pxx_arm.cpp" -#include "radio/src/pulses/dsm2_arm.cpp" -#include "radio/src/targets/sky9x/telemetry_driver.cpp" -#include "radio/src/targets/sky9x/pwr_driver.cpp" -#include "radio/src/targets/sky9x/eeprom_driver.cpp" -#include "radio/src/eeprom_common.cpp" -#include "radio/src/eeprom_raw.cpp" -#include "radio/src/eeprom_conversions.cpp" -#include "radio/src/opentx.cpp" -// #include "radio/src/debug.cpp" // only included once in Taranis simulator because functions are exported as C and don't support namespaces -#include "radio/src/main_arm.cpp" -#include "radio/src/strhelpers.cpp" -#include "radio/src/switches.cpp" -#include "radio/src/functions.cpp" -#include "radio/src/mixer.cpp" -#include "radio/src/timers.cpp" -#include "radio/src/curves.cpp" -#include "radio/src/targets/sky9x/pulses_driver.cpp" -#include "radio/src/pulses/pulses_arm.cpp" -#include "radio/src/tasks_arm.cpp" -#include "radio/src/stamp.cpp" -#include "radio/src/maths.cpp" -#include "radio/src/vario.cpp" -#include "radio/src/sdcard.cpp" -#include "radio/src/gui/9X/widgets.cpp" -#include "radio/src/gui/9X/navigation.cpp" -#include "radio/src/gui/9X/popups.cpp" -#include "radio/src/gui/9X/helpers.cpp" -#include "radio/src/gui/9X/menus.cpp" -#include "radio/src/gui/9X/menu_model.cpp" -#include "radio/src/gui/9X/menu_model_select.cpp" -#include "radio/src/gui/9X/menu_model_setup.cpp" -#include "radio/src/gui/9X/menu_model_heli.cpp" -#include "radio/src/gui/9X/menu_model_flightmodes.cpp" -#include "radio/src/gui/9X/menu_model_inputs_mixes.cpp" -#include "radio/src/gui/9X/menu_model_curves.cpp" -#include "radio/src/gui/9X/menu_model_logical_switches.cpp" -#include "radio/src/gui/9X/menu_model_custom_functions.cpp" -#include "radio/src/gui/9X/menu_model_limits.cpp" -#include "radio/src/gui/9X/menu_model_telemetry.cpp" -#include "radio/src/gui/9X/menu_model_templates.cpp" -#include "radio/src/gui/9X/menu_general.cpp" -#include "radio/src/gui/9X/menu_general_setup.cpp" -#include "radio/src/gui/9X/menu_general_sdmanager.cpp" -#include "radio/src/gui/9X/menu_general_trainer.cpp" -#include "radio/src/gui/9X/menu_general_version.cpp" -#include "radio/src/gui/9X/menu_general_diagkeys.cpp" -#include "radio/src/gui/9X/menu_general_diaganas.cpp" -#include "radio/src/gui/9X/menu_general_hardware.cpp" -#include "radio/src/gui/9X/menu_general_calib.cpp" -#include "radio/src/gui/9X/view_main.cpp" -#include "radio/src/gui/9X/view_statistics.cpp" -#include "radio/src/gui/9X/view_telemetry.cpp" -#include "radio/src/gui/9X/view_about.cpp" -#include "radio/src/gui/9X/view_text.cpp" -#include "radio/src/gui/9X/lcd.cpp" -#include "radio/src/gui/9X/splash.cpp" -#include "radio/src/logs.cpp" -#include "radio/src/targets/sky9x/keys_driver.cpp" -#include "radio/src/keys.cpp" -#include "radio/src/targets/simu/simpgmspace.cpp" -#include "radio/src/templates.cpp" -#include "radio/src/translations.cpp" -#include "radio/src/gui/9X/fonts.cpp" -#include "radio/src/telemetry/telemetry.cpp" -#include "radio/src/telemetry/frsky.cpp" -#include "radio/src/telemetry/frsky_sport.cpp" -#include "radio/src/telemetry/frsky_d.cpp" -#include "radio/src/targets/sky9x/audio_driver.cpp" -#include "radio/src/audio_arm.cpp" -#include "radio/src/buzzer.cpp" -#include "radio/src/targets/sky9x/sdcard_driver.cpp" -#include "radio/src/targets/sky9x/coproc_driver.cpp" -#include "radio/src/targets/sky9x/haptic_driver.cpp" -#include "radio/src/targets/sky9x/second_serial_driver.cpp" -#include "radio/src/haptic.cpp" -#include "radio/src/translations/tts_cz.cpp" -#include "radio/src/translations/tts_de.cpp" -#include "radio/src/translations/tts_en.cpp" -#include "radio/src/translations/tts_es.cpp" -#include "radio/src/translations/tts_se.cpp" -#include "radio/src/translations/tts_it.cpp" -#include "radio/src/translations/tts_fr.cpp" -#include "radio/src/translations/tts_pt.cpp" -#include "radio/src/translations/tts_sk.cpp" -#include "radio/src/translations/tts_pl.cpp" -#include "radio/src/translations/tts_hu.cpp" - -int16_t g_anas[NUM_STICKS+BOARD_9X_NUM_POTS]; - -uint16_t anaIn(uint8_t chan) -{ - if (chan == 7) - return 1500; - else - return g_anas[chan]; -} - -bool hasExtendedTrims() -{ - return g_model.extendedTrims; -} - -uint8_t getStickMode() -{ - return limit(0, g_eeGeneral.stickMode, 3); -} - -} - -using namespace Open9xSky9x; - -Open9xSky9xSimulator::Open9xSky9xSimulator() -{ - QString path=g.profile[g.id()].sdPath()+"/"; - int i=0; - for (i=0; i< std::min(path.length(),1022); i++) { - simuSdDirectory[i]=path.at(i).toAscii(); - } - simuSdDirectory[i]=0; -} - -bool Open9xSky9xSimulator::timer10ms() -{ -#define TIMER10MS_IMPORT -#include "simulatorimport.h" -} - -::uint8_t * Open9xSky9xSimulator::getLcd() -{ -#define GETLCD_IMPORT -#include "simulatorimport.h" -} - -bool Open9xSky9xSimulator::lcdChanged(bool & lightEnable) -{ -#define LCDCHANGED_IMPORT -#include "simulatorimport.h" -} - -void Open9xSky9xSimulator::start(QByteArray & eeprom, bool tests) -{ - g_rotenc[0] = 0; - memcpy(Open9xSky9x::eeprom, eeprom.data(), std::min(sizeof(Open9xSky9x::eeprom), eeprom.size())); - StartEepromThread(NULL); - StartAudioThread(); - StartMainThread(tests); -} - -void Open9xSky9xSimulator::start(const char * filename, bool tests) -{ - g_rotenc[0] = 0; - StartEepromThread(filename); - StartAudioThread(); - StartMainThread(tests); -} - -void Open9xSky9xSimulator::stop() -{ - StopMainThread(); - StopAudioThread(); - StopEepromThread(); -} - -void Open9xSky9xSimulator::getValues(TxOutputs &outputs) -{ -#define GETVALUES_IMPORT -#define g_chans512 channelOutputs -#include "simulatorimport.h" - outputs.beep = g_beepCnt; - g_beepCnt = 0; -} - -void Open9xSky9xSimulator::setValues(TxInputs &inputs) -{ -#define SETVALUES_IMPORT -#include "simulatorimport.h" -} - -void Open9xSky9xSimulator::setTrim(unsigned int idx, int value) -{ - idx = Open9xSky9x::modn12x3[4*getStickMode() + idx]; - ::uint8_t phase = getTrimFlightPhase(getFlightMode(), idx); - setTrimValue(phase, idx, value); -} - -void Open9xSky9xSimulator::getTrims(Trims & trims) -{ - ::uint8_t phase = getFlightMode(); - trims.extended = hasExtendedTrims(); - for (::uint8_t idx=0; idx<4; idx++) { - trims.values[idx] = getTrimValue(getTrimFlightPhase(phase, idx), idx); - } - - for (int i=0; i<2; i++) { - ::uint8_t idx = Open9xSky9x::modn12x3[4*getStickMode() + i]; - ::int16_t tmp = trims.values[i]; - trims.values[i] = trims.values[idx]; - trims.values[idx] = tmp; - } -} - -void Open9xSky9xSimulator::wheelEvent(::uint8_t steps) -{ - g_rotenc[0] += steps*4; -} - -unsigned int Open9xSky9xSimulator::getPhase() -{ - return getFlightMode(); -} - -const char * Open9xSky9xSimulator::getPhaseName(unsigned int phase) -{ - static char buff[sizeof(g_model.flightModeData[0].name)+1]; - zchar2str(buff, g_model.flightModeData[phase].name, sizeof(g_model.flightModeData[0].name)); - return buff; -} - -const char * Open9xSky9xSimulator::getError() -{ -#define GETERROR_IMPORT -#include "simulatorimport.h" -} - -void Open9xSky9xSimulator::setTrainerInput(unsigned int inputNumber, ::int16_t value) -{ -#define SETTRAINER_IMPORT -#include "simulatorimport.h" -} - -void Open9xSky9xSimulator::installTraceHook(void (*callback)(const char *)) { - ::traceCallback = callback; -} diff --git a/companion/src/firmwares/opentx/opentxSky9xsimulator.h b/companion/src/firmwares/opentx/opentxSky9xsimulator.h deleted file mode 100644 index 6d353574a..000000000 --- a/companion/src/firmwares/opentx/opentxSky9xsimulator.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Author - Bertrand Songis - * - * Based on th9x -> http://code.google.com/p/th9x/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - * - */ - -#ifndef open9xSky9x_simulator_h -#define open9xSky9x_simulator_h - -#include "simulatorinterface.h" - -class RadioData; -class OpenTxEepromInterface; - -class Open9xSky9xSimulator : public SimulatorInterface { - - public: - - Open9xSky9xSimulator(); - - virtual void start(QByteArray & eeprom, bool tests=true); - - virtual void start(const char * filename, bool tests=true); - - virtual void stop(); - - virtual bool timer10ms(); - - virtual uint8_t * getLcd(); - - virtual bool lcdChanged(bool & lightEnable); - - virtual void setValues(TxInputs &inputs); - - virtual void getValues(TxOutputs &outputs); - - virtual void setTrim(unsigned int idx, int value); - - virtual void getTrims(Trims & trims); - - virtual unsigned int getPhase(); - - virtual const char * getPhaseName(unsigned int phase); - - virtual void wheelEvent(uint8_t steps); - - virtual const char * getError(); - - virtual void sendTelemetry(uint8_t * data, unsigned int len) {}; - - virtual void setTrainerInput(unsigned int inputNumber, int16_t value); - - virtual void installTraceHook(void (*callback)(const char *)); -}; - -#endif diff --git a/companion/src/firmwares/opentx/opentxTaranisSimulator.cpp b/companion/src/firmwares/opentx/opentxTaranisSimulator.cpp deleted file mode 100644 index 534a52c6e..000000000 --- a/companion/src/firmwares/opentx/opentxTaranisSimulator.cpp +++ /dev/null @@ -1,353 +0,0 @@ -/* - * Author - Bertrand Songis - * - * Based on th9x -> http://code.google.com/p/th9x/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - * - */ - -#include "opentxTaranisSimulator.h" -#include "opentxinterface.h" -#include "appdata.h" - -#define SIMU -#define SIMU_EXCEPTIONS -#define PCBTARANIS -#define CPUARM -#define CPUSTM32 -#define GUI -#define HELI -#define SPLASH -#define FLIGHT_MODES -#define FRSKY -#define FRSKY_HUB -#define FRSKY_SPORT -#define GPS -#define VARIO -#define GAUGES -#define PPM_UNIT_PERCENT_PREC1 -#define AUDIO -#define VOICE -#define PXX -#define DSM2 -#define DSM2_PPM -#define DBLKEYS -#define AUTOSWITCH -#define GRAPHICS -#define SDCARD -#define RTCLOCK -#define VIRTUALINPUTS -#define CURVES -#define XCURVES -#define GVARS -#define BOLD_FONT -#define PPM_CENTER_ADJUSTABLE -#define PPM_LIMITS_SYMETRICAL -#define FAI_CHOICE -#define LUA -#define LUA_MODEL_SCRIPTS -#define HAPTIC -#define REVPLUS -#define OVERRIDE_CHANNEL_FUNCTION -#define TIMERS 3 -#define THRTRACE - -#define EEPROM_VARIANT 3 -#define FLAVOUR "taranis-plus" - -#undef min -#undef max - -#include - -namespace Open9xX9D { - -int taranisSimulatorBoard = 0; -inline int geteepromsize() { - return 32*1024; -} -#define EESIZE geteepromsize() - -#include "radio/src/targets/taranis/board_taranis.cpp" -#include "radio/src/pulses/ppm_arm.cpp" -#include "radio/src/pulses/pxx_arm.cpp" -#include "radio/src/pulses/dsm2_arm.cpp" -#include "radio/src/eeprom_common.cpp" -#include "radio/src/eeprom_conversions.cpp" -#include "radio/src/eeprom_rlc.cpp" -#include "radio/src/opentx.cpp" -#include "radio/src/debug.cpp" -#include "radio/src/main_arm.cpp" -#include "radio/src/strhelpers.cpp" -#include "radio/src/switches.cpp" -#include "radio/src/functions.cpp" -#include "radio/src/curves.cpp" -#include "radio/src/mixer.cpp" -#include "radio/src/sdcard.cpp" -#include "radio/src/timers.cpp" -#include "radio/src/targets/taranis/pulses_driver.cpp" -#include "radio/src/targets/taranis/rtc_driver.cpp" -#include "radio/src/targets/taranis/trainer_driver.cpp" -#include "radio/src/targets/taranis/uart3_driver.cpp" -#include "radio/src/pulses/pulses_arm.cpp" -#include "radio/src/tasks_arm.cpp" -#include "radio/src/stamp.cpp" -#include "radio/src/maths.cpp" -#include "radio/src/vario.cpp" -#include "radio/src/gui/Taranis/widgets.cpp" -#include "radio/src/gui/Taranis/navigation.cpp" -#include "radio/src/gui/Taranis/popups.cpp" -#include "radio/src/gui/Taranis/helpers.cpp" -#include "radio/src/gui/Taranis/menus.cpp" -#include "radio/src/gui/Taranis/menu_model.cpp" -#include "radio/src/gui/Taranis/menu_model_select.cpp" -#include "radio/src/gui/Taranis/menu_model_setup.cpp" -#include "radio/src/gui/Taranis/menu_model_heli.cpp" -#include "radio/src/gui/Taranis/menu_model_flightmodes.cpp" -#include "radio/src/gui/Taranis/menu_model_inputs_mixes.cpp" -#include "radio/src/gui/Taranis/menu_model_curves.cpp" -#include "radio/src/gui/Taranis/menu_model_logical_switches.cpp" -#include "radio/src/gui/Taranis/menu_model_custom_functions.cpp" -#include "radio/src/gui/Taranis/menu_model_custom_scripts.cpp" -#include "radio/src/gui/Taranis/menu_model_gvars.cpp" -#include "radio/src/gui/Taranis/menu_model_limits.cpp" -#include "radio/src/gui/Taranis/menu_model_telemetry.cpp" -#include "radio/src/gui/Taranis/menu_general.cpp" -#include "radio/src/gui/Taranis/menu_general_setup.cpp" -#include "radio/src/gui/Taranis/menu_general_sdmanager.cpp" -#include "radio/src/gui/Taranis/menu_general_trainer.cpp" -#include "radio/src/gui/Taranis/menu_general_version.cpp" -#include "radio/src/gui/Taranis/menu_general_diagkeys.cpp" -#include "radio/src/gui/Taranis/menu_general_diaganas.cpp" -#include "radio/src/gui/Taranis/menu_general_hardware.cpp" -#include "radio/src/gui/Taranis/menu_general_calib.cpp" -#include "radio/src/gui/Taranis/view_main.cpp" -#include "radio/src/gui/Taranis/view_statistics.cpp" -#include "radio/src/gui/Taranis/view_channels.cpp" -#include "radio/src/gui/Taranis/view_telemetry.cpp" -#include "radio/src/gui/Taranis/view_text.cpp" -#include "radio/src/gui/Taranis/view_about.cpp" -#include "radio/src/gui/Taranis/lcd.cpp" -#include "radio/src/gui/Taranis/splash.cpp" -#include "radio/src/logs.cpp" -#include "radio/src/rtc.cpp" -#include "radio/src/targets/taranis/keys_driver.cpp" -#include "radio/src/keys.cpp" -#include "radio/src/bmp.cpp" -#include "radio/src/haptic.cpp" -#include "radio/src/sbus.cpp" -#include "radio/src/targets/taranis/haptic_driver.cpp" -// Because FatFS in not C++ there cannot be namespaces there and the functions are defined several times! -#define SKIP_FATFS_DECLARATION -#include "radio/src/targets/simu/simpgmspace.cpp" -#include "radio/src/translations.cpp" -#include "radio/src/gui/Taranis/fonts.cpp" -#include "radio/src/telemetry/telemetry.cpp" -#include "radio/src/telemetry/frsky.cpp" -#include "radio/src/telemetry/frsky_sport.cpp" -#include "radio/src/telemetry/frsky_d.cpp" -#include "radio/src/targets/taranis/audio_driver.cpp" -#include "radio/src/targets/taranis/telemetry_driver.cpp" -#include "radio/src/audio_arm.cpp" -#include "radio/src/translations/tts_cz.cpp" -#include "radio/src/translations/tts_de.cpp" -#include "radio/src/translations/tts_en.cpp" -#include "radio/src/translations/tts_es.cpp" -#include "radio/src/translations/tts_se.cpp" -#include "radio/src/translations/tts_it.cpp" -#include "radio/src/translations/tts_fr.cpp" -#include "radio/src/translations/tts_pt.cpp" -#include "radio/src/translations/tts_sk.cpp" -#include "radio/src/translations/tts_pl.cpp" -#include "radio/src/translations/tts_hu.cpp" -#include "radio/src/lua_api.cpp" -#include "radio/src/lua/src/lapi.c" -#include "radio/src/lua/src/lcode.c" -#include "radio/src/lua/src/lctype.c" -#include "radio/src/lua/src/ldebug.c" -#include "radio/src/lua/src/ldo.c" -#include "radio/src/lua/src/ldump.c" -#include "radio/src/lua/src/lfunc.c" -#include "radio/src/lua/src/lgc.c" -#include "radio/src/lua/src/llex.c" -#include "radio/src/lua/src/lmem.c" -#include "radio/src/lua/src/lobject.c" -#include "radio/src/lua/src/lopcodes.c" -#include "radio/src/lua/src/lparser.c" -#include "radio/src/lua/src/lstate.c" -#include "radio/src/lua/src/lstring.c" -#include "radio/src/lua/src/ltable.c" -#include "radio/src/lua/src/lrotable.c" -#include "radio/src/lua/src/ltm.c" -#include "radio/src/lua/src/lundump.c" -#include "radio/src/lua/src/lvm.c" -#include "radio/src/lua/src/lzio.c" -#include "radio/src/lua/src/lbaselib.c" -#include "radio/src/lua/src/linit.c" -#include "radio/src/lua/src/lmathlib.c" -#include "radio/src/lua/src/lbitlib.c" -#include "radio/src/lua/src/loadlib.c" -#include "radio/src/lua/src/lauxlib.c" -#include "radio/src/lua/src/ltablib.c" -#include "radio/src/lua/src/lcorolib.c" - - -int16_t g_anas[NUM_STICKS+NUM_POTS]; - -uint16_t anaIn(uint8_t chan) -{ - return g_anas[chan]; -} - -bool hasExtendedTrims() -{ - return g_model.extendedTrims; -} - -uint8_t getStickMode() -{ - return limit(0, g_eeGeneral.stickMode, 3); -} - -void resetTrims() -{ - GPIOE->IDR |= PIN_TRIM_LH_L | PIN_TRIM_LH_R | PIN_TRIM_LV_DN | PIN_TRIM_LV_UP; - GPIOC->IDR |= PIN_TRIM_RV_DN | PIN_TRIM_RV_UP | PIN_TRIM_RH_L | PIN_TRIM_RH_R; -} - -} - -using namespace Open9xX9D; - -OpentxTaranisSimulator::OpentxTaranisSimulator() -{ - taranisSimulatorBoard = GetEepromInterface()->getBoard(); - QString path = g.profile[g.id()].sdPath()+"/"; - int i=0; - for (i=0; i< std::min(path.length(),1022); i++) { - simuSdDirectory[i]=path.at(i).toAscii(); - } - simuSdDirectory[i]=0; -} - -bool OpentxTaranisSimulator::timer10ms() -{ -#define TIMER10MS_IMPORT -#include "simulatorimport.h" -} - -::uint8_t * OpentxTaranisSimulator::getLcd() -{ -#define GETLCD_IMPORT -#include "simulatorimport.h" -} - -bool OpentxTaranisSimulator::lcdChanged(bool & lightEnable) -{ -#define LCDCHANGED_IMPORT -#include "simulatorimport.h" -} - -void OpentxTaranisSimulator::start(QByteArray & eeprom, bool tests) -{ - memcpy(Open9xX9D::eeprom, eeprom.data(), std::min(sizeof(Open9xX9D::eeprom), eeprom.size())); - StartEepromThread(NULL); - StartAudioThread(); - StartMainThread(tests); -} - -void OpentxTaranisSimulator::start(const char * filename, bool tests) -{ - StartEepromThread(filename); - StartAudioThread(); - StartMainThread(tests); -} - -void OpentxTaranisSimulator::stop() -{ - StopMainThread(); - StopAudioThread(); - StopEepromThread(); -} - -void OpentxTaranisSimulator::getValues(TxOutputs &outputs) -{ -#define GETVALUES_IMPORT -#define g_chans512 channelOutputs -#include "simulatorimport.h" -} - -void OpentxTaranisSimulator::setValues(TxInputs &inputs) -{ -#define SETVALUES_IMPORT -#include "simulatorimport.h" -} - -void OpentxTaranisSimulator::setTrim(unsigned int idx, int value) -{ - idx = Open9xX9D::modn12x3[4*getStickMode() + idx]; - ::uint8_t phase = getTrimFlightPhase(getFlightMode(), idx); - setTrimValue(phase, idx, value); -} - -void OpentxTaranisSimulator::getTrims(Trims & trims) -{ - ::uint8_t phase = getFlightMode(); - trims.extended = hasExtendedTrims(); - for (::uint8_t idx=0; idx<4; idx++) { - trims.values[idx] = getTrimValue(getTrimFlightPhase(phase, idx), idx); - } - - for (int i=0; i<2; i++) { - ::uint8_t idx = Open9xX9D::modn12x3[4*getStickMode() + i]; - ::int16_t tmp = trims.values[i]; - trims.values[i] = trims.values[idx]; - trims.values[idx] = tmp; - } -} - -void OpentxTaranisSimulator::wheelEvent(::uint8_t steps) -{ - // g_rotenc[0] += steps*4; -} - -unsigned int OpentxTaranisSimulator::getPhase() -{ - return getFlightMode(); -} - -const char * OpentxTaranisSimulator::getPhaseName(unsigned int phase) -{ - static char buff[sizeof(g_model.flightModeData[0].name)+1]; - zchar2str(buff, g_model.flightModeData[phase].name, sizeof(g_model.flightModeData[0].name)); - return buff; -} - -const char * OpentxTaranisSimulator::getError() -{ -#define GETERROR_IMPORT -#include "simulatorimport.h" -} - -void OpentxTaranisSimulator::sendTelemetry(::uint8_t * data, unsigned int len) -{ - processSportPacket(data); -} - -void OpentxTaranisSimulator::setTrainerInput(unsigned int inputNumber, ::int16_t value) -{ -#define SETTRAINER_IMPORT -#include "simulatorimport.h" -} - -void OpentxTaranisSimulator::installTraceHook(void (*callback)(const char *)) { - ::traceCallback = callback; -} diff --git a/companion/src/firmwares/opentx/opentxTaranisX9ESimulator.h b/companion/src/firmwares/opentx/opentxTaranisX9ESimulator.h deleted file mode 100755 index 3ae14e303..000000000 --- a/companion/src/firmwares/opentx/opentxTaranisX9ESimulator.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Author - Bertrand Songis - * - * Based on th9x -> http://code.google.com/p/th9x/ - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program 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. - * - */ - -#ifndef opentx_taranis_x9e_simulator_h -#define opentx_taranis_x9e_simulator_h - -#include "simulatorinterface.h" - -class RadioData; -class OpenTxEepromInterface; - -class OpentxTaranisX9ESimulator : public SimulatorInterface { - - public: - - OpentxTaranisX9ESimulator(); - - virtual void start(QByteArray & eeprom, bool tests=true); - - virtual void start(const char * filename, bool tests=true); - - virtual void stop(); - - virtual bool timer10ms(); - - virtual uint8_t * getLcd(); - - virtual bool lcdChanged(bool & lightEnable); - - virtual void setValues(TxInputs &inputs); - - virtual void getValues(TxOutputs &outputs); - - virtual void setTrim(unsigned int idx, int value); - - virtual void getTrims(Trims & trims); - - virtual unsigned int getPhase(); - - virtual const char * getPhaseName(unsigned int phase); - - virtual void wheelEvent(uint8_t steps); - - virtual const char * getError(); - - virtual void sendTelemetry(uint8_t * data, unsigned int len); - - virtual void setTrainerInput(unsigned int inputNumber, int16_t value); - - virtual void installTraceHook(void (*callback)(const char *)); -}; - -#endif diff --git a/companion/src/firmwares/opentx/opentxinterface.cpp b/companion/src/firmwares/opentx/opentxinterface.cpp index 7c6cbfa7e..6d506ca1e 100644 --- a/companion/src/firmwares/opentx/opentxinterface.cpp +++ b/companion/src/firmwares/opentx/opentxinterface.cpp @@ -20,12 +20,6 @@ #include "opentxeeprom.h" #include "open9xGruvin9xeeprom.h" #include "open9xSky9xeeprom.h" -#include "opentxM64simulator.h" -#include "opentxM128simulator.h" -#include "opentxGruvin9xsimulator.h" -#include "opentxSky9xsimulator.h" -#include "opentxTaranisSimulator.h" -#include "opentxTaranisX9ESimulator.h" #include "file.h" #include "appdata.h" @@ -486,7 +480,10 @@ int OpenTxEepromInterface::getSize(GeneralSettings &settings) Firmware * OpenTxFirmware::getFirmwareVariant(const QString & id) { - if (id.contains(getId()+"-") || (!id.contains("-") && id.contains(getId()))) { + if (id == getId()) { + return this; + } + else if (id.contains(getId()+"-") || (!id.contains("-") && id.contains(getId()))) { Firmware * result = new OpenTxFirmware(id, this); // TODO result.variant = firmware->getVariant(id); return result; @@ -1070,29 +1067,6 @@ QString OpenTxFirmware::getStampUrl() return url; } -SimulatorInterface * OpenTxFirmware::getSimulator() -{ - switch (board) { - case BOARD_STOCK: - return new OpenTxM64Simulator(); - case BOARD_M128: - return new OpenTxM128Simulator(); - case BOARD_GRUVIN9X: - case BOARD_MEGA2560: - return new Open9xGruvin9xSimulator(); - case BOARD_SKY9X: - case BOARD_9XRPRO: - return new Open9xSky9xSimulator(); - case BOARD_TARANIS: - case BOARD_TARANIS_PLUS: - return new OpentxTaranisSimulator(); - case BOARD_TARANIS_X9E: - return new OpentxTaranisX9ESimulator(); - default: - return NULL; - } -} - void addOpenTxCommonOptions(OpenTxFirmware * firmware) { firmware->addOption("ppmus", QObject::tr("Channel values displayed in us")); diff --git a/companion/src/firmwares/opentx/opentxinterface.h b/companion/src/firmwares/opentx/opentxinterface.h index 1ef5f8eee..7f1f5f369 100644 --- a/companion/src/firmwares/opentx/opentxinterface.h +++ b/companion/src/firmwares/opentx/opentxinterface.h @@ -121,8 +121,6 @@ class OpenTxFirmware: public Firmware { virtual int getCapability(const Capability); virtual bool isTelemetrySourceAvailable(int source); - - virtual SimulatorInterface * getSimulator(); }; diff --git a/companion/src/firmwares/opentx/simulator/CMakeLists.txt b/companion/src/firmwares/opentx/simulator/CMakeLists.txt new file mode 100644 index 000000000..66e49b7a6 --- /dev/null +++ b/companion/src/firmwares/opentx/simulator/CMakeLists.txt @@ -0,0 +1,129 @@ +set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}) +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}) + +set(RADIO_SRC_DIRECTORY ${PROJECT_SOURCE_DIR}/../../radio/src) + +add_custom_command( + OUTPUT ${RADIO_SRC_DIRECTORY}/bitmaps/9X/about.lbm + COMMAND make lbm PCB=9X + DEPENDS ${RADIO_SRC_DIRECTORY}/bitmaps/9X/about.png + WORKING_DIRECTORY ${RADIO_SRC_DIRECTORY} +) + +add_custom_command( + OUTPUT ${RADIO_SRC_DIRECTORY}/bitmaps/Taranis/about.lbm + COMMAND make lbm PCB=TARANIS + DEPENDS ${RADIO_SRC_DIRECTORY}/bitmaps/Taranis/about.png + WORKING_DIRECTORY ${RADIO_SRC_DIRECTORY} +) + +add_custom_command( + OUTPUT ${RADIO_SRC_DIRECTORY}/translations/en.h + COMMAND make tra + DEPENDS ${RADIO_SRC_DIRECTORY}/translations/en.h.txt + WORKING_DIRECTORY ${RADIO_SRC_DIRECTORY} +) + +add_custom_command( + OUTPUT ${RADIO_SRC_DIRECTORY}/lua_exports.inc + COMMAND make PCB=TARANIS lua_exports.inc + DEPENDS ${RADIO_SRC_DIRECTORY}/myeeprom.h + WORKING_DIRECTORY ${RADIO_SRC_DIRECTORY} +) + +set(OPENTX_SRC_FILES + ${RADIO_SRC_DIRECTORY}/bitmaps/9X/about.lbm + ${RADIO_SRC_DIRECTORY}/bitmaps/Taranis/about.lbm + ${RADIO_SRC_DIRECTORY}/translations/en.h + ${RADIO_SRC_DIRECTORY}/lua_exports.inc + opentxsimulator.cpp +) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${PROJECT_SOURCE_DIR} + ${PROJECT_SOURCE_DIR}/firmwares/opentx + ${RADIO_SRC_DIRECTORY} + ${RADIO_SRC_DIRECTORY}/fonts/std + ${RADIO_SRC_DIRECTORY}/lua/src + ${RADIO_SRC_DIRECTORY}/thirdparty +) + +if(DEFINED TRANSLATIONS) + set(COMMON_DEFINITIONS ${COMMON_DEFINITIONS} TRANSLATIONS_${TRANSLATIONS}) + string(TOLOWER ${TRANSLATIONS} TRANSLATION_SUFFIX) + set(SUFFIX ${SUFFIX}-${TRANSLATION_SUFFIX}) +endif() + +set(COMMON_DEFINITIONS + ${COMMON_DEFINITIONS} + SUFFIX="${SUFFIX}" + HELI + GVARS + FLIGHT_MODES + PPM_CENTER_ADJUSTABLE + PPM_LIMITS_SYMETRICAL + OVERRIDE_CHANNEL_FUNCTION + FAI_CHOICE +) + +set(COMMON_LIBRARIES + ${QT_LIBRARIES} + ${PTHREAD_LIBRARY} + ${SDL_LIBRARY} +) + +add_library(opentx-9x${SUFFIX}-simulator SHARED ${OPENTX_SRC_FILES}) +add_library(opentx-9xr${SUFFIX}-simulator SHARED ${OPENTX_SRC_FILES}) +add_library(opentx-9x128${SUFFIX}-simulator SHARED ${OPENTX_SRC_FILES}) +add_library(opentx-9xr128${SUFFIX}-simulator SHARED ${OPENTX_SRC_FILES}) +add_library(opentx-gruvin9x${SUFFIX}-simulator SHARED ${OPENTX_SRC_FILES}) +add_library(opentx-sky9x${SUFFIX}-simulator SHARED ${OPENTX_SRC_FILES}) +add_library(opentx-taranis${SUFFIX}-simulator SHARED ${OPENTX_SRC_FILES}) +add_library(opentx-taranisplus${SUFFIX}-simulator SHARED ${OPENTX_SRC_FILES}) +add_library(opentx-taranisx9e${SUFFIX}-simulator SHARED ${OPENTX_SRC_FILES}) + +# 9X with ATmega64 +target_include_directories(opentx-9x${SUFFIX}-simulator PRIVATE ${RADIO_SRC_DIRECTORY}/targets/stock) +target_compile_definitions(opentx-9x${SUFFIX}-simulator PRIVATE PCBSTD PCB9X CPUM64 ${COMMON_DEFINITIONS}) +target_link_libraries(opentx-9x${SUFFIX}-simulator PRIVATE ${COMMON_LIBRARIES}) + +# 9XR with ATmega64 +target_include_directories(opentx-9xr${SUFFIX}-simulator PRIVATE ${RADIO_SRC_DIRECTORY}/targets/stock) +target_compile_definitions(opentx-9xr${SUFFIX}-simulator PRIVATE PCBSTD PCB9XR CPUM64 ${COMMON_DEFINITIONS}) +target_link_libraries(opentx-9xr${SUFFIX}-simulator PRIVATE ${COMMON_LIBRARIES}) + +# 9X with ATmega128 +target_include_directories(opentx-9x128${SUFFIX}-simulator PRIVATE ${RADIO_SRC_DIRECTORY}/targets/stock) +target_compile_definitions(opentx-9x128${SUFFIX}-simulator PRIVATE PCBSTD PCB9X CPUM128 ${COMMON_DEFINITIONS}) +target_link_libraries(opentx-9x128${SUFFIX}-simulator PRIVATE ${COMMON_LIBRARIES}) + +# 9XR with ATmega128 +target_include_directories(opentx-9xr128${SUFFIX}-simulator PRIVATE ${RADIO_SRC_DIRECTORY}/targets/stock) +target_compile_definitions(opentx-9xr128${SUFFIX}-simulator PRIVATE PCBSTD PCB9XR CPUM128 ${COMMON_DEFINITIONS}) +target_link_libraries(opentx-9xr128${SUFFIX}-simulator PRIVATE ${COMMON_LIBRARIES}) + +# Gruvin9x +target_include_directories(opentx-gruvin9x${SUFFIX}-simulator PRIVATE ${RADIO_SRC_DIRECTORY}/targets/gruvin9x) +target_compile_definitions(opentx-gruvin9x${SUFFIX}-simulator PRIVATE PCBGRUVIN9X CPUM2560 VOICE SDCARD ${COMMON_DEFINITIONS}) +target_link_libraries(opentx-gruvin9x${SUFFIX}-simulator PRIVATE ${COMMON_LIBRARIES}) + +# Sky9x +target_include_directories(opentx-sky9x${SUFFIX}-simulator PRIVATE ${RADIO_SRC_DIRECTORY}/targets/sky9x) +target_compile_definitions(opentx-sky9x${SUFFIX}-simulator PRIVATE PCBSKY9X CPUARM VOICE SDCARD ${COMMON_DEFINITIONS}) +target_link_libraries(opentx-sky9x${SUFFIX}-simulator PRIVATE ${COMMON_LIBRARIES}) + +# Taranis standard +target_include_directories(opentx-taranis${SUFFIX}-simulator PRIVATE ${RADIO_SRC_DIRECTORY}/targets/taranis) +target_compile_definitions(opentx-taranis${SUFFIX}-simulator PRIVATE PCBTARANIS CPUARM CPUSTM32 VOICE SDCARD ${COMMON_DEFINITIONS}) +target_link_libraries(opentx-taranis${SUFFIX}-simulator PRIVATE ${COMMON_LIBRARIES}) + +# Taranis Plus +target_include_directories(opentx-taranisplus${SUFFIX}-simulator PRIVATE ${RADIO_SRC_DIRECTORY}/targets/taranis) +target_compile_definitions(opentx-taranisplus${SUFFIX}-simulator PRIVATE PCBTARANIS REVPLUS CPUARM CPUSTM32 VOICE SDCARD ${COMMON_DEFINITIONS}) +target_link_libraries(opentx-taranisplus${SUFFIX}-simulator PRIVATE ${COMMON_LIBRARIES}) + +# Taranis X9E +target_include_directories(opentx-taranisx9e${SUFFIX}-simulator PRIVATE ${RADIO_SRC_DIRECTORY}/targets/taranis) +target_compile_definitions(opentx-taranisx9e${SUFFIX}-simulator PRIVATE PCBTARANIS REVPLUS REV9E CPUARM CPUSTM32 STM32F40_41xxx VOICE SDCARD ${COMMON_DEFINITIONS}) +target_link_libraries(opentx-taranisx9e${SUFFIX}-simulator PRIVATE ${COMMON_LIBRARIES}) diff --git a/companion/src/firmwares/opentx/opentxTaranisX9ESimulator.cpp b/companion/src/firmwares/opentx/simulator/opentxsimulator.cpp old mode 100755 new mode 100644 similarity index 57% rename from companion/src/firmwares/opentx/opentxTaranisX9ESimulator.cpp rename to companion/src/firmwares/opentx/simulator/opentxsimulator.cpp index 34c77617d..72245cf52 --- a/companion/src/firmwares/opentx/opentxTaranisX9ESimulator.cpp +++ b/companion/src/firmwares/opentx/simulator/opentxsimulator.cpp @@ -14,98 +14,109 @@ * */ -#include "opentxTaranisX9ESimulator.h" -#include "opentxinterface.h" -#include "appdata.h" +#include "opentxsimulator.h" +#include +#include +#include +#include +#include #define SIMU #define SIMU_EXCEPTIONS -#define PCBTARANIS -#define CPUARM -#define CPUSTM32 -#define STM32F40_41xxx #define GUI -#define HELI #define SPLASH -#define FLIGHT_MODES #define FRSKY #define FRSKY_HUB -#define FRSKY_SPORT #define GPS #define VARIO #define GAUGES #define PPM_UNIT_PERCENT_PREC1 #define AUDIO -#define VOICE #define PXX #define DSM2 #define DSM2_PPM #define DBLKEYS #define AUTOSWITCH #define GRAPHICS -#define SDCARD -#define RTCLOCK -#define VIRTUALINPUTS #define CURVES +#if defined(PCBTARANIS) +#define RTCLOCK #define XCURVES -#define GVARS -#define BOLD_FONT -#define PPM_CENTER_ADJUSTABLE -#define PPM_LIMITS_SYMETRICAL -#define FAI_CHOICE +#define VIRTUALINPUTS #define LUA #define LUA_MODEL_SCRIPTS +#else +#define BUZZER +#define TEMPLATES +#endif +#define BOLD_FONT #define HAPTIC -#define REVPLUS -#define REV9E -#define OVERRIDE_CHANNEL_FUNCTION -#define TIMERS 3 #define THRTRACE -#define EEPROM_VARIANT 3 -#define FLAVOUR "taranis-x9e" +#if defined(CPUARM) +#define TIMERS 3 +#else +#define TIMERS 2 +#endif + +#if defined(PCBSKY9X) +#define ROTARY_ENCODERS 1 +#elif defined(PCBGRUVIN9X) +#define ROTARY_ENCODERS 2 +#endif + +#if defined(CPUARM) +#define FRSKY_SPORT +#endif #undef min #undef max -#include +namespace NAMESPACE { -namespace Open9xX9E { - -int taranisSimulatorBoard = 0; -inline int geteepromsize() { - return 32*1024; -} -#define EESIZE geteepromsize() - -#include "radio/src/targets/taranis/board_taranis.cpp" +#if defined(CPUARM) #include "radio/src/pulses/ppm_arm.cpp" #include "radio/src/pulses/pxx_arm.cpp" #include "radio/src/pulses/dsm2_arm.cpp" -#include "radio/src/eeprom_common.cpp" #include "radio/src/eeprom_conversions.cpp" -#include "radio/src/eeprom_rlc.cpp" -#include "radio/src/opentx.cpp" - -// #include "radio/src/debug.cpp" // only included once in Taranis simulator because functions are exported as C and don't support namespaces #include "radio/src/main_arm.cpp" +#include "radio/src/pulses/pulses_arm.cpp" +#include "radio/src/tasks_arm.cpp" +#include "radio/src/audio_arm.cpp" +#include "radio/src/telemetry/telemetry.cpp" +#include "radio/src/telemetry/frsky_sport.cpp" +#include "radio/src/sbus.cpp" +#else +#include "radio/src/main_avr.cpp" +#include "radio/src/audio_avr.cpp" +#include "radio/src/pulses/pulses_avr.cpp" +#endif + +#include "radio/src/eeprom_common.cpp" +#if defined(PCBSKY9X) +#include "radio/src/eeprom_raw.cpp" +#else +#include "radio/src/eeprom_rlc.cpp" +#endif + +#include "radio/src/opentx.cpp" +#include "radio/src/debug.cpp" #include "radio/src/strhelpers.cpp" #include "radio/src/switches.cpp" #include "radio/src/functions.cpp" #include "radio/src/curves.cpp" #include "radio/src/mixer.cpp" +#if defined(SDCARD) #include "radio/src/sdcard.cpp" +#endif #include "radio/src/timers.cpp" -#include "radio/src/targets/taranis/pulses_driver.cpp" -#include "radio/src/targets/taranis/rtc_driver.cpp" -#include "radio/src/targets/taranis/rotenc_driver.cpp" -#include "radio/src/targets/taranis/trainer_driver.cpp" -#include "radio/src/targets/taranis/uart3_driver.cpp" -#include "radio/src/pulses/pulses_arm.cpp" -#include "radio/src/tasks_arm.cpp" #include "radio/src/stamp.cpp" #include "radio/src/maths.cpp" #include "radio/src/vario.cpp" + +#if defined(PCBTARANIS) +#include "radio/src/bmp.cpp" +#include "radio/src/gui/Taranis/fonts.cpp" #include "radio/src/gui/Taranis/widgets.cpp" #include "radio/src/gui/Taranis/navigation.cpp" #include "radio/src/gui/Taranis/popups.cpp" @@ -141,31 +152,109 @@ inline int geteepromsize() { #include "radio/src/gui/Taranis/view_about.cpp" #include "radio/src/gui/Taranis/lcd.cpp" #include "radio/src/gui/Taranis/splash.cpp" +#else +#include "radio/src/gui/9X/fonts.cpp" +#include "radio/src/gui/9X/widgets.cpp" +#include "radio/src/gui/9X/navigation.cpp" +#include "radio/src/gui/9X/popups.cpp" +#include "radio/src/gui/9X/helpers.cpp" +#include "radio/src/gui/9X/menus.cpp" +#include "radio/src/gui/9X/menu_model.cpp" +#include "radio/src/gui/9X/menu_model_select.cpp" +#include "radio/src/gui/9X/menu_model_setup.cpp" +#include "radio/src/gui/9X/menu_model_heli.cpp" +#include "radio/src/gui/9X/menu_model_flightmodes.cpp" +#include "radio/src/gui/9X/menu_model_inputs_mixes.cpp" +#include "radio/src/gui/9X/menu_model_curves.cpp" +#include "radio/src/gui/9X/menu_model_logical_switches.cpp" +#include "radio/src/gui/9X/menu_model_custom_functions.cpp" +#include "radio/src/gui/9X/menu_model_limits.cpp" +#include "radio/src/gui/9X/menu_model_telemetry.cpp" +#include "radio/src/gui/9X/menu_model_templates.cpp" +#include "radio/src/gui/9X/menu_general.cpp" +#include "radio/src/gui/9X/menu_general_setup.cpp" +#if defined(SDCARD) +#include "radio/src/gui/9X/menu_general_sdmanager.cpp" +#include "radio/src/gui/9X/view_text.cpp" +#endif +#include "radio/src/gui/9X/menu_general_trainer.cpp" +#include "radio/src/gui/9X/menu_general_version.cpp" +#include "radio/src/gui/9X/menu_general_diagkeys.cpp" +#include "radio/src/gui/9X/menu_general_diaganas.cpp" +#if defined(CPUARM) +#include "radio/src/gui/9X/menu_general_hardware.cpp" +#endif +#include "radio/src/gui/9X/menu_general_calib.cpp" +#include "radio/src/gui/9X/view_main.cpp" +#include "radio/src/gui/9X/view_statistics.cpp" +#include "radio/src/gui/9X/view_telemetry.cpp" +#if !defined(CPUM64) +#include "radio/src/gui/9X/view_about.cpp" +#endif +#include "radio/src/gui/9X/lcd.cpp" +#include "radio/src/gui/9X/splash.cpp" +#endif + +#if !defined(VIRTUALINPUTS) +#include "radio/src/templates.cpp" +#endif + +#if defined(SDCARD) #include "radio/src/logs.cpp" +#endif + +#if defined(RTCLOCK) #include "radio/src/rtc.cpp" +#endif + +#if defined(BUZZER) +#include "radio/src/buzzer.cpp" +#endif + +#if defined(PCBTARANIS) +#include "radio/src/targets/taranis/board_taranis.cpp" #include "radio/src/targets/taranis/keys_driver.cpp" -#include "radio/src/keys.cpp" -#include "radio/src/bmp.cpp" -#include "radio/src/haptic.cpp" -#include "radio/src/sbus.cpp" -#include "radio/src/targets/taranis/haptic_driver.cpp" -// TODO Because FatFS in not C++ there cannot be namespaces there and the functions are defined several times! -#undef SDCARD -#include "radio/src/targets/simu/simpgmspace.cpp" -#define SDCARD -#include "radio/src/translations.cpp" -#include "radio/src/gui/Taranis/fonts.cpp" -#include "radio/src/telemetry/telemetry.cpp" -#include "radio/src/telemetry/frsky.cpp" -#include "radio/src/telemetry/frsky_sport.cpp" -#include "radio/src/telemetry/frsky_d.cpp" #include "radio/src/targets/taranis/audio_driver.cpp" #include "radio/src/targets/taranis/telemetry_driver.cpp" +#include "radio/src/targets/taranis/haptic_driver.cpp" +#if defined(REV9E) #include "radio/src/targets/taranis/top_lcd_driver.cpp" -#include "radio/src/audio_arm.cpp" +#include "radio/src/targets/taranis/rotenc_driver.cpp" +#endif +#include "radio/src/targets/taranis/pulses_driver.cpp" +#include "radio/src/targets/taranis/rtc_driver.cpp" +#include "radio/src/targets/taranis/trainer_driver.cpp" +#include "radio/src/targets/taranis/uart3_driver.cpp" +#elif defined(PCBSKY9X) +#include "radio/src/targets/sky9x/board_sky9x.cpp" +#include "radio/src/targets/sky9x/telemetry_driver.cpp" +#include "radio/src/targets/sky9x/pwr_driver.cpp" +#include "radio/src/targets/sky9x/eeprom_driver.cpp" +#include "radio/src/targets/sky9x/keys_driver.cpp" +#include "radio/src/targets/sky9x/audio_driver.cpp" +#include "radio/src/targets/sky9x/sdcard_driver.cpp" +#include "radio/src/targets/sky9x/coproc_driver.cpp" +#include "radio/src/targets/sky9x/haptic_driver.cpp" +#include "radio/src/targets/sky9x/second_serial_driver.cpp" +#include "radio/src/targets/sky9x/pulses_driver.cpp" +#elif defined(PCBGRUVIN9X) +#include "radio/src/targets/gruvin9x/board_gruvin9x.cpp" +#include "radio/src/targets/gruvin9x/somo14d.cpp" +#else +#include "radio/src/targets/stock/board_stock.cpp" +#endif + +#include "radio/src/keys.cpp" +#include "radio/src/haptic.cpp" +#include "radio/src/targets/simu/simpgmspace.cpp" +#include "radio/src/translations.cpp" +#include "radio/src/telemetry/frsky.cpp" +#include "radio/src/telemetry/frsky_d.cpp" +#include "radio/src/translations/tts_en.cpp" + +#if defined(CPUARM) #include "radio/src/translations/tts_cz.cpp" #include "radio/src/translations/tts_de.cpp" -#include "radio/src/translations/tts_en.cpp" #include "radio/src/translations/tts_es.cpp" #include "radio/src/translations/tts_se.cpp" #include "radio/src/translations/tts_it.cpp" @@ -174,6 +263,9 @@ inline int geteepromsize() { #include "radio/src/translations/tts_sk.cpp" #include "radio/src/translations/tts_pl.cpp" #include "radio/src/translations/tts_hu.cpp" +#endif + +#if defined(LUA) #include "radio/src/lua_api.cpp" #include "radio/src/lua/src/lapi.c" #include "radio/src/lua/src/lcode.c" @@ -204,6 +296,7 @@ inline int geteepromsize() { #include "radio/src/lua/src/lauxlib.c" #include "radio/src/lua/src/ltablib.c" #include "radio/src/lua/src/lcorolib.c" +#endif int16_t g_anas[NUM_STICKS+NUM_POTS]; @@ -222,89 +315,111 @@ uint8_t getStickMode() return limit(0, g_eeGeneral.stickMode, 3); } +#if defined(PCBTARANIS) void resetTrims() { GPIOE->IDR |= PIN_TRIM_LH_L | PIN_TRIM_LH_R | PIN_TRIM_LV_DN | PIN_TRIM_LV_UP; GPIOC->IDR |= PIN_TRIM_RV_DN | PIN_TRIM_RV_UP | PIN_TRIM_RH_L | PIN_TRIM_RH_R; } +#endif void delay_01us(::uint16_t nb) { } -} - -using namespace Open9xX9E; - -OpentxTaranisX9ESimulator::OpentxTaranisX9ESimulator() +OpenTxSimulator::OpenTxSimulator() { - taranisSimulatorBoard = GetEepromInterface()->getBoard(); - QString path=g.profile[g.id()].sdPath()+"/"; - int i=0; - for (i=0; i< std::min(path.length(),1022); i++) { - simuSdDirectory[i]=path.at(i).toAscii(); - } - simuSdDirectory[i]=0; } -bool OpentxTaranisX9ESimulator::timer10ms() +void OpenTxSimulator::setSdPath(const QString &sdPath) +{ +#if defined(SDCARD) + strncpy(simuSdDirectory, sdPath.toAscii().constData(), sizeof(simuSdDirectory)-1); + simuSdDirectory[sizeof(simuSdDirectory)-1] = '\0'; +#endif +} + +bool OpenTxSimulator::timer10ms() { #define TIMER10MS_IMPORT #include "simulatorimport.h" } -::uint8_t * OpentxTaranisX9ESimulator::getLcd() +::uint8_t * OpenTxSimulator::getLcd() { #define GETLCD_IMPORT #include "simulatorimport.h" } -bool OpentxTaranisX9ESimulator::lcdChanged(bool & lightEnable) +bool OpenTxSimulator::lcdChanged(bool & lightEnable) { #define LCDCHANGED_IMPORT #include "simulatorimport.h" } -void OpentxTaranisX9ESimulator::start(QByteArray & eeprom, bool tests) +void OpenTxSimulator::start(QByteArray & eeprom, bool tests) { - memcpy(Open9xX9E::eeprom, eeprom.data(), std::min(sizeof(Open9xX9E::eeprom), eeprom.size())); +#if defined(PCBSKY9X) + g_rotenc[0] = 0; +#elif defined(PCBGRUVIN9X) + g_rotenc[0] = 0; + g_rotenc[1] = 0; +#endif + memcpy(NAMESPACE::eeprom, eeprom.data(), std::min(sizeof(NAMESPACE::eeprom), eeprom.size())); StartEepromThread(NULL); + StartAudioThread(); StartMainThread(tests); } -void OpentxTaranisX9ESimulator::start(const char * filename, bool tests) +void OpenTxSimulator::start(const char * filename, bool tests) { +#if defined(PCBSKY9X) + g_rotenc[0] = 0; +#elif defined(PCBGRUVIN9X) + g_rotenc[0] = 0; + g_rotenc[1] = 0; +#endif StartEepromThread(filename); +#if defined(CPUARM) + StartAudioThread(); +#endif StartMainThread(tests); } -void OpentxTaranisX9ESimulator::stop() +void OpenTxSimulator::stop() { StopMainThread(); +#if defined(CPUARM) + StopAudioThread(); +#endif StopEepromThread(); } -void OpentxTaranisX9ESimulator::getValues(TxOutputs &outputs) +void OpenTxSimulator::getValues(TxOutputs &outputs) { #define GETVALUES_IMPORT #define g_chans512 channelOutputs #include "simulatorimport.h" +#if defined(PCBSKY9X) + outputs.beep = g_beepCnt; + g_beepCnt = 0; +#endif } -void OpentxTaranisX9ESimulator::setValues(TxInputs &inputs) +void OpenTxSimulator::setValues(TxInputs &inputs) { #define SETVALUES_IMPORT #include "simulatorimport.h" } -void OpentxTaranisX9ESimulator::setTrim(unsigned int idx, int value) +void OpenTxSimulator::setTrim(unsigned int idx, int value) { - idx = Open9xX9E::modn12x3[4*getStickMode() + idx]; + idx = NAMESPACE::modn12x3[4*getStickMode() + idx]; ::uint8_t phase = getTrimFlightPhase(getFlightMode(), idx); setTrimValue(phase, idx, value); } -void OpentxTaranisX9ESimulator::getTrims(Trims & trims) +void OpenTxSimulator::getTrims(Trims & trims) { ::uint8_t phase = getFlightMode(); trims.extended = hasExtendedTrims(); @@ -313,50 +428,93 @@ void OpentxTaranisX9ESimulator::getTrims(Trims & trims) } for (int i=0; i<2; i++) { - ::uint8_t idx = Open9xX9E::modn12x3[4*getStickMode() + i]; + ::uint8_t idx = NAMESPACE::modn12x3[4*getStickMode() + i]; ::int16_t tmp = trims.values[i]; trims.values[i] = trims.values[idx]; trims.values[idx] = tmp; } } -void OpentxTaranisX9ESimulator::wheelEvent(::uint8_t steps) +void OpenTxSimulator::wheelEvent(int steps) { +#if defined(REV9E) if (steps == 255) x9de_rotenc -= 2; else x9de_rotenc += 2; +#elif defined(PCBSKY9X) + g_rotenc[0] += steps*4; +#elif defined(PCBGRUVIN9X) + g_rotenc[0] += steps; +#endif } -unsigned int OpentxTaranisX9ESimulator::getPhase() +unsigned int OpenTxSimulator::getPhase() { return getFlightMode(); } -const char * OpentxTaranisX9ESimulator::getPhaseName(unsigned int phase) +const char * OpenTxSimulator::getPhaseName(unsigned int phase) { static char buff[sizeof(g_model.flightModeData[0].name)+1]; zchar2str(buff, g_model.flightModeData[phase].name, sizeof(g_model.flightModeData[0].name)); return buff; } -const char * OpentxTaranisX9ESimulator::getError() +const char * OpenTxSimulator::getError() { #define GETERROR_IMPORT #include "simulatorimport.h" } -void OpentxTaranisX9ESimulator::sendTelemetry(::uint8_t * data, unsigned int len) +void OpenTxSimulator::sendTelemetry(::uint8_t * data, unsigned int len) { +#if defined(FRSKY_SPORT) processSportPacket(data); +#endif } -void OpentxTaranisX9ESimulator::setTrainerInput(unsigned int inputNumber, ::int16_t value) +void OpenTxSimulator::setTrainerInput(unsigned int inputNumber, ::int16_t value) { #define SETTRAINER_IMPORT #include "simulatorimport.h" } -void OpentxTaranisX9ESimulator::installTraceHook(void (*callback)(const char *)) { - ::traceCallback = callback; +void OpenTxSimulator::installTraceHook(void (*callback)(const char *)) +{ + traceCallback = callback; +} + +class OpenTxSimulatorFactory: public SimulatorFactory +{ + public: + OpenTxSimulatorFactory() + { + } + + virtual SimulatorInterface *create() + { + return new OpenTxSimulator(); + } + + virtual QString name() + { + return QString("opentx-" FLAVOUR SUFFIX); + } + + virtual BoardEnum type() + { +#if defined(PCBTARANIS) + return BOARD_TARANIS; +#else + return BOARD_STOCK; +#endif + } +}; + +} + +extern "C" __declspec(dllexport) SimulatorFactory *registerSimu() +{ + return new NAMESPACE::OpenTxSimulatorFactory(); } diff --git a/companion/src/firmwares/opentx/opentxTaranisSimulator.h b/companion/src/firmwares/opentx/simulator/opentxsimulator.h similarity index 52% rename from companion/src/firmwares/opentx/opentxTaranisSimulator.h rename to companion/src/firmwares/opentx/simulator/opentxsimulator.h index 459832ca2..72b225351 100644 --- a/companion/src/firmwares/opentx/opentxTaranisSimulator.h +++ b/companion/src/firmwares/opentx/simulator/opentxsimulator.h @@ -19,14 +19,55 @@ #include "simulatorinterface.h" -class RadioData; -class OpenTxEepromInterface; +#if defined(PCBTARANIS) && defined(REV9E) + #define FLAVOUR "taranisx9e" + #define NAMESPACE TaranisX9E + #define EEPROM_VARIANT 0 +#elif defined(PCBTARANIS) && defined(REVPLUS) + #define FLAVOUR "taranisplus" + #define NAMESPACE TaranisPlus + #define EEPROM_VARIANT 0 +#elif defined(PCBTARANIS) + #define FLAVOUR "taranis" + #define NAMESPACE Taranis + #define EEPROM_VARIANT 0 +#elif defined(PCBSKY9X) + #define FLAVOUR "sky9x" + #define NAMESPACE Sky9X + #define EEPROM_VARIANT 0 +#elif defined(PCBGRUVIN9X) + #define FLAVOUR "gruvin9x" + #define NAMESPACE Gruvin9X + #define EEPROM_VARIANT 0 +#elif defined(PCB9XR) && defined(CPUM128) + #define FLAVOUR "9xr128" + #define NAMESPACE M128XR + #define EEPROM_VARIANT 0x8003 +#elif defined(PCB9X) && defined(CPUM128) + #define FLAVOUR "9x128" + #define NAMESPACE M128 + #define EEPROM_VARIANT 0x8003 +#elif defined(PCB9XR) && defined(CPUM64) + #define FLAVOUR "9xr" + #define NAMESPACE M64XR + #define EEPROM_VARIANT 0x0003 +#elif defined(PCB9X) && defined(CPUM64) + #define FLAVOUR "9x" + #define NAMESPACE M64 + #define EEPROM_VARIANT 0x0003 +#else +#error "Unknown board" +#endif -class OpentxTaranisSimulator : public SimulatorInterface { +namespace NAMESPACE { + +class __declspec(dllexport) OpenTxSimulator : public SimulatorInterface { public: - OpentxTaranisSimulator(); + OpenTxSimulator(); + + virtual void setSdPath(const QString &sdPath); virtual void start(QByteArray & eeprom, bool tests=true); @@ -52,7 +93,7 @@ class OpentxTaranisSimulator : public SimulatorInterface { virtual const char * getPhaseName(unsigned int phase); - virtual void wheelEvent(uint8_t steps); + virtual void wheelEvent(int steps); virtual const char * getError(); @@ -63,4 +104,6 @@ class OpentxTaranisSimulator : public SimulatorInterface { virtual void installTraceHook(void (*callback)(const char *)); }; +} + #endif diff --git a/companion/src/firmwares/th9x/simulator/CMakeLists.txt b/companion/src/firmwares/th9x/simulator/CMakeLists.txt new file mode 100644 index 000000000..8036ff0b5 --- /dev/null +++ b/companion/src/firmwares/th9x/simulator/CMakeLists.txt @@ -0,0 +1,15 @@ +set(TH9X_CHECKOUT_DIRECTORY ${PROJECT_BINARY_DIR}/firmwares/th9x) +add_custom_command( + OUTPUT ${TH9X_CHECKOUT_DIRECTORY}/th9xsimulator.cpp + COMMAND ${CMAKE_COMMAND} -E make_directory ${TH9X_CHECKOUT_DIRECTORY} + COMMAND cd ${TH9X_CHECKOUT_DIRECTORY} && svn checkout http://th9x.googlecode.com/svn/trunk/src@285 . + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/th9x/th9xsimulator.cpp ${TH9X_CHECKOUT_DIRECTORY} + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/firmwares/th9x/th9xsimulator.cpp +) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${PROJECT_SOURCE_DIR} +) + +add_library(th9x-simulator th9xsimulator.cpp) diff --git a/companion/src/firmwares/th9x/th9xsimulator.cpp b/companion/src/firmwares/th9x/simulator/th9xsimulator.cpp similarity index 100% rename from companion/src/firmwares/th9x/th9xsimulator.cpp rename to companion/src/firmwares/th9x/simulator/th9xsimulator.cpp diff --git a/companion/src/firmwares/th9x/th9xsimulator.h b/companion/src/firmwares/th9x/simulator/th9xsimulator.h similarity index 96% rename from companion/src/firmwares/th9x/th9xsimulator.h rename to companion/src/firmwares/th9x/simulator/th9xsimulator.h index a29f273b6..077aba86d 100644 --- a/companion/src/firmwares/th9x/th9xsimulator.h +++ b/companion/src/firmwares/th9x/simulator/th9xsimulator.h @@ -48,8 +48,6 @@ class Th9xSimulator : public SimulatorInterface { virtual unsigned int getPhase() { return 0; } - virtual void wheelEvent(uint8_t steps) { } - virtual const char * getError(); protected: diff --git a/companion/src/firmwares/th9x/th9xinterface.cpp b/companion/src/firmwares/th9x/th9xinterface.cpp index 8c3efdfcd..f86aa9db1 100644 --- a/companion/src/firmwares/th9x/th9xinterface.cpp +++ b/companion/src/firmwares/th9x/th9xinterface.cpp @@ -17,7 +17,7 @@ #include #include "th9xinterface.h" #include "th9xeeprom.h" -#include "th9xsimulator.h" +#include "simulator/th9xsimulator.h" #include "file.h" #include "appdata.h" diff --git a/companion/src/helpers.cpp b/companion/src/helpers.cpp index 8a5cad2a3..eaaeaca17 100644 --- a/companion/src/helpers.cpp +++ b/companion/src/helpers.cpp @@ -897,9 +897,8 @@ CompanionIcon::CompanionIcon(const QString &baseimage) void startSimulation(QWidget * parent, RadioData & radioData, int modelIdx) { - SimulatorInterface * si = GetCurrentFirmware()->getSimulator(); + SimulatorInterface * si = GetCurrentFirmwareSimulator(); if (si) { - delete si; RadioData * simuData = new RadioData(radioData); unsigned int flags = 0; if (modelIdx >= 0) { @@ -912,9 +911,9 @@ void startSimulation(QWidget * parent, RadioData & radioData, int modelIdx) BoardEnum board = GetCurrentFirmware()->getBoard(); SimulatorDialog * sd; if (IS_TARANIS(board)) - sd = new SimulatorDialogTaranis(parent, flags); + sd = new SimulatorDialogTaranis(parent, si, flags); else - sd = new SimulatorDialog9X(parent, flags); + sd = new SimulatorDialog9X(parent, si, flags); QByteArray eeprom(GetEepromInterface()->getEEpromSize(), 0); GetEepromInterface()->save((uint8_t *)eeprom.data(), *simuData, GetCurrentFirmware()->getCapability(SimulatorVariant)); delete simuData; diff --git a/companion/src/simulation/CMakeLists.txt b/companion/src/simulation/CMakeLists.txt index 93b1fe6f4..bda9fed7f 100644 --- a/companion/src/simulation/CMakeLists.txt +++ b/companion/src/simulation/CMakeLists.txt @@ -3,6 +3,7 @@ set(simulation_SRCS telemetrysimu.cpp trainersimu.cpp debugoutput.cpp + simulatorinterface.cpp ) set(simulation_UIS diff --git a/companion/src/simulation/simulatordialog.cpp b/companion/src/simulation/simulatordialog.cpp index a3a7bdc04..70ca8dc7e 100644 --- a/companion/src/simulation/simulatordialog.cpp +++ b/companion/src/simulation/simulatordialog.cpp @@ -11,10 +11,11 @@ int SimulatorDialog::screenshotIdx = 0; SimulatorDialog * traceCallbackInstance = 0; -void traceCb(const char * text) { +void traceCb(const char * text) +{ // divert C callback into simulator instance if (traceCallbackInstance) { - traceCallbackInstance->traceCallback(text); + traceCallbackInstance->traceCallback(text); } } @@ -46,13 +47,13 @@ void SimulatorDialog::updateDebugOutput() traceMutex.unlock(); } -SimulatorDialog::SimulatorDialog(QWidget * parent, unsigned int flags): +SimulatorDialog::SimulatorDialog(QWidget * parent, SimulatorInterface *simulator, unsigned int flags): QDialog(parent), flags(flags), dialP_4(NULL), timer(NULL), lightOn(false), - simulator(NULL), + simulator(simulator), lastPhase(-1), beepVal(0), TelemetrySimu(0), @@ -72,8 +73,8 @@ SimulatorDialog::SimulatorDialog(QWidget * parent, unsigned int flags): uint32_t SimulatorDialog9X::switchstatus = 0; -SimulatorDialog9X::SimulatorDialog9X(QWidget * parent, unsigned int flags): - SimulatorDialog(parent, flags), +SimulatorDialog9X::SimulatorDialog9X(QWidget * parent, SimulatorInterface *simulator, unsigned int flags): + SimulatorDialog(parent, simulator, flags), ui(new Ui::SimulatorDialog9X), beepShow(0) { @@ -149,8 +150,8 @@ SimulatorDialog9X::~SimulatorDialog9X() uint32_t SimulatorDialogTaranis::switchstatus = 0; -SimulatorDialogTaranis::SimulatorDialogTaranis(QWidget * parent, unsigned int flags): - SimulatorDialog(parent, flags), +SimulatorDialogTaranis::SimulatorDialogTaranis(QWidget * parent, SimulatorInterface *simulator, unsigned int flags): + SimulatorDialog(parent, simulator, flags), ui(new Ui::SimulatorDialogTaranis) { lcdWidth = 212; @@ -435,7 +436,7 @@ void SimulatorDialog::initUi(T * ui) windowName = tr("Simulating Radio (%1)").arg(GetCurrentFirmware()->getName()); setWindowTitle(windowName); - simulator = GetCurrentFirmware()->getSimulator(); + simulator->setSdPath(g.profile[g.id()].sdPath()); lcd->setData(simulator->getLcd(), lcdWidth, 64, lcdDepth); if (flags & SIMULATOR_FLAGS_STICK_MODE_LEFT) { @@ -449,7 +450,7 @@ void SimulatorDialog::initUi(T * ui) setTrims(); - int outputs = std::min(32,GetCurrentFirmware()->getCapability(Outputs)); + int outputs = std::min(32, GetCurrentFirmware()->getCapability(Outputs)); if (outputs <= 16) { // hide second Outputs tab tabWidget->removeTab(tabWidget->indexOf(ui->outputs2)); diff --git a/companion/src/simulation/simulatordialog.h b/companion/src/simulation/simulatordialog.h index 40f8a5c2a..a69514e66 100644 --- a/companion/src/simulation/simulatordialog.h +++ b/companion/src/simulation/simulatordialog.h @@ -3,7 +3,6 @@ #include #include "modeledit/node.h" -#include "eeprominterface.h" #include "telemetrysimu.h" #include "trainersimu.h" #include "debugoutput.h" @@ -36,7 +35,7 @@ class SimulatorDialog : public QDialog Q_OBJECT public: - explicit SimulatorDialog(QWidget * parent = NULL, unsigned int flags=0); + explicit SimulatorDialog(QWidget * parent, SimulatorInterface *simulator, unsigned int flags=0); virtual ~SimulatorDialog(); void start(const char * filename); @@ -87,9 +86,7 @@ class SimulatorDialog : public QDialog virtual void getValues() = 0; void setValues(); void centerSticks(); - // void timerTick(); - bool keyState(EnumKeys key); int getValue(qint8 i); bool getSwitch(int swtch, bool nc, qint8 level=0); void setTrims(); @@ -153,7 +150,7 @@ class SimulatorDialog9X: public SimulatorDialog Q_OBJECT public: - explicit SimulatorDialog9X(QWidget * parent = NULL, unsigned int flags=0); + explicit SimulatorDialog9X(QWidget * parent, SimulatorInterface *simulator, unsigned int flags=0); virtual ~SimulatorDialog9X(); protected: @@ -178,7 +175,7 @@ class SimulatorDialogTaranis: public SimulatorDialog Q_OBJECT public: - explicit SimulatorDialogTaranis(QWidget * parent = NULL, unsigned int flags=0); + explicit SimulatorDialogTaranis(QWidget * parent, SimulatorInterface *simulator, unsigned int flags=0); virtual ~SimulatorDialogTaranis(); protected: diff --git a/companion/src/simulation/simulatorimport.h b/companion/src/simulation/simulatorimport.h index 7bbbabaed..704274a0c 100644 --- a/companion/src/simulation/simulatorimport.h +++ b/companion/src/simulation/simulatorimport.h @@ -58,7 +58,8 @@ if (inputs.rotenc) simuSetKey(KEY_ENTER, true); #ifdef GETVALUES_IMPORT #undef GETVALUES_IMPORT memset(outputs.chans, 0, sizeof(outputs.chans)); -memcpy(outputs.chans, g_chans512, sizeof(g_chans512)); +for (unsigned int i=0; i +#include +#include +#include +#include + +QMap registered_simulators; + +void registerSimulatorFactory(SimulatorFactory *factory) +{ + qDebug() << "registering" << factory->name() << "simulator"; + registered_simulators[factory->name()] = factory; +} + +void registerSimulator(const QString &filename) +{ + QLibrary lib(filename); + typedef SimulatorFactory * (*RegisterSimulator)(); + RegisterSimulator registerSimulator = (RegisterSimulator)lib.resolve("registerSimu"); + if (registerSimulator) { + SimulatorFactory *factory = registerSimulator(); + registerSimulatorFactory(factory); + } + else { + qWarning() << "Library error" << filename << lib.errorString(); + } +} + +void registerSimulators() +{ + QDir dir("."); + QStringList filters; +#if !defined __GNUC__ + filters << "*-simulator.dll"; +#else + filters << "*-simulator.so"; +#endif + foreach(QString filename, dir.entryList(filters, QDir::Files)) { + registerSimulator(filename); + } +} + +SimulatorFactory *getSimulatorFactory(const QString &name) +{ + QString simuName = name; + while(1) { + qDebug() << "searching" << simuName << "simulator"; + if (registered_simulators.contains(simuName)) { + return registered_simulators[simuName]; + } + else { + int pos = simuName.lastIndexOf('-'); + if (pos <= 0) + break; + simuName = simuName.mid(0, pos); + } + } + return NULL; +} + diff --git a/companion/src/simulation/simulatorinterface.h b/companion/src/simulation/simulatorinterface.h index 23d7b811c..d41795daa 100644 --- a/companion/src/simulation/simulatorinterface.h +++ b/companion/src/simulation/simulatorinterface.h @@ -17,9 +17,23 @@ #ifndef simulator_interface_h #define simulator_interface_h -#include "eeprominterface.h" +#include "constants.h" +#include +#include +#include +#include +#include -struct TxInputs { +#if __GNUC__ + #define PACK( __Declaration__ ) __Declaration__ __attribute__((__packed__)) +#else + #include "../targets/windows/winbuild.h" +#endif + +template t LIMIT(t mi, t x, t ma) { return std::min(std::max(mi, x), ma); } + +struct TxInputs +{ int sticks[NUM_STICKS]; /* lh lv rv rh */ int pots[C9X_NUM_POTS]; int switches[C9X_NUM_SWITCHES]; @@ -28,33 +42,34 @@ struct TxInputs { bool trims[8]; }; -class TxOutputs { +class TxOutputs +{ public: - TxOutputs() { - memset(this, 0, sizeof(TxOutputs)); - } - - int16_t chans[C9X_NUM_CHNOUT]; + TxOutputs() { memset(this, 0, sizeof(TxOutputs)); } + int chans[C9X_NUM_CHNOUT]; bool vsw[C9X_NUM_CSW]; - int16_t gvars[C9X_MAX_FLIGHT_MODES][C9X_MAX_GVARS]; + int gvars[C9X_MAX_FLIGHT_MODES][C9X_MAX_GVARS]; unsigned int beep; // uint8_t phase; }; -struct Trims { - int16_t values[NUM_STICKS]; /* lh lv rv rh */ - bool extended; +struct Trims +{ + int values[NUM_STICKS]; /* lh lv rv rh */ + bool extended; }; -class SimulatorInterface { - +class SimulatorInterface +{ public: virtual ~SimulatorInterface() {}; - virtual void start(QByteArray & eeprom, bool tests=true) = 0; + virtual void setSdPath(const QString &sdPath) { }; - virtual void start(const char * filename, bool tests=true) = 0; + virtual void start(QByteArray &eeprom, bool tests=true) = 0; + + virtual void start(const char *filename, bool tests=true) = 0; virtual void stop() = 0; @@ -62,7 +77,7 @@ class SimulatorInterface { virtual uint8_t * getLcd() = 0; - virtual bool lcdChanged(bool & lightEnable) = 0; + virtual bool lcdChanged(bool &lightEnable) = 0; virtual void setValues(TxInputs &inputs) = 0; @@ -70,13 +85,13 @@ class SimulatorInterface { virtual void setTrim(unsigned int idx, int value) = 0; - virtual void getTrims(Trims & trims) = 0; + virtual void getTrims(Trims &trims) = 0; virtual unsigned int getPhase() = 0; virtual const char * getPhaseName(unsigned int phase) = 0; - virtual void wheelEvent(uint8_t steps) = 0; + virtual void wheelEvent(int steps) { }; virtual const char * getError() = 0; @@ -87,4 +102,21 @@ class SimulatorInterface { virtual void installTraceHook(void (*callback)(const char *)) = 0; }; +class SimulatorFactory { + + public: + + virtual ~SimulatorFactory() { } + + virtual QString name() = 0; + + virtual BoardEnum type() = 0; + + virtual SimulatorInterface *create() = 0; +}; + +void registerSimulators(); +SimulatorFactory *getSimulatorFactory(const QString &name); +extern QMap registered_simulators; + #endif diff --git a/companion/src/simulation/telemetrysimu.cpp b/companion/src/simulation/telemetrysimu.cpp index b82b5280b..6fab9de7c 100644 --- a/companion/src/simulation/telemetrysimu.cpp +++ b/companion/src/simulation/telemetrysimu.cpp @@ -1,6 +1,7 @@ #include #include "telemetrysimu.h" #include "ui_telemetrysimu.h" +#include "simulatorinterface.h" #include "radio/src/telemetry/frsky.h" TelemetrySimulator::TelemetrySimulator(QWidget * parent, SimulatorInterface * simulator): @@ -90,4 +91,4 @@ void TelemetrySimulator::generateTelemetryFrame() return; } simulator->sendTelemetry(buffer, 9); -} \ No newline at end of file +} diff --git a/companion/src/simulator.cpp b/companion/src/simulator.cpp index 15910cfe8..54b8f27b0 100644 --- a/companion/src/simulator.cpp +++ b/companion/src/simulator.cpp @@ -98,26 +98,26 @@ int main(int argc, char *argv[]) QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8")); - registerEEpromInterfaces(); - registerOpenTxFirmwares(); - SimulatorDialog *dialog; - const char * eepromFileName; - QString fileName; - QByteArray path; + QString eepromFileName; QDir eedir; QFile file; + registerSimulators(); + registerOpenTxFirmwares(); + QMessageBox msgBox; msgBox.setWindowTitle("Radio type"); msgBox.setText("Which radio type do you want to simulate?"); msgBox.setIcon(QMessageBox::Question); - QAbstractButton *taranisButton = msgBox.addButton("Taranis", QMessageBox::ActionRole); - QAbstractButton *x9eButton = msgBox.addButton("Taranis X9E", QMessageBox::ActionRole); - QAbstractButton *sky9xButton = msgBox.addButton("9X-Sky9X", QMessageBox::ActionRole); - QAbstractButton *gruvinButton = msgBox.addButton("9X-Gruvin9X", QMessageBox::ActionRole); - QAbstractButton *proButton = msgBox.addButton("9XR-Pro", QMessageBox::ActionRole); - msgBox.addButton("9X-M128", QMessageBox::ActionRole); + + foreach(SimulatorFactory *factory, registered_simulators) { + QPushButton *button = msgBox.addButton(factory->name(), QMessageBox::ActionRole); + button->adjustSize(); + button->setProperty("name", factory->name()); + } + msgBox.adjustSize(); + QPushButton *exitButton = msgBox.addButton(QMessageBox::Close); eedir = QDir(QDesktopServices::storageLocation(QDesktopServices::DocumentsLocation)); @@ -128,53 +128,32 @@ int main(int argc, char *argv[]) msgBox.exec(); - if (msgBox.clickedButton() == exitButton) + QAbstractButton *button = msgBox.clickedButton(); + if (button == exitButton) { return 0; - else if (msgBox.clickedButton() == taranisButton) { - current_firmware_variant = GetFirmware("opentx-taranis-haptic-lua-en"); - fileName = eedir.filePath("eeprom-taranis.bin"); - path = fileName.toAscii(); - eepromFileName = path.data(); - dialog = new SimulatorDialogTaranis(); - } - else if (msgBox.clickedButton() == x9eButton) { - current_firmware_variant = GetFirmware("opentx-taranisx9e-mixersmon-lua-haptic-en"); - fileName = eedir.filePath("eeprom-x9e.bin"); - path = fileName.toAscii(); - eepromFileName = path.data(); - dialog = new SimulatorDialogTaranis(); - } - else if (msgBox.clickedButton() == sky9xButton) { - current_firmware_variant = GetFirmware("opentx-sky9x-heli-templates-ppmca-gvars-symlimits-autosource-autoswitch-battgraph-bluetooth-en"); - fileName = eedir.filePath("eeprom-sky9x.bin"); - path = fileName.toAscii(); - eepromFileName = path.data(); - dialog = new SimulatorDialog9X(); - } - else if (msgBox.clickedButton() == gruvinButton) { - current_firmware_variant = GetFirmware("opentx-gruvin9x-heli-templates-sdcard-voice-DSM2PPM-ppmca-gvars-symlimits-autosource-autoswitch-battgraph-ttsen-en"); - fileName = eedir.filePath("eeprom-gruvin9x.bin"); - path = fileName.toAscii(); - eepromFileName = path.data(); - dialog = new SimulatorDialog9X(); - } - else if (msgBox.clickedButton() == proButton) { - current_firmware_variant = GetFirmware("opentx-9xrpro-heli-templates-ppmca-gvars-symlimits-autosource-autoswitch-battgraph-en"); - fileName = eedir.filePath("eeprom-9xrpro.bin"); - path = fileName.toAscii(); - eepromFileName = path.data(); - dialog = new SimulatorDialog9X(); } else { - current_firmware_variant = GetFirmware("opentx-9x128-frsky-heli-templates-audio-voice-haptic-DSM2-ppmca-gvars-symlimits-autosource-autoswitch-battgraph-thrtrace-en"); - fileName = eedir.filePath("eeprom-9x128.bin"); - path = fileName.toAscii(); - eepromFileName = path.data(); - dialog = new SimulatorDialog9X(); + QString firmwareId = button->property("name").toString(); + QString radioId; + int pos = firmwareId.indexOf("-"); + if (pos > 0) { + radioId = firmwareId.mid(pos+1); + pos = radioId.lastIndexOf("-"); + if (pos > 0) { + radioId = radioId.mid(0, pos); + } + } + current_firmware_variant = GetFirmware(firmwareId); + eepromFileName = QString("eeprom-%1.bin").arg(radioId); + SimulatorFactory *factory = getSimulatorFactory(firmwareId); + if (factory->type() == BOARD_TARANIS) + dialog = new SimulatorDialogTaranis(NULL, factory->create()); + else + dialog = new SimulatorDialog9X(NULL, factory->create()); } dialog->show(); - dialog->start(eepromFileName); + dialog->start(eepromFileName.toAscii().constData()); int result = app.exec(); diff --git a/companion/targets/windows/companion-vs.nsi.in b/companion/targets/windows/companion-vs.nsi.in index aeaea5710..5da4e2a71 100644 --- a/companion/targets/windows/companion-vs.nsi.in +++ b/companion/targets/windows/companion-vs.nsi.in @@ -102,6 +102,7 @@ Section "OpenTX Companion" SecDummy File "@CMAKE_CURRENT_SOURCE_DIR@\..\targets\windows\license.txt" File "Release\companion.exe" File "Release\simulator.exe" + File "Release\opentx-*-simulator.dll" ${!defineifexist} PTHREAD_WINDIR "C:\Programs\pthreads\Pre-built.2\lib\pthreadVC2.dll" !ifdef PTHREAD_WINDIR File "C:\Programs\pthreads\Pre-built.2\lib\pthreadVC2.dll" @@ -187,6 +188,7 @@ Section "Uninstall" Delete "$INSTDIR\license.txt" Delete "$INSTDIR\companion.exe" Delete "$INSTDIR\simulator.exe" + Delete "$INSTDIR\opentx-*-simulator.dll" Delete "$INSTDIR\pthreadVC2.dll" Delete "$INSTDIR\xerces-c_3_1.dll" Delete "$INSTDIR\SDL.dll" diff --git a/companion/targets/windows/simulator-vs.nsi.in b/companion/targets/windows/simulator-vs.nsi.in index 654b6fc22..aae31c2f1 100755 --- a/companion/targets/windows/simulator-vs.nsi.in +++ b/companion/targets/windows/simulator-vs.nsi.in @@ -98,6 +98,8 @@ Section "OpenTX Simulator" SecDummy File "@CMAKE_CURRENT_SOURCE_DIR@\..\targets\windows\license.txt" File "Release\simulator.exe" + File "Release\opentx-*-simulator.dll" + ${!defineifexist} PTHREAD_WINDIR "C:\Programs\pthreads\Pre-built.2\lib\pthreadVC2.dll" !ifdef PTHREAD_WINDIR File "C:\Programs\pthreads\Pre-built.2\lib\pthreadVC2.dll" @@ -181,6 +183,7 @@ Section "Uninstall" Delete "$INSTDIR\Phonon4.dll" Delete "$INSTDIR\Uninstall.exe" Delete "$INSTDIR\lang\*.*" + Delete "$INSTDIR\opentx-*-simulator.dll" RMDir "$INSTDIR\lang" RMDir "$INSTDIR" diff --git a/radio/src/Makefile b/radio/src/Makefile index 4b4fe0feb..bcc830620 100644 --- a/radio/src/Makefile +++ b/radio/src/Makefile @@ -370,6 +370,10 @@ FONT2PNG = -$(PYTHON) ../util/font2png.py TRANSLATE = -$(PYTHON) ../util/translate.py VERSION = 2.0.99 +THIRDPARTY = thirdparty +COOSDIR = $(THIRDPARTY)/CoOS +FATFSDIR = $(THIRDPARTY)/FatFs + SRC = CPPSRC = INCDIRS = . translations @@ -615,7 +619,7 @@ ifeq ($(PCB), GRUVIN9X) SDCARD = NO BUZZER = NO THR_TRACE = YES - INCDIRS += targets/gruvin9x targets/stock FatFs FatFs/option + INCDIRS += targets/gruvin9x targets/stock $(FATFSDIR) $(FATFSDIR)/option BOARDSRC = main_avr.cpp targets/gruvin9x/board_gruvin9x.cpp EXTRABOARDSRC = targets/stock/lcd_driver.cpp targets/common_avr/telemetry_driver.cpp EEPROMSRC = eeprom_common.cpp eeprom_rlc.cpp @@ -628,7 +632,7 @@ ifeq ($(PCB), GRUVIN9X) CPPDEFS += -DRTCLOCK -DSDCARD CPPSRC += rtc.cpp sdcard.cpp logs.cpp targets/gruvin9x/rtc_driver.cpp GUIGENERALSRC += gui/$(GUIDIRECTORY)/menu_general_sdmanager.cpp - EXTRABOARDSRC += FatFs/ff.c FatFs/fattime.c FatFs/option/ccsbcs.c targets/gruvin9x/diskio.cpp + EXTRABOARDSRC += $(FATFSDIR)/ff.c $(FATFSDIR)/fattime.c $(FATFSDIR)/option/ccsbcs.c targets/gruvin9x/diskio.cpp endif ifeq ($(BUZZER), YES) @@ -660,7 +664,7 @@ ifeq ($(PCB), MEGA2560) SDCARD = NO BUZZER = YES THR_TRACE = YES - INCDIRS += targets/mega2560 targets/stock FatFs FatFs/option + INCDIRS += targets/mega2560 targets/stock $(FATFSDIR) $(FATFSDIR)/option BOARDSRC = main_avr.cpp targets/mega2560/board_mega2560.cpp EEPROMSRC = eeprom_common.cpp eeprom_rlc.cpp PULSESSRC = pulses/pulses_avr.cpp @@ -675,7 +679,7 @@ ifeq ($(PCB), MEGA2560) endif ifeq ($(SDCARD), YES) - EXTRABOARDSRC += FatFs/ff.c FatFs/fattime.c FatFs/option/ccsbcs.c targets/gruvin9x/diskio.cpp + EXTRABOARDSRC += $(FATFSDIR)/ff.c $(FATFSDIR)/fattime.c $(FATFSDIR)/option/ccsbcs.c targets/gruvin9x/diskio.cpp CPPDEFS += -DSDCARD -DRTCLOCK GUIGENERALSRC += gui/$(GUIDIRECTORY)/menu_general_sdmanager.cpp CPPSRC += rtc.cpp sdcard.cpp logs.cpp targets/gruvin9x/rtc_driver.cpp @@ -736,12 +740,12 @@ ifeq ($(PCB), $(filter $(PCB), SKY9X 9XRPRO)) ifeq ($(SPORT_FILE_LOG), YES) CPPDEFS += -DSPORT_FILE_LOG endif - INCDIRS += targets/sky9x CoOS CoOS/kernel CoOS/portable + INCDIRS += targets/sky9x $(COOSDIR) $(COOSDIR)/kernel $(COOSDIR)/portable GUIGENERALSRC += gui/$(GUIDIRECTORY)/menu_general_hardware.cpp gui/$(GUIDIRECTORY)/menu_general_diagkeys.cpp gui/$(GUIDIRECTORY)/menu_general_diaganas.cpp BOARDSRC = main_arm.cpp targets/sky9x/board_sky9x.cpp EXTRABOARDSRC = targets/sky9x/lcd_driver.cpp SRC += targets/sky9x/core_cm3.c targets/sky9x/board_lowlevel.c targets/sky9x/crt.c targets/sky9x/vectors_sam3s.c - SRC += CoOS/kernel/core.c CoOS/kernel/hook.c CoOS/kernel/task.c CoOS/kernel/event.c CoOS/kernel/time.c CoOS/kernel/timer.c CoOS/kernel/flag.c CoOS/kernel/mutex.c CoOS/kernel/serviceReq.c CoOS/portable/GCC/port.c CoOS/portable/arch.c + SRC += $(COOSDIR)/kernel/core.c $(COOSDIR)/kernel/hook.c $(COOSDIR)/kernel/task.c $(COOSDIR)/kernel/event.c $(COOSDIR)/kernel/time.c $(COOSDIR)/kernel/timer.c $(COOSDIR)/kernel/flag.c $(COOSDIR)/kernel/mutex.c $(COOSDIR)/kernel/serviceReq.c $(COOSDIR)/portable/GCC/port.c $(COOSDIR)/portable/arch.c SRC += targets/sky9x/usb/device/core/USBD_UDP.c targets/sky9x/usb/device/core/USBDDriver.c SRC += targets/sky9x/usb/device/massstorage/MSDDriver.c targets/sky9x/usb/device/massstorage/MSDDStateMachine.c targets/sky9x/usb/device/massstorage/MSDLun.c targets/sky9x/usb/device/massstorage/MSDDriverDescriptors.c targets/sky9x/usb/device/massstorage/SBCMethods.c SRC += targets/sky9x/usb/common/core/USBEndpointDescriptor.c targets/sky9x/usb/common/core/USBGenericRequest.c targets/sky9x/usb/common/core/USBFeatureRequest.c targets/sky9x/usb/common/core/USBInterfaceRequest.c targets/sky9x/usb/common/core/USBGetDescriptorRequest.c targets/sky9x/usb/common/core/USBSetAddressRequest.c targets/sky9x/usb/common/core/USBSetConfigurationRequest.c targets/sky9x/usb/common/core/USBConfigurationDescriptor.c targets/sky9x/usb/common/core/USBGenericDescriptor.c @@ -754,10 +758,10 @@ ifeq ($(PCB), $(filter $(PCB), SKY9X 9XRPRO)) BITMAPS += bitmaps/9X/splash.lbm bitmaps/9X/asterisk.lbm bitmaps/9X/about.lbm ifeq ($(SDCARD), YES) CPPDEFS += -DSDCARD -DVOICE - INCDIRS += FatFs FatFs/option + INCDIRS += $(FATFSDIR) $(FATFSDIR)/option CPPSRC += sdcard.cpp logs.cpp GUIGENERALSRC += gui/$(GUIDIRECTORY)/menu_general_sdmanager.cpp - EXTRABOARDSRC += FatFs/ff.c FatFs/fattime.c FatFs/option/ccsbcs.c targets/sky9x/diskio.cpp + EXTRABOARDSRC += $(FATFSDIR)/ff.c $(FATFSDIR)/fattime.c $(FATFSDIR)/option/ccsbcs.c targets/sky9x/diskio.cpp endif ifeq ($(BUZZER), YES) CPPDEFS += -DBUZZER @@ -845,21 +849,24 @@ ifeq ($(PCB), TARANIS) PPM_CENTER_ADJUSTABLE = YES DSM2 = PPM CPPDEFS += -DPCBTARANIS -DCPUARM -DCPUSTM32 -DVIRTUALINPUTS -DLUAINPUTS -DXCURVES -DEEPROM_VARIANT=0 -DAUDIO -DPXX - INCDIRS += targets/taranis CoOS CoOS/kernel CoOS/portable + INCDIRS += targets/taranis $(THIRDPARTY) $(COOSDIR) $(COOSDIR)/kernel $(COOSDIR)/portable ifeq ($(PCBREV), REV9E) + STM32LIBPATH = $(THIRDPARTY)/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries CPPDEFS += -DHSE_VALUE=16800000 CPPDEFS += -DSTM32F40_41xxx - EXTRAINCDIRS += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc + EXTRAINCDIRS += $(STM32LIBPATH)/CMSIS/Device/ST/STM32F4xx/Include $(STM32LIBPATH)/CMSIS/Include $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/inc else + STM32LIBPATH= $(THIRDPARTY)/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries CPPDEFS += -DHSE_VALUE=12000000 - EXTRAINCDIRS += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/include + EXTRAINCDIRS += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/inc $(STM32LIBPATH)/CMSIS/Device/ST/STM32F2xx/Include $(STM32LIBPATH)/CMSIS/include endif - EXTRAINCDIRS += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc - EXTRAINCDIRS += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/hid/inc + STM32USBPATH = $(THIRDPARTY)/STM32_USB-Host-Device_Lib_V2.1.0/Libraries + EXTRAINCDIRS += $(STM32USBPATH)/STM32_USB_OTG_Driver/inc $(STM32USBPATH)/STM32_USB_Device_Library/Core/inc + EXTRAINCDIRS += $(STM32USBPATH)/STM32_USB_Device_Library/Class/msc/inc $(STM32USBPATH)/STM32_USB_Device_Library/Class/hid/inc GUIGENERALSRC += gui/$(GUIDIRECTORY)/menu_general_hardware.cpp BOARDSRC = main_arm.cpp targets/taranis/board_taranis.cpp EXTRABOARDSRC += targets/taranis/configure_pins.cpp targets/taranis/lcd_driver.cpp targets/taranis/flash_driver.cpp targets/taranis/aspi.c targets/taranis/i2c.c targets/taranis/delays.c - SRC += CoOS/kernel/core.c CoOS/kernel/hook.c CoOS/kernel/task.c CoOS/kernel/event.c CoOS/kernel/time.c CoOS/kernel/timer.c CoOS/kernel/flag.c CoOS/kernel/mutex.c CoOS/kernel/serviceReq.c CoOS/portable/GCC/port.c CoOS/portable/arch.c + SRC += $(COOSDIR)/kernel/core.c $(COOSDIR)/kernel/hook.c $(COOSDIR)/kernel/task.c $(COOSDIR)/kernel/event.c $(COOSDIR)/kernel/time.c $(COOSDIR)/kernel/timer.c $(COOSDIR)/kernel/flag.c $(COOSDIR)/kernel/mutex.c $(COOSDIR)/kernel/serviceReq.c $(COOSDIR)/portable/GCC/port.c $(COOSDIR)/portable/arch.c SRC += targets/taranis/pwr_driver.c targets/taranis/usb_driver.c EEPROMSRC = eeprom_common.cpp eeprom_rlc.cpp eeprom_conversions.cpp PULSESSRC = pulses/pulses_arm.cpp pulses/ppm_arm.cpp pulses/pxx_arm.cpp @@ -868,37 +875,37 @@ ifeq ($(PCB), TARANIS) CPPSRC += bmp.cpp gui/$(GUIDIRECTORY)/view_channels.cpp gui/$(GUIDIRECTORY)/view_about.cpp gui/$(GUIDIRECTORY)/view_text.cpp loadboot.cpp debug.cpp ifeq ($(PCBREV), REV9E) EXTRABOARDSRC += targets/taranis/top_lcd_driver.cpp - SRC += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c - SRC += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/misc.c - SRC += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c - SRC += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dbgmcu.c - SRC += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c - SRC += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c - SRC += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c - SRC += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rtc.c - SRC += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_pwr.c - SRC += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_usart.c - SRC += targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f40_41xxx.s + SRC += $(STM32LIBPATH)/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/misc.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dbgmcu.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rtc.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_pwr.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_usart.c + SRC += $(STM32LIBPATH)/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f40_41xxx.s else - SRC += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/system_stm32f2xx.c - SRC += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/misc.c - SRC += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_gpio.c - SRC += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dbgmcu.c - SRC += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rcc.c - SRC += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_spi.c - SRC += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dma.c - SRC += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rtc.c - SRC += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_pwr.c - SRC += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_usart.c - SRC += targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc_ride7/startup_stm32f2xx.s + SRC += $(STM32LIBPATH)/CMSIS/Device/ST/STM32F2xx/Source/Templates/system_stm32f2xx.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/misc.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_gpio.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dbgmcu.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rcc.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_spi.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dma.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rtc.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_pwr.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_usart.c + SRC += $(STM32LIBPATH)/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc_ride7/startup_stm32f2xx.s endif SRC += targets/taranis/usb_bsp.c targets/taranis/usbd_desc.c - SRC += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_core.c - SRC += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd.c - SRC += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd_int.c - SRC += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_core.c - SRC += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_ioreq.c - SRC += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_req.c + SRC += $(STM32USBPATH)/STM32_USB_OTG_Driver/src/usb_core.c + SRC += $(STM32USBPATH)/STM32_USB_OTG_Driver/src/usb_dcd.c + SRC += $(STM32USBPATH)/STM32_USB_OTG_Driver/src/usb_dcd_int.c + SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Core/src/usbd_core.c + SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Core/src/usbd_ioreq.c + SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Core/src/usbd_req.c EXTRABOARDSRC += targets/taranis/usbd_usr.cpp SRC += targets/sky9x/syscalls.c ifeq ($(USB), JOYSTICK) @@ -906,10 +913,10 @@ ifeq ($(PCB), TARANIS) SRC += targets/taranis/usbd_hid_joystick.c else CPPDEFS += -DUSB_MASS_STORAGE - SRC += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_data.c - SRC += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_scsi.c - SRC += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_bot.c - SRC += targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_core.c + SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Class/msc/src/usbd_msc_data.c + SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Class/msc/src/usbd_msc_scsi.c + SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Class/msc/src/usbd_msc_bot.c + SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Class/msc/src/usbd_msc_core.c EXTRABOARDSRC += targets/taranis/usbd_storage_msd.cpp endif ifeq ($(NANO), YES) @@ -932,17 +939,17 @@ ifeq ($(PCB), TARANIS) lua/src/lobject.c lua/src/lopcodes.c lua/src/lparser.c lua/src/lstate.c lua/src/lstring.c lua/src/ltable.c lua/src/lrotable.c lua/src/ltm.c lua/src/lundump.c lua/src/lvm.c lua/src/lzio.c \ lua/src/lbaselib.c lua/src/linit.c lua/src/lmathlib.c lua/src/lbitlib.c lua/src/loadlib.c lua/src/lauxlib.c lua/src/ltablib.c lua/src/lcorolib.c SRC += $(LUASRC) - LUADEP = lua_exports.cpp + LUADEP = lua_exports.inc ifeq ($(USE_BIN_ALLOCATOR), YES) CPPDEFS += -DUSE_BIN_ALLOCATOR CPPSRC += bin_allocator.cpp endif endif - EXTRABOARDSRC += FatFs/ff.c FatFs/fattime.c FatFs/option/ccsbcs.c targets/taranis/diskio.cpp + EXTRABOARDSRC += $(FATFSDIR)/ff.c $(FATFSDIR)/fattime.c $(FATFSDIR)/option/ccsbcs.c targets/taranis/diskio.cpp CPPSRC += sdcard.cpp logs.cpp rtc.cpp targets/taranis/rtc_driver.cpp GUIGENERALSRC += gui/$(GUIDIRECTORY)/menu_general_sdmanager.cpp gui/$(GUIDIRECTORY)/menu_general_diagkeys.cpp gui/$(GUIDIRECTORY)/menu_general_diaganas.cpp CPPDEFS += -DSDCARD -DVOICE -DRTCLOCK - INCDIRS += FatFs FatFs/option + INCDIRS += $(FATFSDIR) $(FATFSDIR)/option ifeq ($(DSM2), PPM) CPPSRC += pulses/dsm2_arm.cpp endif @@ -1372,12 +1379,11 @@ endif # build bootloader ifeq ($(PCB), $(filter $(PCB), TARANIS)) -bootloader.lbm: bootloader/bootloader_ramBoot.bin +bootloader.lbm: targets/taranis/bootloader/bootloader_ramBoot.bin $(BIN2LBM) $^ $@ - -.PHONY bootloader/bootloader_ramBoot.bin: +.PHONY targets/taranis/bootloader/bootloader_ramBoot.bin: @echo "Building bootloader..." - $(MAKE) -C bootloader PCB=$(PCB) PCBREV=$(PCBREV) NANO=$(NANO) + $(MAKE) -C targets/taranis/bootloader PCB=$(PCB) PCBREV=$(PCBREV) NANO=$(NANO) else ifeq ($(PCB), 9XRPRO) bootloader.lbm: @echo "Fetching Mike's bootloader..." @@ -1508,11 +1514,11 @@ else PARSER = gcc -E -x c++ endif -lua_exports.cpp: myeeprom.h ../util/luaexport.py +lua_exports.inc: myeeprom.h ../util/luaexport.py @echo "Generating a list of Lua exported constants in lua_exports.txt" @$(PARSER) -DPCBTARANIS -DCPUARM -DCPUSTM32 -DLUA -DEXPORT myeeprom.h | grep LEXP > lua_exports.txt - @echo "Parsing and generating C Lua exports in lua_exports.cpp" - @$(PYTHON) ../util/luaexport.py $(VERSION) lua_exports.txt lua_exports.cpp lua_fields.txt + @echo "Parsing and generating C Lua exports in lua_exports.inc" + @$(PYTHON) ../util/luaexport.py $(VERSION) lua_exports.txt lua_exports.inc lua_fields.txt @rm lua_exports.txt # Eye candy. @@ -1563,7 +1569,7 @@ ifeq ($(SIMU_AUDIO), YES) endif ifeq ($(SIMU_DISKIO), YES) - CPPSRC += FatFs/ff.c FatFs/option/ccsbcs.c + CPPSRC += $(FATFSDIR)/ff.c $(FATFSDIR)/option/ccsbcs.c SIMUDEFS += -DSIMU_DISKIO endif @@ -1674,8 +1680,8 @@ clean_list : $(REMOVE) bitmaps/*/*/*.lbm $(REMOVE) fonts/*.lbm $(REMOVE) fonts/*/*.lbm - $(REMOVE) lua_exports.txt lua_exports.cpp lua_fields.txt - $(MAKE) -C bootloader clean + $(REMOVE) lua_exports.txt lua_exports.inc lua_fields.txt + $(MAKE) -C targets/taranis/bootloader clean #### Install diff --git a/radio/src/bootloader/Makefile b/radio/src/bootloader/Makefile deleted file mode 100644 index 8a4f68c36..000000000 --- a/radio/src/bootloader/Makefile +++ /dev/null @@ -1,392 +0,0 @@ -# -# !!!! Do NOT edit this makefile with an editor which replace tabs by spaces !!!! -# -############################################################################################## -# -# On command line: -# -# make all = Create project -# -# make clean = Clean project files. -# -# To rebuild project do "make clean" and "make all". -# - -############################################################################################## -# Start of default section -# - -TRGT = arm-none-eabi- -CC = $(TRGT)gcc -CP = $(TRGT)objcopy -CLSS = $(TRGT)objdump -AS = $(TRGT)as -#gcc -x assembler-with-cpp -BIN = $(CP) -O ihex -BINX = $(CP) -O binary - -OBJDIR = . - -ifeq ($(PCBREV), REV9E) - MCU = cortex-m4 -else - MCU = cortex-m3 -endif - -# List all default C defines here, like -D_DEBUG=1 -DDEFS = - -# List all default ASM defines here, like -D_DEBUG=1 -DADEFS = - -# List all default directories to look for include files here -DINCDIR = - -# List the default directory to look for the libraries here -DLIBDIR = - -# List all default libraries here -DLIBS = - -MEMORIES = sram - -EXT = STD - -# -# End of default section -############################################################################################## - -############################################################################################## -# Start of user section -# - -# -# Define project name and Ram/Flash mode here -PROJECT = bootloader - -ifeq ($(PCB), TARANIS) -RUN_FROM_FLASH = 0 - else - ifeq ($(PCB), X9D) - RUN_FROM_FLASH = 0 - else - RUN_FROM_FLASH = 1 - endif -endif - -# PCB revision -PCBREV = - -EXTRAINCDIRS = - -# -# Define linker script file here -# -ifeq ($(RUN_FROM_FLASH), 1) - ifeq ($(REVX), 1) - LDSCRIPT = sam3s8c_boot.ld - FULL_PRJ = $(PROJECT)_flash8 - EXTRAINCDIRS += include -# EXTRAINCDIRS += ../ - else - LDSCRIPT = sam3s4c_boot.ld - FULL_PRJ = $(PROJECT)_flash4 - EXTRAINCDIRS += include -# EXTRAINCDIRS += ../ - endif - TRGT = arm-none-eabi- - CPPDEFS += -DPCBSKY - UDEFS = -Dat91sam3s8 - - # If REVX board - ifeq ($(REVX), 1) - CPPDEFS += -DREVX - endif - - CPPDEFS += -DREVB - -else - ifeq ($(PCB), TARANIS) - ARCH = ARM - LDSCRIPT = ../targets/taranis/stm32_ramBoot.ld - TRGT = arm-none-eabi- - CPPDEFS += -DHSE_VALUE=12000000 - CPPDEFS += -DPCBTARANIS - FULL_PRJ = $(PROJECT)_ramBoot - ifeq ($(PCBREV), REV9E) - CPPDEFS += -DSTM32F40_41xxx - EXTRAINCDIRS += ../targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc - EXTRAINCDIRS += ../targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include - EXTRAINCDIRS += ../targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include - else - EXTRAINCDIRS += ../targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc - EXTRAINCDIRS += ../targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include - EXTRAINCDIRS += ../targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/include - endif - EXTRAINCDIRS += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc - EXTRAINCDIRS += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc - EXTRAINCDIRS += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc - EXTRAINCDIRS += ../targets/taranis - EXTRAINCDIRS += ../fonts/std - EXTRAINCDIRS += ../ - - ifeq ($(PCBREV), REV4a) - CPPDEFS += -DREV4a - else ifeq ($(PCBREV), REVPLUS) - CPPDEFS += -DREVPLUS - HAPTIC = YES - else ifeq ($(PCBREV), REV9E) - CPPDEFS += -DREVPLUS -DREV9E - HAPTIC = YES - else - CPPDEFS += -DREV4 - endif - - endif -endif - - -# List all user C define here, like -D_DEBUG=1 - -# Define ASM defines here -UADEFS = - -SRC = - -ifeq ($(PCB), TARANIS) - ifeq ($(PCBREV), REV9E) - SRC += ../targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c - SRC += ../targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c - SRC += ../targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c - SRC += ../targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c - SRC += ../targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/misc.c - else - SRC += ../targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/system_stm32f2xx.c - SRC += ../targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rcc.c - SRC += ../targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_gpio.c - SRC += ../targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_spi.c - SRC += ../targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/misc.c - endif - SRC += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_core.c - SRC += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd.c - SRC += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd_int.c - SRC += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_core.c - SRC += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_ioreq.c - SRC += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_req.c - SRC += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_data.c - SRC += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_scsi.c - SRC += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_bot.c - SRC += ../targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_core.c - SRC += ../targets/taranis/i2c.c ../targets/taranis/delays.c - SRC += ../FatFs/ff.c ../FatFs/option/ccsbcs.c - SRC += ../targets/taranis/usbd_desc.c - SRC += ../targets/taranis/aspi.c - SRC += ../targets/taranis/usb_bsp.c - SRC += ../targets/taranis/usb_driver.c - SRC += ../targets/taranis/pwr_driver.c - SRC += init.c - -CPPSRC = ../targets/taranis/lcd_driver.cpp \ - ../targets/taranis/configure_pins.cpp \ - ../targets/taranis/keys_driver.cpp \ - ../targets/taranis/flash_driver.cpp \ - ../targets/taranis/diskio.cpp \ - ../targets/taranis/usbd_usr.cpp \ - ../targets/taranis/usbd_storage_msd.cpp \ - ../gui/Taranis/lcd.cpp \ - ../keys.cpp \ - ../fonts.cpp \ - ../strhelpers.cpp \ - boot.cpp - -ifeq ($(PCBREV), REV9E) - CPPSRC += ../targets/taranis/rotenc_driver.cpp -endif - -# List ASM source files here - -ifeq ($(PCBREV), REV9E) - ASRC = ../targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f40_41xxx.s -else - ASRC = ../targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc_ride7/startup_stm32f2xx.s -endif - -else - -# List C source files here -SRC = core_cm3.c \ - board_lowlevel.c \ - crt.c \ - usb/device/core/USBD_UDP.c usb/device/core/USBDDriver.c usb/device/core/USBDCallbacks.c \ - usb/device/massstorage/MSDDriver.c usb/device/massstorage/MSDDStateMachine.c \ - usb/device/massstorage/MSDLun.c usb/device/massstorage/MSDDriverDescriptors.c usb/device/massstorage/SBCMethods.c \ - usb/common/core/USBEndpointDescriptor.c usb/common/core/USBGenericRequest.c \ - usb/common/core/USBFeatureRequest.c usb/common/core/USBInterfaceRequest.c usb/common/core/USBGetDescriptorRequest.c \ - usb/common/core/USBSetAddressRequest.c usb/common/core/USBSetConfigurationRequest.c \ - usb/common/core/USBConfigurationDescriptor.c usb/common/core/USBGenericDescriptor.c \ - MEDSdcard.c \ - vectors_sam3s.c - -CPPSRC = lcdboot.cpp \ - ff.cpp \ - diskio.cpp \ - driversboot.cpp \ - logicioboot.cpp \ - sdcard_driver.cpp \ - massstorage.cpp \ - bootsamEeprom.cpp \ - ff_lfn.cpp \ - power.cpp \ - boot.cpp - -# List ASM source files here -ASRC = - -endif - -# List all user directories here -UINCDIR = ./inc -# \ -# ./cmsis/core \ -# ./cmsis/device - -# List the user directory to look for the libraries here -ULIBDIR = - -# List all user libraries here -ULIBS = - -# Define optimisation level here -OPT = -Os - -# -# End of user defines -############################################################################################## - - -VPATH = $(DIRS) - -INCDIR = $(patsubst %,-I%,$(DINCDIR) $(UINCDIR)) -LIBDIR = $(patsubst %,-L%,$(DLIBDIR) $(ULIBDIR)) - -ifeq ($(RUN_FROM_FLASH), 0) -DEFS = $(DDEFS) $(UDEFS) -DRUN_FROM_FLASH=0 -else -DEFS = $(DDEFS) $(UDEFS) -DRUN_FROM_FLASH=1 -endif - -ADEFS = $(DADEFS) $(UADEFS) - -AXOBJS = $(ASRC:%.s=%.o) -CXOBJS = $(SRC:%.c=%.o) -CPPXOBJS = $(CPPSRC:%.cpp=%.o) - -LIBS = $(DLIBS) $(ULIBS) -MCFLAGS = -mcpu=$(MCU) - -ifeq ($(NANO), YES) - # use newlib-nano for linking - # NEWLIB_NANO_FLAGS = --specs=nano.specs -u _printf_float #use this version if printf for floats is needed! - NEWLIB_NANO_FLAGS = --specs=nano.specs -endif - -#ASFLAGS = $(MCFLAGS) -g -gdwarf-2 -Wa,-amhls=$(OBJDIR)/$(notdir $(<:.s=.lst)) $(ADEFS) -CPFLAGS = $(MCFLAGS) $(OPT) -gdwarf-2 -mthumb -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm $(DEFS) -LDFLAGS = $(MCFLAGS) -mthumb -nostartfiles -T$(LDSCRIPT) -Wl,-Map=$(FULL_PRJ).map,--cref,--no-warn-mismatch $(LIBDIR) $(NEWLIB_NANO_FLAGS) -CPPFLAGS = $(MCFLAGS) $(OPT) -gdwarf-2 -mthumb -fomit-frame-pointer -Wall -fverbose-asm $(DEFS) - -CPPFLAGS += $(CPPDEFS) -CPFLAGS += $(CPPDEFS) -CPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) - -AOBJS = $(patsubst %,$(OBJDIR)/%,$(notdir $(AXOBJS) )) -COBJS = $(patsubst %,$(OBJDIR)/%,$(notdir $(CXOBJS) )) -CPPOBJS = $(patsubst %,$(OBJDIR)/%,$(notdir $(CPPXOBJS) )) -DIRS = $(sort $(dir $(AXOBJS) $(CXOBJS) $(CPPXOBJS) ) ) - - -CPPDEFS += -DCPUARM - -ifeq ($(PCB), TARANIS) - CPPDEFS += -DCPUSTM32 -endif - -CPPDEFS += -DTIMERS=0 - -# If serial Debug required -ifeq ($(DEBUG), 1) - CPPDEFS += -DDEBUG -endif - -CPPDEFS += -DBOOT - -# Generate dependency information -CPFLAGS += -MD -MP -MF .dep/$(@F).d -CPPFLAGS += -MD -MP -MF .dep/$(@F).d -CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) - -# -# makefile rules -# - -all: size_before $(OBJS) $(COBJS) $(CPPOBJS) $(FULL_PRJ).elf $(FULL_PRJ).hex $(FULL_PRJ).lss $(FULL_PRJ).bin size - -#begin: -# @echo $(AXOBJS) $(CXOBJS) $(CPPXOBJS) -# @echo -# @echo $(OBJS) $(COBJS) $(CPPOBJS) -# @echo -# @echo $(DIRS) - -size_before: -# arm-none-eabi-size $(FULL_PRJ).elf - @if test -f $(FULL_PRJ).elf; then arm-none-eabi-size $(FULL_PRJ).elf; fi - -size: -# arm-none-eabi-size $(FULL_PRJ).elf - @if test -f $(FULL_PRJ).elf; then arm-none-eabi-size $(FULL_PRJ).elf; fi - -$(CPPOBJS) : $(OBJDIR)/%.o : %.cpp - $(CC) -c $(CPPFLAGS) -fno-exceptions -I . $(INCDIR) $< -o $@ - -$(COBJS) : $(OBJDIR)/%.o : %.c - $(CC) -c $(CPFLAGS) -I . $(INCDIR) $< -o $@ - - -$(AOBJS) : $(OBJDIR)/%.o : %.s - $(AS) -c $(ASFLAGS) $< -o $@ - -%elf: $(AOBJS) $(COBJS) $(CPPOBJS) - $(CC) $(AOBJS) $(COBJS) $(CPPOBJS) $(LDFLAGS) $(LIBS) -o $@ - -# Create extended listing file from ELF output file. -%.lss: %.elf - $(CLSS) -h -S $< > $@ - -%hex: %elf - $(BIN) $< $@ - -%bin: %elf - $(BINX) $< $@ - -# $(PROJECT)_flash8 -# $(PROJECT)_flash4 -# $(PROJECT)_ramBootS -# $(PROJECT)_ramBootT - -clean: - -rm -f *.o - -rm -f *.elf - -rm -f *.map - -rm -f *.hex - -rm -f *.bin - -rm -f *.lss - -rm -fR .dep - - -# -# Include the dependency files, should be the last of the makefile -# --include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*) - -# *** EOF *** diff --git a/radio/src/debug.cpp b/radio/src/debug.cpp index 44a62a9e5..468840cba 100644 --- a/radio/src/debug.cpp +++ b/radio/src/debug.cpp @@ -34,9 +34,12 @@ * */ -#include "opentx.h" +extern "C" { #include #include +} + +#include "opentx.h" #if (defined(DEBUG) && defined(CPUARM)) || defined(SIMU) diff --git a/radio/src/gui/Taranis/lcd.cpp b/radio/src/gui/Taranis/lcd.cpp index 14713b9b0..e5a86bd78 100755 --- a/radio/src/gui/Taranis/lcd.cpp +++ b/radio/src/gui/Taranis/lcd.cpp @@ -34,8 +34,8 @@ * */ -#include "opentx.h" -#include "timers.h" +#include "../../opentx.h" +#include "../../timers.h" #if defined(REVPLUS) && defined(LCD_DUAL_BUFFER) display_t displayBuf1[DISPLAY_BUF_SIZE]; diff --git a/radio/src/gui/Taranis/menu_general_calib.cpp b/radio/src/gui/Taranis/menu_general_calib.cpp index ec8361954..1c4c015c1 100755 --- a/radio/src/gui/Taranis/menu_general_calib.cpp +++ b/radio/src/gui/Taranis/menu_general_calib.cpp @@ -144,7 +144,7 @@ void menuCommonCalib(uint8_t event) for (int j=0; j FORCEINLINE t min(t a, t b) { return a FORCEINLINE t max(t a, t b) { return a>b?a:b; } template FORCEINLINE t sgn(t a) { return a>0 ? 1 : (a < 0 ? -1 : 0); } template FORCEINLINE t limit(t mi, t x, t ma) { return min(max(mi,x),ma); } -#if !defined(SWAP_DEFINED) -template void swap(t & a, t & b) { t tmp = b; b = a; a = tmp; } -#endif +template void SWAP(t & a, t & b) { t tmp = b; b = a; a = tmp; } uint16_t isqrt32(uint32_t n); diff --git a/radio/src/sdcard.cpp b/radio/src/sdcard.cpp index a05763c9d..ad128d63a 100644 --- a/radio/src/sdcard.cpp +++ b/radio/src/sdcard.cpp @@ -35,9 +35,8 @@ */ #include -#include "../../FatFs/diskio.h" -#include "../../FatFs/ff.h" - +#include "FatFs/diskio.h" +#include "FatFs/ff.h" #define LIST_NONE_SD_FILE 1 diff --git a/radio/src/targets/simu/simpgmspace.h b/radio/src/targets/simu/simpgmspace.h index be13e2736..a9003a2d8 100644 --- a/radio/src/targets/simu/simpgmspace.h +++ b/radio/src/targets/simu/simpgmspace.h @@ -337,6 +337,8 @@ extern void rxPdcUsart( void (*pChProcess)(uint8_t x) ); #define WGM10 0 #define WGM12 0 +#define COM1B1 0 +#define FOC1B 0 #define CS10 0 #define DOR0 0 #define UPE0 0 @@ -434,9 +436,10 @@ inline void GPIO_Init(GPIO_TypeDef* GPIOx, GPIO_InitTypeDef* GPIO_InitStruct) { #define configure_pins(...) -extern "C" { +#if defined(SDCARD) extern char simuSdDirectory[1024]; -} +#endif + #define sdMountPoll() #define sdPoll10ms() #define sd_card_ready() (true) diff --git a/radio/src/targets/taranis/bootloader/Makefile b/radio/src/targets/taranis/bootloader/Makefile new file mode 100755 index 000000000..8733bee13 --- /dev/null +++ b/radio/src/targets/taranis/bootloader/Makefile @@ -0,0 +1,335 @@ +# +# !!!! Do NOT edit this makefile with an editor which replace tabs by spaces !!!! +# +############################################################################################## +# +# On command line: +# +# make all = Create project +# +# make clean = Clean project files. +# +# To rebuild project do "make clean" and "make all". +# + +############################################################################################## +# Start of default section +# + +TRGT = arm-none-eabi- +CC = $(TRGT)gcc +CP = $(TRGT)objcopy +CLSS = $(TRGT)objdump +AS = $(TRGT)as +#gcc -x assembler-with-cpp +BIN = $(CP) -O ihex +BINX = $(CP) -O binary + +OBJDIR = . + +THIRDPARTY = ../../../thirdparty + +ifeq ($(PCBREV), REV9E) + MCU = cortex-m4 + STM32LIBPATH = $(THIRDPARTY)/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries +else + MCU = cortex-m3 + STM32LIBPATH = $(THIRDPARTY)/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries +endif + +# List all default C defines here, like -D_DEBUG=1 +DDEFS = + +# List all default ASM defines here, like -D_DEBUG=1 +DADEFS = + +# List all default directories to look for include files here +DINCDIR = + +# List the default directory to look for the libraries here +DLIBDIR = + +# List all default libraries here +DLIBS = + +MEMORIES = sram + +EXT = STD + +# +# End of default section +############################################################################################## + +############################################################################################## +# Start of user section +# + +# +# Define project name and Ram/Flash mode here +PROJECT = bootloader + +ifeq ($(PCB), TARANIS) +RUN_FROM_FLASH = 0 + else + ifeq ($(PCB), X9D) + RUN_FROM_FLASH = 0 + else + RUN_FROM_FLASH = 1 + endif +endif + +# PCB revision +PCBREV = + +EXTRAINCDIRS = $(THIRDPARTY) + +STM32USBPATH = ../../../thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries + +# +# Define linker script file here +# +ifeq ($(PCB), TARANIS) + ARCH = ARM + LDSCRIPT = ../stm32_ramBoot.ld + TRGT = arm-none-eabi- + CPPDEFS += -DHSE_VALUE=12000000 + CPPDEFS += -DPCBTARANIS + FULL_PRJ = $(PROJECT)_ramBoot + ifeq ($(PCBREV), REV9E) + CPPDEFS += -DSTM32F40_41xxx + EXTRAINCDIRS += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/inc + EXTRAINCDIRS += $(STM32LIBPATH)/CMSIS/Device/ST/STM32F4xx/Include + EXTRAINCDIRS += $(STM32LIBPATH)/CMSIS/Include + else + EXTRAINCDIRS += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/inc + EXTRAINCDIRS += $(STM32LIBPATH)/CMSIS/Device/ST/STM32F2xx/Include + EXTRAINCDIRS += $(STM32LIBPATH)/CMSIS/include + endif + EXTRAINCDIRS += $(STM32USBPATH)/STM32_USB_OTG_Driver/inc + EXTRAINCDIRS += $(STM32USBPATH)/STM32_USB_Device_Library/Core/inc + EXTRAINCDIRS += $(STM32USBPATH)/STM32_USB_Device_Library/Class/msc/inc + EXTRAINCDIRS += .. ../../.. ../../../fonts/std + ifeq ($(PCBREV), REV4a) + CPPDEFS += -DREV4a + else ifeq ($(PCBREV), REVPLUS) + CPPDEFS += -DREVPLUS + HAPTIC = YES + else ifeq ($(PCBREV), REV9E) + CPPDEFS += -DREVPLUS -DREV9E + HAPTIC = YES + else + CPPDEFS += -DREV4 + endif +endif + +# List all user C define here, like -D_DEBUG=1 + +# Define ASM defines here +UADEFS = + +SRC = + +ifeq ($(PCBREV), REV9E) + SRC += $(STM32LIBPATH)/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c + SRC += $(STM32LIBPATH)/STM32F4xx_StdPeriph_Driver/src/misc.c +else + SRC += $(STM32LIBPATH)/CMSIS/Device/ST/STM32F2xx/Source/Templates/system_stm32f2xx.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rcc.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_gpio.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_spi.c + SRC += $(STM32LIBPATH)/STM32F2xx_StdPeriph_Driver/src/misc.c +endif + +SRC += $(STM32USBPATH)/STM32_USB_OTG_Driver/src/usb_core.c +SRC += $(STM32USBPATH)/STM32_USB_OTG_Driver/src/usb_dcd.c +SRC += $(STM32USBPATH)/STM32_USB_OTG_Driver/src/usb_dcd_int.c +SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Core/src/usbd_core.c +SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Core/src/usbd_ioreq.c +SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Core/src/usbd_req.c +SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Class/msc/src/usbd_msc_data.c +SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Class/msc/src/usbd_msc_scsi.c +SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Class/msc/src/usbd_msc_bot.c +SRC += $(STM32USBPATH)/STM32_USB_Device_Library/Class/msc/src/usbd_msc_core.c +SRC += ../i2c.c ../delays.c +SRC += $(THIRDPARTY)/FatFs/ff.c $(THIRDPARTY)/FatFs/option/ccsbcs.c +SRC += ../usbd_desc.c +SRC += ../aspi.c +SRC += ../usb_bsp.c +SRC += ../usb_driver.c +SRC += ../pwr_driver.c +SRC += init.c + +CPPSRC = ../lcd_driver.cpp \ + ../configure_pins.cpp \ + ../keys_driver.cpp \ + ../flash_driver.cpp \ + ../diskio.cpp \ + ../usbd_usr.cpp \ + ../usbd_storage_msd.cpp \ + ../../../gui/Taranis/lcd.cpp \ + ../../../keys.cpp \ + ../../../fonts.cpp \ + ../../../strhelpers.cpp \ + boot.cpp + +ifeq ($(PCBREV), REV9E) + CPPSRC += ../rotenc_driver.cpp +endif + +# List ASM source files here + +ifeq ($(PCBREV), REV9E) + ASRC = $(STM32LIBPATH)/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f40_41xxx.s +else + ASRC = $(STM32LIBPATH)/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc_ride7/startup_stm32f2xx.s +endif + +# List all user directories here +UINCDIR = ./inc +# \ +# ./cmsis/core \ +# ./cmsis/device + +# List the user directory to look for the libraries here +ULIBDIR = + +# List all user libraries here +ULIBS = + +# Define optimisation level here +OPT = -Os + +# +# End of user defines +############################################################################################## + + +VPATH = $(DIRS) + +INCDIR = $(patsubst %,-I%,$(DINCDIR) $(UINCDIR)) +LIBDIR = $(patsubst %,-L%,$(DLIBDIR) $(ULIBDIR)) + +ifeq ($(RUN_FROM_FLASH), 0) +DEFS = $(DDEFS) $(UDEFS) -DRUN_FROM_FLASH=0 +else +DEFS = $(DDEFS) $(UDEFS) -DRUN_FROM_FLASH=1 +endif + +ADEFS = $(DADEFS) $(UADEFS) + +AXOBJS = $(ASRC:%.s=%.o) +CXOBJS = $(SRC:%.c=%.o) +CPPXOBJS = $(CPPSRC:%.cpp=%.o) + +LIBS = $(DLIBS) $(ULIBS) +MCFLAGS = -mcpu=$(MCU) + +ifeq ($(NANO), YES) + # use newlib-nano for linking + # NEWLIB_NANO_FLAGS = --specs=nano.specs -u _printf_float #use this version if printf for floats is needed! + NEWLIB_NANO_FLAGS = --specs=nano.specs +endif + +#ASFLAGS = $(MCFLAGS) -g -gdwarf-2 -Wa,-amhls=$(OBJDIR)/$(notdir $(<:.s=.lst)) $(ADEFS) +CPFLAGS = $(MCFLAGS) $(OPT) -gdwarf-2 -mthumb -fomit-frame-pointer -Wall -Wstrict-prototypes -fverbose-asm $(DEFS) +LDFLAGS = $(MCFLAGS) -mthumb -nostartfiles -T$(LDSCRIPT) -Wl,-Map=$(FULL_PRJ).map,--cref,--no-warn-mismatch $(LIBDIR) $(NEWLIB_NANO_FLAGS) +CPPFLAGS = $(MCFLAGS) $(OPT) -gdwarf-2 -mthumb -fomit-frame-pointer -Wall -fverbose-asm $(DEFS) + +CPPFLAGS += $(CPPDEFS) +CPFLAGS += $(CPPDEFS) +CPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) + +AOBJS = $(patsubst %,$(OBJDIR)/%,$(notdir $(AXOBJS) )) +COBJS = $(patsubst %,$(OBJDIR)/%,$(notdir $(CXOBJS) )) +CPPOBJS = $(patsubst %,$(OBJDIR)/%,$(notdir $(CPPXOBJS) )) +DIRS = $(sort $(dir $(AXOBJS) $(CXOBJS) $(CPPXOBJS) ) ) + + +CPPDEFS += -DCPUARM + +ifeq ($(PCB), TARANIS) + CPPDEFS += -DCPUSTM32 +endif + +CPPDEFS += -DTIMERS=0 + +# If serial Debug required +ifeq ($(DEBUG), 1) + CPPDEFS += -DDEBUG +endif + +CPPDEFS += -DBOOT + +# Generate dependency information +CPFLAGS += -MD -MP -MF .dep/$(@F).d +CPPFLAGS += -MD -MP -MF .dep/$(@F).d +CPPFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS)) + +# +# makefile rules +# + +all: size_before $(OBJS) $(COBJS) $(CPPOBJS) $(FULL_PRJ).elf $(FULL_PRJ).hex $(FULL_PRJ).lss $(FULL_PRJ).bin size + +#begin: +# @echo $(AXOBJS) $(CXOBJS) $(CPPXOBJS) +# @echo +# @echo $(OBJS) $(COBJS) $(CPPOBJS) +# @echo +# @echo $(DIRS) + +size_before: +# arm-none-eabi-size $(FULL_PRJ).elf + @if test -f $(FULL_PRJ).elf; then arm-none-eabi-size $(FULL_PRJ).elf; fi + +size: +# arm-none-eabi-size $(FULL_PRJ).elf + @if test -f $(FULL_PRJ).elf; then arm-none-eabi-size $(FULL_PRJ).elf; fi + +$(CPPOBJS) : $(OBJDIR)/%.o : %.cpp + $(CC) -c $(CPPFLAGS) -fno-exceptions -I . $(INCDIR) $< -o $@ + +$(COBJS) : $(OBJDIR)/%.o : %.c + $(CC) -c $(CPFLAGS) -I . $(INCDIR) $< -o $@ + + +$(AOBJS) : $(OBJDIR)/%.o : %.s + $(AS) -c $(ASFLAGS) $< -o $@ + +%elf: $(AOBJS) $(COBJS) $(CPPOBJS) + $(CC) $(AOBJS) $(COBJS) $(CPPOBJS) $(LDFLAGS) $(LIBS) -o $@ + +# Create extended listing file from ELF output file. +%.lss: %.elf + $(CLSS) -h -S $< > $@ + +%hex: %elf + $(BIN) $< $@ + +%bin: %elf + $(BINX) $< $@ + +# $(PROJECT)_flash8 +# $(PROJECT)_flash4 +# $(PROJECT)_ramBootS +# $(PROJECT)_ramBootT + +clean: + -rm -f *.o + -rm -f *.elf + -rm -f *.map + -rm -f *.hex + -rm -f *.bin + -rm -f *.lss + -rm -fR .dep + + +# +# Include the dependency files, should be the last of the makefile +# +-include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*) + +# *** EOF *** diff --git a/radio/src/bootloader/boot.cpp b/radio/src/targets/taranis/bootloader/boot.cpp old mode 100644 new mode 100755 similarity index 98% rename from radio/src/bootloader/boot.cpp rename to radio/src/targets/taranis/bootloader/boot.cpp index d9ef790e4..8f5f6690e --- a/radio/src/bootloader/boot.cpp +++ b/radio/src/targets/taranis/bootloader/boot.cpp @@ -54,15 +54,15 @@ #include #include "board_taranis.h" -#include "../eeprom_rlc.h" -#include "../pwr.h" -#include "../gui/Taranis/lcd.h" -#include "../keys.h" -#include "../sdcard.h" -#include "../FatFs/ff.h" -#include "../FatFs/diskio.h" -#include "../translations/en.h" -#include "../stamp-opentx.h" +#include "eeprom_rlc.h" +#include "pwr.h" +#include "gui/Taranis/lcd.h" +#include "keys.h" +#include "sdcard.h" +#include "FatFs/ff.h" +#include "FatFs/diskio.h" +#include "translations/en.h" +#include "stamp-opentx.h" #if defined(PCBTARANIS) #define BOOTLOADER_TITLE " Taranis BootLoader - " VERS_STR diff --git a/radio/src/bootloader/init.c b/radio/src/targets/taranis/bootloader/init.c old mode 100644 new mode 100755 similarity index 100% rename from radio/src/bootloader/init.c rename to radio/src/targets/taranis/bootloader/init.c diff --git a/radio/src/targets/taranis/diskio.cpp b/radio/src/targets/taranis/diskio.cpp index 08e76eb10..1e498d04b 100644 --- a/radio/src/targets/taranis/diskio.cpp +++ b/radio/src/targets/taranis/diskio.cpp @@ -36,11 +36,11 @@ #include #include "board_taranis.h" -#include "../../FatFs/diskio.h" -#include "../../FatFs/ff.h" -#include "../../CoOS/kernel/CoOS.h" +#include "../../thirdparty/FatFs/diskio.h" +#include "../../thirdparty/FatFs/ff.h" +#include "../../thirdparty/CoOS/kernel/CoOS.h" #include "hal.h" -#include "debug.h" +#include "../../debug.h" /* Definitions for MMC/SDC command */ #define CMD0 (0x40+0) /* GO_IDLE_STATE */ diff --git a/radio/src/targets/taranis/usbd_storage_msd.cpp b/radio/src/targets/taranis/usbd_storage_msd.cpp index 4cc3aad81..c4ba7f3e8 100644 --- a/radio/src/targets/taranis/usbd_storage_msd.cpp +++ b/radio/src/targets/taranis/usbd_storage_msd.cpp @@ -27,7 +27,7 @@ /* Includes ------------------------------------------------------------------*/ #include "../../opentx.h" -#include "../../FatFs/diskio.h" +#include "../../thirdparty/FatFs/diskio.h" #include "board_taranis.h" #if defined(__cplusplus) && !defined(SIMU) diff --git a/radio/src/CoOS/OsConfig.h b/radio/src/thirdparty/CoOS/OsConfig.h similarity index 100% rename from radio/src/CoOS/OsConfig.h rename to radio/src/thirdparty/CoOS/OsConfig.h diff --git a/radio/src/CoOS/kernel/CoOS.h b/radio/src/thirdparty/CoOS/kernel/CoOS.h similarity index 100% rename from radio/src/CoOS/kernel/CoOS.h rename to radio/src/thirdparty/CoOS/kernel/CoOS.h diff --git a/radio/src/CoOS/kernel/OsCore.h b/radio/src/thirdparty/CoOS/kernel/OsCore.h similarity index 100% rename from radio/src/CoOS/kernel/OsCore.h rename to radio/src/thirdparty/CoOS/kernel/OsCore.h diff --git a/radio/src/CoOS/kernel/OsError.h b/radio/src/thirdparty/CoOS/kernel/OsError.h similarity index 100% rename from radio/src/CoOS/kernel/OsError.h rename to radio/src/thirdparty/CoOS/kernel/OsError.h diff --git a/radio/src/CoOS/kernel/OsEvent.h b/radio/src/thirdparty/CoOS/kernel/OsEvent.h similarity index 100% rename from radio/src/CoOS/kernel/OsEvent.h rename to radio/src/thirdparty/CoOS/kernel/OsEvent.h diff --git a/radio/src/CoOS/kernel/OsFlag.h b/radio/src/thirdparty/CoOS/kernel/OsFlag.h similarity index 100% rename from radio/src/CoOS/kernel/OsFlag.h rename to radio/src/thirdparty/CoOS/kernel/OsFlag.h diff --git a/radio/src/CoOS/kernel/OsKernelHeap.h b/radio/src/thirdparty/CoOS/kernel/OsKernelHeap.h similarity index 100% rename from radio/src/CoOS/kernel/OsKernelHeap.h rename to radio/src/thirdparty/CoOS/kernel/OsKernelHeap.h diff --git a/radio/src/CoOS/kernel/OsMM.h b/radio/src/thirdparty/CoOS/kernel/OsMM.h similarity index 100% rename from radio/src/CoOS/kernel/OsMM.h rename to radio/src/thirdparty/CoOS/kernel/OsMM.h diff --git a/radio/src/CoOS/kernel/OsMutex.h b/radio/src/thirdparty/CoOS/kernel/OsMutex.h similarity index 100% rename from radio/src/CoOS/kernel/OsMutex.h rename to radio/src/thirdparty/CoOS/kernel/OsMutex.h diff --git a/radio/src/CoOS/kernel/OsQueue.h b/radio/src/thirdparty/CoOS/kernel/OsQueue.h similarity index 100% rename from radio/src/CoOS/kernel/OsQueue.h rename to radio/src/thirdparty/CoOS/kernel/OsQueue.h diff --git a/radio/src/CoOS/kernel/OsServiceReq.h b/radio/src/thirdparty/CoOS/kernel/OsServiceReq.h similarity index 100% rename from radio/src/CoOS/kernel/OsServiceReq.h rename to radio/src/thirdparty/CoOS/kernel/OsServiceReq.h diff --git a/radio/src/CoOS/kernel/OsTask.h b/radio/src/thirdparty/CoOS/kernel/OsTask.h similarity index 100% rename from radio/src/CoOS/kernel/OsTask.h rename to radio/src/thirdparty/CoOS/kernel/OsTask.h diff --git a/radio/src/CoOS/kernel/OsTime.h b/radio/src/thirdparty/CoOS/kernel/OsTime.h similarity index 100% rename from radio/src/CoOS/kernel/OsTime.h rename to radio/src/thirdparty/CoOS/kernel/OsTime.h diff --git a/radio/src/CoOS/kernel/OsTimer.h b/radio/src/thirdparty/CoOS/kernel/OsTimer.h similarity index 100% rename from radio/src/CoOS/kernel/OsTimer.h rename to radio/src/thirdparty/CoOS/kernel/OsTimer.h diff --git a/radio/src/CoOS/kernel/coocox.h b/radio/src/thirdparty/CoOS/kernel/coocox.h similarity index 100% rename from radio/src/CoOS/kernel/coocox.h rename to radio/src/thirdparty/CoOS/kernel/coocox.h diff --git a/radio/src/CoOS/kernel/core.c b/radio/src/thirdparty/CoOS/kernel/core.c similarity index 100% rename from radio/src/CoOS/kernel/core.c rename to radio/src/thirdparty/CoOS/kernel/core.c diff --git a/radio/src/CoOS/kernel/event.c b/radio/src/thirdparty/CoOS/kernel/event.c similarity index 100% rename from radio/src/CoOS/kernel/event.c rename to radio/src/thirdparty/CoOS/kernel/event.c diff --git a/radio/src/CoOS/kernel/flag.c b/radio/src/thirdparty/CoOS/kernel/flag.c similarity index 100% rename from radio/src/CoOS/kernel/flag.c rename to radio/src/thirdparty/CoOS/kernel/flag.c diff --git a/radio/src/CoOS/kernel/hook.c b/radio/src/thirdparty/CoOS/kernel/hook.c similarity index 100% rename from radio/src/CoOS/kernel/hook.c rename to radio/src/thirdparty/CoOS/kernel/hook.c diff --git a/radio/src/CoOS/kernel/kernelHeap.c b/radio/src/thirdparty/CoOS/kernel/kernelHeap.c similarity index 100% rename from radio/src/CoOS/kernel/kernelHeap.c rename to radio/src/thirdparty/CoOS/kernel/kernelHeap.c diff --git a/radio/src/CoOS/kernel/mbox.c b/radio/src/thirdparty/CoOS/kernel/mbox.c similarity index 100% rename from radio/src/CoOS/kernel/mbox.c rename to radio/src/thirdparty/CoOS/kernel/mbox.c diff --git a/radio/src/CoOS/kernel/mm.c b/radio/src/thirdparty/CoOS/kernel/mm.c similarity index 100% rename from radio/src/CoOS/kernel/mm.c rename to radio/src/thirdparty/CoOS/kernel/mm.c diff --git a/radio/src/CoOS/kernel/mutex.c b/radio/src/thirdparty/CoOS/kernel/mutex.c similarity index 100% rename from radio/src/CoOS/kernel/mutex.c rename to radio/src/thirdparty/CoOS/kernel/mutex.c diff --git a/radio/src/CoOS/kernel/queue.c b/radio/src/thirdparty/CoOS/kernel/queue.c similarity index 100% rename from radio/src/CoOS/kernel/queue.c rename to radio/src/thirdparty/CoOS/kernel/queue.c diff --git a/radio/src/CoOS/kernel/sem.c b/radio/src/thirdparty/CoOS/kernel/sem.c similarity index 100% rename from radio/src/CoOS/kernel/sem.c rename to radio/src/thirdparty/CoOS/kernel/sem.c diff --git a/radio/src/CoOS/kernel/serviceReq.c b/radio/src/thirdparty/CoOS/kernel/serviceReq.c similarity index 100% rename from radio/src/CoOS/kernel/serviceReq.c rename to radio/src/thirdparty/CoOS/kernel/serviceReq.c diff --git a/radio/src/CoOS/kernel/task.c b/radio/src/thirdparty/CoOS/kernel/task.c similarity index 100% rename from radio/src/CoOS/kernel/task.c rename to radio/src/thirdparty/CoOS/kernel/task.c diff --git a/radio/src/CoOS/kernel/time.c b/radio/src/thirdparty/CoOS/kernel/time.c similarity index 100% rename from radio/src/CoOS/kernel/time.c rename to radio/src/thirdparty/CoOS/kernel/time.c diff --git a/radio/src/CoOS/kernel/timer.c b/radio/src/thirdparty/CoOS/kernel/timer.c similarity index 100% rename from radio/src/CoOS/kernel/timer.c rename to radio/src/thirdparty/CoOS/kernel/timer.c diff --git a/radio/src/CoOS/kernel/utility.c b/radio/src/thirdparty/CoOS/kernel/utility.c similarity index 100% rename from radio/src/CoOS/kernel/utility.c rename to radio/src/thirdparty/CoOS/kernel/utility.c diff --git a/radio/src/CoOS/kernel/utility.h b/radio/src/thirdparty/CoOS/kernel/utility.h similarity index 100% rename from radio/src/CoOS/kernel/utility.h rename to radio/src/thirdparty/CoOS/kernel/utility.h diff --git a/radio/src/CoOS/portable/GCC/port.c b/radio/src/thirdparty/CoOS/portable/GCC/port.c similarity index 100% rename from radio/src/CoOS/portable/GCC/port.c rename to radio/src/thirdparty/CoOS/portable/GCC/port.c diff --git a/radio/src/CoOS/portable/OsArch.h b/radio/src/thirdparty/CoOS/portable/OsArch.h similarity index 100% rename from radio/src/CoOS/portable/OsArch.h rename to radio/src/thirdparty/CoOS/portable/OsArch.h diff --git a/radio/src/CoOS/portable/arch.c b/radio/src/thirdparty/CoOS/portable/arch.c similarity index 100% rename from radio/src/CoOS/portable/arch.c rename to radio/src/thirdparty/CoOS/portable/arch.c diff --git a/radio/src/FatFs/00readme.txt b/radio/src/thirdparty/FatFs/00readme.txt similarity index 100% rename from radio/src/FatFs/00readme.txt rename to radio/src/thirdparty/FatFs/00readme.txt diff --git a/radio/src/FatFs/diskio.h b/radio/src/thirdparty/FatFs/diskio.h similarity index 100% rename from radio/src/FatFs/diskio.h rename to radio/src/thirdparty/FatFs/diskio.h diff --git a/radio/src/FatFs/fattime.c b/radio/src/thirdparty/FatFs/fattime.c similarity index 100% rename from radio/src/FatFs/fattime.c rename to radio/src/thirdparty/FatFs/fattime.c diff --git a/radio/src/FatFs/ff.c b/radio/src/thirdparty/FatFs/ff.c similarity index 100% rename from radio/src/FatFs/ff.c rename to radio/src/thirdparty/FatFs/ff.c diff --git a/radio/src/FatFs/ff.h b/radio/src/thirdparty/FatFs/ff.h similarity index 100% rename from radio/src/FatFs/ff.h rename to radio/src/thirdparty/FatFs/ff.h diff --git a/radio/src/FatFs/ffconf.h b/radio/src/thirdparty/FatFs/ffconf.h similarity index 100% rename from radio/src/FatFs/ffconf.h rename to radio/src/thirdparty/FatFs/ffconf.h diff --git a/radio/src/FatFs/integer.h b/radio/src/thirdparty/FatFs/integer.h similarity index 100% rename from radio/src/FatFs/integer.h rename to radio/src/thirdparty/FatFs/integer.h diff --git a/radio/src/FatFs/option/cc932.c b/radio/src/thirdparty/FatFs/option/cc932.c similarity index 100% rename from radio/src/FatFs/option/cc932.c rename to radio/src/thirdparty/FatFs/option/cc932.c diff --git a/radio/src/FatFs/option/cc936.c b/radio/src/thirdparty/FatFs/option/cc936.c similarity index 100% rename from radio/src/FatFs/option/cc936.c rename to radio/src/thirdparty/FatFs/option/cc936.c diff --git a/radio/src/FatFs/option/cc949.c b/radio/src/thirdparty/FatFs/option/cc949.c similarity index 100% rename from radio/src/FatFs/option/cc949.c rename to radio/src/thirdparty/FatFs/option/cc949.c diff --git a/radio/src/FatFs/option/cc950.c b/radio/src/thirdparty/FatFs/option/cc950.c similarity index 100% rename from radio/src/FatFs/option/cc950.c rename to radio/src/thirdparty/FatFs/option/cc950.c diff --git a/radio/src/FatFs/option/ccsbcs.c b/radio/src/thirdparty/FatFs/option/ccsbcs.c similarity index 100% rename from radio/src/FatFs/option/ccsbcs.c rename to radio/src/thirdparty/FatFs/option/ccsbcs.c diff --git a/radio/src/FatFs/option/syscall.c b/radio/src/thirdparty/FatFs/option/syscall.c similarity index 100% rename from radio/src/FatFs/option/syscall.c rename to radio/src/thirdparty/FatFs/option/syscall.c diff --git a/radio/src/FatFs/option/unicode.c b/radio/src/thirdparty/FatFs/option/unicode.c similarity index 100% rename from radio/src/FatFs/option/unicode.c rename to radio/src/thirdparty/FatFs/option/unicode.c diff --git a/radio/src/GCS_MAVLink/.gitignore b/radio/src/thirdparty/GCS_MAVLink/.gitignore similarity index 100% rename from radio/src/GCS_MAVLink/.gitignore rename to radio/src/thirdparty/GCS_MAVLink/.gitignore diff --git a/radio/src/GCS_MAVLink/COPYING b/radio/src/thirdparty/GCS_MAVLink/COPYING similarity index 100% rename from radio/src/GCS_MAVLink/COPYING rename to radio/src/thirdparty/GCS_MAVLink/COPYING diff --git a/radio/src/GCS_MAVLink/README b/radio/src/thirdparty/GCS_MAVLink/README similarity index 100% rename from radio/src/GCS_MAVLink/README rename to radio/src/thirdparty/GCS_MAVLink/README diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/ardupilotmega.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/ardupilotmega.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/ardupilotmega.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/ardupilotmega.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_ahrs.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_ahrs.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_ahrs.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_ahrs.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_ap_adc.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_ap_adc.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_ap_adc.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_ap_adc.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data16.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data16.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data16.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data16.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data32.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data32.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data32.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data32.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data64.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data64.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data64.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data64.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data96.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data96.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data96.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_data96.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_digicam_configure.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_digicam_configure.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_digicam_configure.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_digicam_configure.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_digicam_control.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_digicam_control.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_digicam_control.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_digicam_control.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_fetch_point.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_fetch_point.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_fetch_point.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_fetch_point.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_point.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_point.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_point.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_point.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_status.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_status.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_status.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_fence_status.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_hwstatus.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_hwstatus.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_hwstatus.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_hwstatus.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_limits_status.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_limits_status.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_limits_status.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_limits_status.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_meminfo.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_meminfo.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_meminfo.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_meminfo.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_configure.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_configure.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_configure.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_configure.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_control.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_control.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_control.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_control.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_status.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_status.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_status.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_mount_status.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_radio.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_radio.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_radio.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_radio.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_rangefinder.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_rangefinder.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_rangefinder.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_rangefinder.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_sensor_offsets.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_sensor_offsets.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_sensor_offsets.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_sensor_offsets.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_set_mag_offsets.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_set_mag_offsets.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_set_mag_offsets.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_set_mag_offsets.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_simstate.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_simstate.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_simstate.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_simstate.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_wind.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_wind.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_wind.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/mavlink_msg_wind.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/testsuite.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/testsuite.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/testsuite.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/testsuite.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/version.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/version.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/ardupilotmega/version.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/ardupilotmega/version.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/checksum.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/checksum.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/checksum.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/checksum.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/common.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/common.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/common.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/common.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_attitude.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_attitude.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_attitude.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_attitude.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_attitude_quaternion.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_attitude_quaternion.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_attitude_quaternion.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_attitude_quaternion.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_auth_key.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_auth_key.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_auth_key.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_auth_key.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_battery_status.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_battery_status.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_battery_status.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_battery_status.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_change_operator_control.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_change_operator_control.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_change_operator_control.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_change_operator_control.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_change_operator_control_ack.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_change_operator_control_ack.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_change_operator_control_ack.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_change_operator_control_ack.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_command_ack.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_command_ack.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_command_ack.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_command_ack.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_command_long.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_command_long.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_command_long.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_command_long.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_data_stream.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_data_stream.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_data_stream.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_data_stream.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_debug.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_debug.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_debug.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_debug.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_debug_vect.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_debug_vect.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_debug_vect.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_debug_vect.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_dir_list.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_dir_list.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_dir_list.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_dir_list.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_res.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_res.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_res.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_res.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_start.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_start.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_start.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_file_transfer_start.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_position_int.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_position_int.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_position_int.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_position_int.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_position_setpoint_int.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_position_setpoint_int.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_position_setpoint_int.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_position_setpoint_int.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_vision_position_estimate.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_vision_position_estimate.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_vision_position_estimate.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_global_vision_position_estimate.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_global_origin.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_global_origin.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_global_origin.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_global_origin.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_raw_int.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_raw_int.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_raw_int.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_raw_int.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_status.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_status.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_status.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_gps_status.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_heartbeat.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_heartbeat.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_heartbeat.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_heartbeat.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_highres_imu.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_highres_imu.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_highres_imu.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_highres_imu.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_controls.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_controls.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_controls.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_controls.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_gps.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_gps.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_gps.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_gps.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_optical_flow.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_optical_flow.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_optical_flow.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_optical_flow.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_rc_inputs_raw.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_rc_inputs_raw.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_rc_inputs_raw.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_rc_inputs_raw.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_sensor.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_sensor.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_sensor.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_sensor.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_state.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_state.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_state.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_state.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_state_quaternion.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_state_quaternion.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_state_quaternion.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_hil_state_quaternion.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_ned.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_ned.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_ned.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_ned.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_ned_system_global_offset.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_ned_system_global_offset.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_ned_system_global_offset.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_ned_system_global_offset.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_setpoint.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_setpoint.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_setpoint.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_local_position_setpoint.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_manual_control.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_manual_control.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_manual_control.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_manual_control.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_manual_setpoint.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_manual_setpoint.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_manual_setpoint.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_manual_setpoint.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_memory_vect.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_memory_vect.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_memory_vect.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_memory_vect.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_ack.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_ack.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_ack.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_ack.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_clear_all.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_clear_all.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_clear_all.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_clear_all.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_count.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_count.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_count.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_count.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_current.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_current.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_current.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_current.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_item.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_item.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_item.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_item.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_item_reached.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_item_reached.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_item_reached.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_item_reached.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request_list.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request_list.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request_list.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request_list.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request_partial_list.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request_partial_list.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request_partial_list.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_request_partial_list.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_set_current.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_set_current.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_set_current.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_set_current.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_write_partial_list.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_write_partial_list.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_write_partial_list.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_mission_write_partial_list.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_named_value_float.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_named_value_float.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_named_value_float.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_named_value_float.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_named_value_int.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_named_value_int.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_named_value_int.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_named_value_int.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_nav_controller_output.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_nav_controller_output.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_nav_controller_output.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_nav_controller_output.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_omnidirectional_flow.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_omnidirectional_flow.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_omnidirectional_flow.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_omnidirectional_flow.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_optical_flow.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_optical_flow.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_optical_flow.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_optical_flow.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_request_list.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_request_list.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_request_list.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_request_list.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_request_read.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_request_read.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_request_read.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_request_read.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_set.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_set.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_set.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_set.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_value.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_value.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_value.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_param_value.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_ping.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_ping.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_ping.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_ping.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_radio_status.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_radio_status.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_radio_status.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_radio_status.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_raw_imu.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_raw_imu.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_raw_imu.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_raw_imu.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_raw_pressure.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_raw_pressure.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_raw_pressure.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_raw_pressure.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_override.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_override.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_override.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_override.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_raw.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_raw.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_raw.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_raw.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_scaled.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_scaled.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_scaled.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_rc_channels_scaled.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_request_data_stream.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_request_data_stream.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_request_data_stream.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_request_data_stream.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_rates_thrust_setpoint.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_rates_thrust_setpoint.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_rates_thrust_setpoint.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_rates_thrust_setpoint.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_speed_thrust_setpoint.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_speed_thrust_setpoint.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_speed_thrust_setpoint.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_speed_thrust_setpoint.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_thrust_setpoint.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_thrust_setpoint.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_thrust_setpoint.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_roll_pitch_yaw_thrust_setpoint.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_safety_allowed_area.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_safety_allowed_area.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_safety_allowed_area.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_safety_allowed_area.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_safety_set_allowed_area.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_safety_set_allowed_area.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_safety_set_allowed_area.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_safety_set_allowed_area.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_scaled_imu.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_scaled_imu.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_scaled_imu.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_scaled_imu.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_scaled_pressure.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_scaled_pressure.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_scaled_pressure.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_scaled_pressure.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_servo_output_raw.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_servo_output_raw.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_servo_output_raw.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_servo_output_raw.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_global_position_setpoint_int.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_global_position_setpoint_int.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_global_position_setpoint_int.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_global_position_setpoint_int.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_gps_global_origin.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_gps_global_origin.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_gps_global_origin.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_gps_global_origin.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_local_position_setpoint.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_local_position_setpoint.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_local_position_setpoint.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_local_position_setpoint.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_mode.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_mode.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_mode.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_mode.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_motors_setpoint.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_motors_setpoint.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_motors_setpoint.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_motors_setpoint.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_swarm_led_roll_pitch_yaw_thrust.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_swarm_led_roll_pitch_yaw_thrust.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_swarm_led_roll_pitch_yaw_thrust.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_swarm_led_roll_pitch_yaw_thrust.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_swarm_roll_pitch_yaw_thrust.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_swarm_roll_pitch_yaw_thrust.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_swarm_roll_pitch_yaw_thrust.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_quad_swarm_roll_pitch_yaw_thrust.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_roll_pitch_yaw_speed_thrust.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_roll_pitch_yaw_speed_thrust.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_roll_pitch_yaw_speed_thrust.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_roll_pitch_yaw_speed_thrust.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_roll_pitch_yaw_thrust.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_roll_pitch_yaw_thrust.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_roll_pitch_yaw_thrust.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_set_roll_pitch_yaw_thrust.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_setpoint_6dof.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_setpoint_6dof.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_setpoint_6dof.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_setpoint_6dof.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_setpoint_8dof.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_setpoint_8dof.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_setpoint_8dof.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_setpoint_8dof.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_sim_state.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_sim_state.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_sim_state.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_sim_state.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_state_correction.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_state_correction.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_state_correction.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_state_correction.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_statustext.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_statustext.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_statustext.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_statustext.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_sys_status.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_sys_status.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_sys_status.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_sys_status.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_system_time.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_system_time.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_system_time.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_system_time.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_vfr_hud.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_vfr_hud.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_vfr_hud.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_vfr_hud.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_vicon_position_estimate.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_vicon_position_estimate.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_vicon_position_estimate.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_vicon_position_estimate.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_vision_position_estimate.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_vision_position_estimate.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_vision_position_estimate.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_vision_position_estimate.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_vision_speed_estimate.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_vision_speed_estimate.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/mavlink_msg_vision_speed_estimate.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/mavlink_msg_vision_speed_estimate.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/testsuite.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/testsuite.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/testsuite.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/testsuite.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/common/version.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/version.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/common/version.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/common/version.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/mavlink_conversions.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/mavlink_conversions.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/mavlink_conversions.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/mavlink_conversions.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/mavlink_helpers.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/mavlink_helpers.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/mavlink_helpers.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/mavlink_helpers.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/mavlink_protobuf_manager.hpp b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/mavlink_protobuf_manager.hpp similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/mavlink_protobuf_manager.hpp rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/mavlink_protobuf_manager.hpp diff --git a/radio/src/GCS_MAVLink/include_v1.0/mavlink_types.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/mavlink_types.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/mavlink_types.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/mavlink_types.h diff --git a/radio/src/GCS_MAVLink/include_v1.0/protocol.h b/radio/src/thirdparty/GCS_MAVLink/include_v1.0/protocol.h similarity index 100% rename from radio/src/GCS_MAVLink/include_v1.0/protocol.h rename to radio/src/thirdparty/GCS_MAVLink/include_v1.0/protocol.h diff --git a/radio/src/GCS_MAVLink/message_definitions_v1.0/ardupilotmega.xml b/radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/ardupilotmega.xml similarity index 100% rename from radio/src/GCS_MAVLink/message_definitions_v1.0/ardupilotmega.xml rename to radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/ardupilotmega.xml diff --git a/radio/src/GCS_MAVLink/message_definitions_v1.0/autoquad.xml b/radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/autoquad.xml similarity index 100% rename from radio/src/GCS_MAVLink/message_definitions_v1.0/autoquad.xml rename to radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/autoquad.xml diff --git a/radio/src/GCS_MAVLink/message_definitions_v1.0/common.xml b/radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/common.xml similarity index 100% rename from radio/src/GCS_MAVLink/message_definitions_v1.0/common.xml rename to radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/common.xml diff --git a/radio/src/GCS_MAVLink/message_definitions_v1.0/matrixpilot.xml b/radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/matrixpilot.xml similarity index 100% rename from radio/src/GCS_MAVLink/message_definitions_v1.0/matrixpilot.xml rename to radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/matrixpilot.xml diff --git a/radio/src/GCS_MAVLink/message_definitions_v1.0/minimal.xml b/radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/minimal.xml similarity index 100% rename from radio/src/GCS_MAVLink/message_definitions_v1.0/minimal.xml rename to radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/minimal.xml diff --git a/radio/src/GCS_MAVLink/message_definitions_v1.0/pixhawk.proto b/radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/pixhawk.proto similarity index 100% rename from radio/src/GCS_MAVLink/message_definitions_v1.0/pixhawk.proto rename to radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/pixhawk.proto diff --git a/radio/src/GCS_MAVLink/message_definitions_v1.0/pixhawk.xml b/radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/pixhawk.xml similarity index 100% rename from radio/src/GCS_MAVLink/message_definitions_v1.0/pixhawk.xml rename to radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/pixhawk.xml diff --git a/radio/src/GCS_MAVLink/message_definitions_v1.0/sensesoar.xml b/radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/sensesoar.xml similarity index 100% rename from radio/src/GCS_MAVLink/message_definitions_v1.0/sensesoar.xml rename to radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/sensesoar.xml diff --git a/radio/src/GCS_MAVLink/message_definitions_v1.0/slugs.xml b/radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/slugs.xml similarity index 100% rename from radio/src/GCS_MAVLink/message_definitions_v1.0/slugs.xml rename to radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/slugs.xml diff --git a/radio/src/GCS_MAVLink/message_definitions_v1.0/test.xml b/radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/test.xml similarity index 100% rename from radio/src/GCS_MAVLink/message_definitions_v1.0/test.xml rename to radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/test.xml diff --git a/radio/src/GCS_MAVLink/message_definitions_v1.0/ualberta.xml b/radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/ualberta.xml similarity index 100% rename from radio/src/GCS_MAVLink/message_definitions_v1.0/ualberta.xml rename to radio/src/thirdparty/GCS_MAVLink/message_definitions_v1.0/ualberta.xml diff --git a/radio/src/GCS_MAVLink/sync b/radio/src/thirdparty/GCS_MAVLink/sync similarity index 100% rename from radio/src/GCS_MAVLink/sync rename to radio/src/thirdparty/GCS_MAVLink/sync diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/stm32f2xx.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/stm32f2xx.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/stm32f2xx.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/stm32f2xx.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/system_stm32f2xx.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/system_stm32f2xx.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/system_stm32f2xx.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Include/system_stm32f2xx.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc_ride7/startup_stm32f2xx.s b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc_ride7/startup_stm32f2xx.s similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc_ride7/startup_stm32f2xx.s rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/gcc_ride7/startup_stm32f2xx.s diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/system_stm32f2xx.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/system_stm32f2xx.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/system_stm32f2xx.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Device/ST/STM32F2xx/Source/Templates/system_stm32f2xx.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/arm_common_tables.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/arm_common_tables.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/arm_common_tables.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/arm_common_tables.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/arm_math.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/arm_math.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/arm_math.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/arm_math.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm0.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm0.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm0.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm0.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm3.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm3.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm3.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm3.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm4.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm4.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm4.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm4.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm4_simd.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm4_simd.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm4_simd.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cm4_simd.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cmFunc.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cmFunc.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cmFunc.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cmFunc.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cmInstr.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cmInstr.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cmInstr.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/CMSIS/Include/core_cmInstr.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/misc.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/misc.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/misc.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/misc.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_adc.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_adc.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_adc.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_adc.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_can.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_can.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_can.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_can.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_crc.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_crc.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_crc.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_crc.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_cryp.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_cryp.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_cryp.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_cryp.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dac.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dac.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dac.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dac.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dbgmcu.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dbgmcu.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dbgmcu.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dbgmcu.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dcmi.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dcmi.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dcmi.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dcmi.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dma.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dma.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dma.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_dma.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_exti.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_exti.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_exti.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_exti.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_flash.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_flash.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_flash.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_flash.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_fsmc.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_fsmc.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_fsmc.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_fsmc.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_gpio.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_gpio.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_gpio.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_gpio.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_hash.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_hash.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_hash.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_hash.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_i2c.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_i2c.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_i2c.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_i2c.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_iwdg.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_iwdg.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_iwdg.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_iwdg.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_pwr.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_pwr.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_pwr.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_pwr.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rcc.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rcc.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rcc.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rcc.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rng.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rng.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rng.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rng.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rtc.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rtc.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rtc.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_rtc.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_sdio.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_sdio.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_sdio.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_sdio.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_spi.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_spi.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_spi.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_spi.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_syscfg.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_syscfg.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_syscfg.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_syscfg.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_tim.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_tim.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_tim.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_tim.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_usart.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_usart.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_usart.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_usart.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_wwdg.h b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_wwdg.h similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_wwdg.h rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_wwdg.h diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/misc.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/misc.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/misc.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/misc.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_adc.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_adc.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_adc.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_adc.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_can.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_can.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_can.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_can.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_crc.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_crc.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_crc.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_crc.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_aes.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_aes.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_aes.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_aes.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_des.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_des.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_des.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_des.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_tdes.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_tdes.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_tdes.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_cryp_tdes.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dac.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dac.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dac.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dac.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dbgmcu.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dbgmcu.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dbgmcu.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dbgmcu.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dcmi.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dcmi.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dcmi.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dcmi.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dma.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dma.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dma.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_dma.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_exti.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_exti.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_exti.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_exti.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_flash.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_flash.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_flash.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_flash.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_fsmc.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_fsmc.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_fsmc.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_fsmc.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_gpio.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_gpio.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_gpio.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_gpio.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash_md5.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash_md5.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash_md5.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash_md5.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash_sha1.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash_sha1.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash_sha1.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_hash_sha1.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_i2c.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_i2c.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_i2c.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_i2c.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_iwdg.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_iwdg.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_iwdg.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_iwdg.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_pwr.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_pwr.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_pwr.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_pwr.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rcc.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rcc.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rcc.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rcc.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rng.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rng.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rng.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rng.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rtc.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rtc.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rtc.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_rtc.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_sdio.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_sdio.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_sdio.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_sdio.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_spi.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_spi.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_spi.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_spi.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_syscfg.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_syscfg.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_syscfg.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_syscfg.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_tim.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_tim.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_tim.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_tim.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_usart.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_usart.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_usart.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_usart.c diff --git a/radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_wwdg.c b/radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_wwdg.c similarity index 100% rename from radio/src/targets/taranis/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_wwdg.c rename to radio/src/thirdparty/STM32F2xx_StdPeriph_Lib_V1.1.0/Libraries/STM32F2xx_StdPeriph_Driver/src/stm32f2xx_wwdg.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f40_41xxx.s b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f40_41xxx.s old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f40_41xxx.s rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f40_41xxx.s diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_common_tables.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_common_tables.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_common_tables.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_common_tables.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_const_structs.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_const_structs.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_const_structs.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_const_structs.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_math.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_math.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_math.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/arm_math.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm0.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm0.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm0.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm0.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm0plus.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm0plus.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm0plus.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm0plus.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm3.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm3.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm3.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm3.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm4.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm4.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm4.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm4.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm4_simd.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm4_simd.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm4_simd.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cm4_simd.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cmFunc.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cmFunc.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cmFunc.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cmFunc.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cmInstr.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cmInstr.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cmInstr.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_cmInstr.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_sc000.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_sc000.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_sc000.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_sc000.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_sc300.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_sc300.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_sc300.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/CMSIS/Include/core_sc300.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/misc.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/misc.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/misc.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/misc.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_adc.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_adc.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_adc.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_adc.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_can.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_can.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_can.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_can.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_crc.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_crc.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_crc.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_crc.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_cryp.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_cryp.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_cryp.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_cryp.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dac.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dac.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dac.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dac.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dbgmcu.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dbgmcu.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dbgmcu.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dbgmcu.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dcmi.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dcmi.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dcmi.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dcmi.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma2d.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma2d.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma2d.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_dma2d.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_exti.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_exti.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_exti.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_exti.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash_ramfunc.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash_ramfunc.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash_ramfunc.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_flash_ramfunc.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fmc.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fmc.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fmc.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fmc.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fsmc.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fsmc.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fsmc.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_fsmc.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_hash.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_hash.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_hash.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_hash.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_i2c.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_i2c.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_i2c.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_i2c.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_iwdg.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_iwdg.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_iwdg.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_iwdg.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_ltdc.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_ltdc.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_ltdc.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_ltdc.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_pwr.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_pwr.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_pwr.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_pwr.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rcc.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rcc.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rcc.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rcc.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rng.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rng.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rng.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rng.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rtc.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rtc.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rtc.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_rtc.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sai.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sai.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sai.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sai.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sdio.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sdio.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sdio.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_sdio.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_spi.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_spi.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_spi.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_spi.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_syscfg.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_syscfg.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_syscfg.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_syscfg.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_tim.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_tim.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_tim.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_tim.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_usart.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_usart.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_usart.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_usart.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_wwdg.h b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_wwdg.h old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_wwdg.h rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_wwdg.h diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/misc.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/misc.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/misc.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/misc.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_adc.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_can.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_crc.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_crc.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_crc.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_crc.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_aes.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_aes.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_aes.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_aes.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_des.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_des.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_des.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_des.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_cryp_tdes.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dac.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dac.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dac.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dac.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dbgmcu.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dbgmcu.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dbgmcu.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dbgmcu.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dcmi.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dcmi.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dcmi.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dcmi.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma2d.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma2d.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma2d.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dma2d.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_exti.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_exti.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_exti.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_exti.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash_ramfunc.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash_ramfunc.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash_ramfunc.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_flash_ramfunc.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmc.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmc.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmc.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fmc.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fsmc.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fsmc.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fsmc.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fsmc.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_gpio.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_md5.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_md5.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_md5.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_md5.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_sha1.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_sha1.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_sha1.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_hash_sha1.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_i2c.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_i2c.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_i2c.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_i2c.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_iwdg.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_iwdg.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_iwdg.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_iwdg.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_ltdc.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_ltdc.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_ltdc.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_ltdc.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_pwr.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_pwr.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_pwr.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_pwr.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rcc.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rng.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rng.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rng.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rng.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rtc.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rtc.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rtc.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_rtc.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sai.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sai.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sai.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sai.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sdio.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sdio.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sdio.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_sdio.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_spi.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_syscfg.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_syscfg.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_syscfg.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_syscfg.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_tim.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_tim.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_tim.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_tim.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_usart.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_usart.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_usart.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_usart.c diff --git a/radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_wwdg.c b/radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_wwdg.c old mode 100755 new mode 100644 similarity index 100% rename from radio/src/targets/taranis/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_wwdg.c rename to radio/src/thirdparty/STM32F4xx_DSP_StdPeriph_Lib_V1.4.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_wwdg.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/inc/usbd_audio_core.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/inc/usbd_audio_core.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/inc/usbd_audio_core.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/inc/usbd_audio_core.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/inc/usbd_audio_out_if.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/inc/usbd_audio_out_if.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/inc/usbd_audio_out_if.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/inc/usbd_audio_out_if.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/src/usbd_audio_core.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/src/usbd_audio_core.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/src/usbd_audio_core.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/src/usbd_audio_core.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/src/usbd_audio_out_if.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/src/usbd_audio_out_if.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/src/usbd_audio_out_if.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/audio/src/usbd_audio_out_if.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/inc/usbd_cdc_core.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/inc/usbd_cdc_core.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/inc/usbd_cdc_core.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/inc/usbd_cdc_core.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/inc/usbd_cdc_if_template.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/inc/usbd_cdc_if_template.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/inc/usbd_cdc_if_template.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/inc/usbd_cdc_if_template.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/src/usbd_cdc_core.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/src/usbd_cdc_core.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/src/usbd_cdc_core.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/src/usbd_cdc_core.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/src/usbd_cdc_if_template.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/src/usbd_cdc_if_template.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/src/usbd_cdc_if_template.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/cdc/src/usbd_cdc_if_template.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_dfu_core.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_dfu_core.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_dfu_core.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_dfu_core.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_dfu_mal.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_dfu_mal.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_dfu_mal.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_dfu_mal.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_flash_if.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_flash_if.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_flash_if.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_flash_if.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_mem_if_template.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_mem_if_template.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_mem_if_template.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_mem_if_template.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_otp_if.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_otp_if.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_otp_if.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/inc/usbd_otp_if.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_dfu_core.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_dfu_core.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_dfu_core.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_dfu_core.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_dfu_mal.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_dfu_mal.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_dfu_mal.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_dfu_mal.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_flash_if.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_flash_if.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_flash_if.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_flash_if.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_mem_if_template.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_mem_if_template.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_mem_if_template.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_mem_if_template.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_otp_if.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_otp_if.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_otp_if.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/dfu/src/usbd_otp_if.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/hid/inc/usbd_hid_core.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/hid/inc/usbd_hid_core.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/hid/inc/usbd_hid_core.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/hid/inc/usbd_hid_core.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/hid/src/usbd_hid_core.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/hid/src/usbd_hid_core.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/hid/src/usbd_hid_core.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/hid/src/usbd_hid_core.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_bot.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_bot.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_bot.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_bot.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_core.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_core.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_core.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_core.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_data.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_data.h similarity index 94% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_data.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_data.h index 13a001f3c..c8f3a2adf 100644 --- a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_data.h +++ b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_data.h @@ -31,7 +31,7 @@ #define _USBD_MSC_DATA_H_ /* Includes ------------------------------------------------------------------*/ -#include "../../../../../usbd_conf.h" +#include "usbd_conf.h" /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY * @{ diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_mem.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_mem.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_mem.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_mem.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_scsi.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_scsi.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_scsi.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_scsi.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_bot.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_bot.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_bot.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_bot.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_core.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_core.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_core.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_core.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_data.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_data.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_data.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_data.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_scsi.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_scsi.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_scsi.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Class/msc/src/usbd_msc_scsi.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_conf_template.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_conf_template.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_conf_template.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_conf_template.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_core.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_core.h similarity index 94% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_core.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_core.h index 40aa25cc4..c01964749 100644 --- a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_core.h +++ b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_core.h @@ -32,7 +32,7 @@ /* Includes ------------------------------------------------------------------*/ #include "../../../STM32_USB_OTG_Driver/inc/usb_dcd.h" #include "usbd_def.h" -#include "../../../../../usbd_conf.h" +#include "usbd_conf.h" /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY * @{ diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_def.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_def.h similarity index 96% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_def.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_def.h index f61fa5cd2..7c0cff76b 100644 --- a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_def.h +++ b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_def.h @@ -31,7 +31,7 @@ #define __USBD_DEF_H /* Includes ------------------------------------------------------------------*/ -#include "../../../../../usbd_conf.h" +#include "usbd_conf.h" /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY * @{ diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_ioreq.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_ioreq.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_ioreq.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_ioreq.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_req.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_req.h similarity index 94% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_req.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_req.h index 31a69f60d..f88416df3 100644 --- a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_req.h +++ b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_req.h @@ -33,7 +33,7 @@ /* Includes ------------------------------------------------------------------*/ #include "usbd_def.h" #include "usbd_core.h" -#include "../../../../../usbd_conf.h" +#include "usbd_conf.h" /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_usr.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_usr.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_usr.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/inc/usbd_usr.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_core.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_core.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_core.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_core.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_ioreq.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_ioreq.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_ioreq.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_ioreq.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_req.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_req.c similarity index 95% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_req.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_req.c index 67de98d8d..2659732e6 100644 --- a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_req.c +++ b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Core/src/usbd_req.c @@ -28,7 +28,7 @@ /* Includes ------------------------------------------------------------------*/ #include "usbd_req.h" #include "usbd_ioreq.h" -#include "../../../../../usbd_desc.h" +#include "usbd_desc.h" /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Release_Notes.html b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Release_Notes.html similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Release_Notes.html rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_Device_Library/Release_Notes.html diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/Release_Notes.html b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/Release_Notes.html similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/Release_Notes.html rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/Release_Notes.html diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_bsp.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_bsp.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_bsp.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_bsp.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_conf_template.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_conf_template.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_conf_template.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_conf_template.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_core.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_core.h similarity index 96% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_core.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_core.h index f68d949ff..73fb713ef 100644 --- a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_core.h +++ b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_core.h @@ -30,7 +30,7 @@ #define __USB_CORE_H__ /* Includes ------------------------------------------------------------------*/ -#include "../../../../usb_conf.h" +#include "usb_conf.h" #include "usb_regs.h" #include "usb_defines.h" diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd_int.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd_int.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd_int.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_dcd_int.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_defines.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_defines.h similarity index 95% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_defines.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_defines.h index 6924276a6..8e0d264f4 100644 --- a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_defines.h +++ b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_defines.h @@ -30,7 +30,7 @@ #define __USB_DEF_H__ /* Includes ------------------------------------------------------------------*/ -#include "../../../../usb_conf.h" +#include "usb_conf.h" /** @addtogroup USB_OTG_DRIVER * @{ diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_hcd.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_hcd.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_hcd.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_hcd.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_hcd_int.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_hcd_int.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_hcd_int.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_hcd_int.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_otg.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_otg.h similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_otg.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_otg.h diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_regs.h b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_regs.h similarity index 94% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_regs.h rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_regs.h index 5bb42e1b7..323e87056 100644 --- a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_regs.h +++ b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/inc/usb_regs.h @@ -30,7 +30,7 @@ #define __USB_OTG_REGS_H__ /* Includes ------------------------------------------------------------------*/ -#include "../../../../usb_conf.h" +#include "usb_conf.h" /** @addtogroup USB_OTG_DRIVER diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_core.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_core.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_core.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_core.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd_int.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd_int.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd_int.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_dcd_int.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_hcd.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_hcd.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_hcd.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_hcd.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_hcd_int.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_hcd_int.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_hcd_int.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_hcd_int.c diff --git a/radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_otg.c b/radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_otg.c similarity index 100% rename from radio/src/targets/taranis/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_otg.c rename to radio/src/thirdparty/STM32_USB-Host-Device_Lib_V2.1.0/Libraries/STM32_USB_OTG_Driver/src/usb_otg.c