Skip to content

Commit

Permalink
updated builds and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
wizmo2 committed Oct 14, 2023
1 parent d8409bf commit c2b932a
Show file tree
Hide file tree
Showing 10 changed files with 217 additions and 477 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ add_definitions(-DMODEL_NAME=SqueezeESP32)

if (NOT DEFINED NOPURE)
message(STATUS "*** PURE IS ENABLED ***")
set(PURE)
message(STATUS "All BT, AirPlay, and CSpot must be disabled in menuconfig")
endif()

Expand Down
140 changes: 39 additions & 101 deletions build-scripts/I2S-4MFlash-S3-sdkconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -158,148 +158,86 @@ CONFIG_LOGGING_DECODE="info"
CONFIG_LOGGING_OUTPUT="info"
# end of Logging

CONFIG_MUTE_GPIO_LEVEL=0

#
# Target
#
# CONFIG_SQUEEZEAMP is not set
# CONFIG_MUSE is not set
CONFIG_BASIC_I2C_BT=y
# CONFIG_TWATCH2020 is not set
CONFIG_WITH_CONFIG_UI=y
# CONFIG_WITH_METRICS is not set
CONFIG_RELEASE_API="https://api.github.com/repos/sle118/squeezelite-esp32/releases"
CONFIG_SQUEEZELITE_ESP32_RELEASE_URL="https://github.com/sle118/squeezelite-esp32/releases"
CONFIG_PROJECT_NAME="Squeezelite-ESP32"
CONFIG_PROJECT_NAME="SqueezeESP32"
CONFIG_FW_PLATFORM_NAME="ESP32"

#
# Target Configuration
# Factory Configuration
#
# CONFIG_DAC_LOCKED is not set
CONFIG_DAC_CONFIG=""
CONFIG_DAC_CONTROLSET=""
CONFIG_DAC_I2S_NUM=0
# CONFIG_SPDIF_LOCKED is not set
CONFIG_SPDIF_CONFIG=""
CONFIG_GPIO_EXP_CONFIG=""
CONFIG_SPI_CONFIG=""
# CONFIG_DISPLAY_LOCKED is not set
CONFIG_DISPLAY_CONFIG=""
# CONFIG_I2C_LOCKED is not set
CONFIG_I2C_CONFIG=""
# CONFIG_SPI_LOCKED is not set
CONFIG_SPI_CONFIG=""
# CONFIG_LED_VU_LOCKED is not set
CONFIG_LED_VU_CONFIG=""
# CONFIG_ROTARY_ENCODER_LOCKED is not set
CONFIG_ROTARY_ENCODER=""
CONFIG_GPIO_EXP_CONFIG=""
CONFIG_ETH_CONFIG=""
CONFIG_DAC_CONTROLSET=""
CONFIG_AUDIO_CONTROLS=""
CONFIG_BAT_CONFIG=""
CONFIG_TARGET=""

#
# Factory GPIO Configuration
#
CONFIG_AMP_GPIO=-1
CONFIG_POWER_GPIO=-1
CONFIG_AMP_GPIO_LEVEL=1
CONFIG_JACK_GPIO=-1
CONFIG_SPKFAULT_GPIO=-1
CONFIG_BAT_CHANNEL=-1
CONFIG_JACK_GPIO_LEVEL=0
CONFIG_LED_GREEN_GPIO=-1
CONFIG_LED_GREEN_GPIO_LEVEL=1
CONFIG_LED_RED_GPIO=-1
CONFIG_SET_GPIO=""
# end of Target Configuration
# end of Target

#
# Audio settings
#

#
# DAC settings
#

#
# I2S settings
#
CONFIG_I2S_NUM=0
CONFIG_I2S_BCK_IO=-1
CONFIG_I2S_WS_IO=-1
CONFIG_I2S_DO_IO=-1
CONFIG_I2S_DI_IO=-1
CONFIG_I2S_MCK_IO=-1
# end of I2S settings

#
# I2C settings
#
CONFIG_I2C_SDA=-1
CONFIG_I2C_SCL=-1
# end of I2C settings

CONFIG_LED_RED_GPIO_LEVEL=1
CONFIG_MUTE_GPIO=-1
# end of DAC settings

#
# SPDIF settings
#
CONFIG_SDIF_NUM=0
CONFIG_SPDIF_BCK_IO=-1
CONFIG_SPDIF_WS_IO=-1
CONFIG_SPDIF_DO_IO=-1
# end of SPDIF settings
CONFIG_MUTE_GPIO_LEVEL=0
CONFIG_POWER_GPIO=-1
CONFIG_POWER_GPIO_LEVEL=1
CONFIG_SPKFAULT_GPIO=-1
CONFIG_SPKFAULT_GPIO_LEVEL=0
CONFIG_SET_GPIO="46=vcc,16=ir"
# end of Factory GPIO Configuration
# end of Factory Configuration

#
# A2DP settings
# Factory A2DP settings
#
CONFIG_A2DP_SINK_NAME="SMSL BT4.2"
CONFIG_A2DP_DEV_NAME="Squeezelite"
CONFIG_A2DP_CONTROL_DELAY_MS=500
CONFIG_A2DP_CONNECT_TIMEOUT_MS=1000
# end of A2DP settings
# end of Audio settings
# end of Factory A2DP settings
# end of Target

#
# Audio Input
#
# CONFIG_BT_SINK is not set
# CONFIG_AIRPLAY_SINK is not set
# CONFIG_CSPOT_SINK is not set
CONFIG_AIRPLAY_SINK=y
CONFIG_AIRPLAY_NAME="ESP32-AirPlay"
CONFIG_AIRPLAY_PORT="5000"
CONFIG_CSPOT_SINK=y
# end of Audio Input

#
# Controls
#
# end of Controls

#
# Display Screen
#
# end of Display Screen

#
# Various I/O
#
CONFIG_I2C_CONFIG=""
# end of Various I/O

#
# LED configuration
#
# end of LED configuration

#
# Audio JACK
#
# end of Audio JACK

#
# External amplifier control
#
# end of External amplifier control

#
# Power on/off status
#
# end of Power on/off status

#
# Speaker Fault
#
# end of Speaker Fault

#
# Battery measure
#
# end of Battery measure

#
# Command sets
#
Expand Down
Loading

0 comments on commit c2b932a

Please sign in to comment.