Skip to content
Permalink
Browse files
[CMAKE] Move to CMake
  • Loading branch information
darthcloud committed Jun 22, 2020
1 parent 5b5dcf2 commit 1d1c722191a93e31dd817bf990fa5805c742a219
Showing with 44 additions and 19 deletions.
  1. +6 −0 CMakeLists.txt
  2. +0 −4 Makefile
  3. +38 −0 main/CMakeLists.txt
  4. +0 −3 main/component.mk
  5. +0 −12 sdkconfig
@@ -0,0 +1,6 @@
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(BlueRetro)

This file was deleted.

@@ -0,0 +1,38 @@
idf_component_register(SRCS "main.c"
"adapter/adapter.c"
"adapter/config.c"
"adapter/hid_parser.c"
"adapter/hid_generic.c"
"adapter/n64.c"
"adapter/dc.c"
"adapter/gc.c"
"adapter/ps3.c"
"adapter/wii.c"
"adapter/ps4.c"
"adapter/xb1.c"
"adapter/sw.c"
"bluetooth/host.c"
"bluetooth/hci.c"
"bluetooth/l2cap.c"
"bluetooth/sdp.c"
"bluetooth/att.c"
"bluetooth/hidp.c"
"bluetooth/hidp_generic.c"
"bluetooth/hidp_ps3.c"
"bluetooth/hidp_wii.c"
"bluetooth/hidp_ps4.c"
"bluetooth/hidp_xb1.c"
"bluetooth/hidp_sw.c"
"drivers/sd.c"
"wired/detect.c"
"wired/nsi.c"
"wired/maple.c"
"zephyr/atomic.S"
"zephyr/xtensa_context.S"
INCLUDE_DIRS "."
"adapter"
"bluetooth"
"drivers"
"wired"
"zephyr")
idf_build_set_property(COMPILE_DEFINITIONS "-DBLUERETRO" APPEND)

This file was deleted.

@@ -9,8 +9,6 @@ CONFIG_IDF_TARGET="esp32"
# SDK tool configuration
#
CONFIG_SDK_TOOLPREFIX="xtensa-esp32-elf-"
CONFIG_SDK_PYTHON="python"
CONFIG_SDK_MAKE_WARN_UNDEFINED_VARIABLES=y
CONFIG_APP_COMPILE_TIME_DATE=y
# CONFIG_APP_EXCLUDE_PROJECT_VER_VAR is not set
# CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR is not set
@@ -32,15 +30,7 @@ CONFIG_BOOTLOADER_WDT_TIME_MS=9000
# CONFIG_SECURE_SIGNED_APPS_NO_SECURE_BOOT is not set
# CONFIG_SECURE_BOOT_ENABLED is not set
# CONFIG_SECURE_FLASH_ENC_ENABLED is not set
CONFIG_ESPTOOLPY_PORT="/dev/ttyUSB2"
CONFIG_ESPTOOLPY_BAUD_115200B=y
# CONFIG_ESPTOOLPY_BAUD_230400B is not set
# CONFIG_ESPTOOLPY_BAUD_921600B is not set
# CONFIG_ESPTOOLPY_BAUD_2MB is not set
# CONFIG_ESPTOOLPY_BAUD_OTHER is not set
CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200
CONFIG_ESPTOOLPY_BAUD=115200
CONFIG_ESPTOOLPY_COMPRESSED=y
# CONFIG_ESPTOOLPY_FLASHMODE_QIO is not set
# CONFIG_ESPTOOLPY_FLASHMODE_QOUT is not set
CONFIG_ESPTOOLPY_FLASHMODE_DIO=y
@@ -768,8 +758,6 @@ CONFIG_WPA_MBEDTLS_CRYPTO=y

# Deprecated options for backward compatibility
CONFIG_TOOLPREFIX="xtensa-esp32-elf-"
CONFIG_PYTHON="python"
CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=y
# CONFIG_LOG_BOOTLOADER_LEVEL_NONE is not set
# CONFIG_LOG_BOOTLOADER_LEVEL_ERROR is not set
CONFIG_LOG_BOOTLOADER_LEVEL_WARN=y

0 comments on commit 1d1c722

Please sign in to comment.