Skip to content

Commit

Permalink
Merge pull request xmos#276 from xmos/feature/freertos_explorer_reduc…
Browse files Browse the repository at this point in the history
…tion

Remove wifi portions of explorer app
  • Loading branch information
keithm-xmos authored Jan 26, 2022
2 parents e11941f + 67eed67 commit 8b32220
Show file tree
Hide file tree
Showing 54 changed files with 222 additions and 5,696 deletions.
104 changes: 0 additions & 104 deletions examples/freertos/explorer_board/.cproject

This file was deleted.

28 changes: 0 additions & 28 deletions examples/freertos/explorer_board/.project

This file was deleted.

37 changes: 3 additions & 34 deletions examples/freertos/explorer_board/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,7 @@ if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
endif()

## Specify configuration
set(MULTITILE_BUILD TRUE)
set(USE_WIFI_MANAGER TRUE)
set(USE_DHCPD TRUE)
set(USE_FATFS TRUE)
set(USE_HTTP_CORE TRUE)
set(USE_JSON_PARSER TRUE)
set(USE_MQTT TRUE)
set(USE_SNTPD TRUE)
set(USE_TLS_SUPPORT TRUE)
set(USE_TRACE FALSE)
set(USE_CUSTOM_MBEDTLS_CONFIG TRUE)

## This app only supports the XCORE-AI-EXPLORER board
set(BOARD XCORE-AI-EXPLORER)
Expand Down Expand Up @@ -61,39 +51,18 @@ set(APP_SOURCES
"src/audio_pipeline/audio_pipeline.c"
"src/example_pipeline/example_pipeline.c"
"src/gpio_ctrl/gpio_ctrl.c"
"src/network_demos/network_setup.c"
"src/queue_to_tcp_stream/queue_to_tcp_stream.c"
"src/thruput_test/thruput_test.c"
"src/udp_cli/cli_rpc.c"
"src/udp_cli/CLI-commands.c"
"src/udp_cli/FreeRTOS_CLI.c"
"src/udp_cli/UDPCommandServer.c"
"src/tls_echo_demo/tls_echo_demo.c"
"src/tls_echo_server/tls_echo_server.c"
"src/http_demo/http_demo.c"
"src/mqtt_demo/mqtt_demo_client.c"
"src/mem_analysis/mem_analysis.c"
${XMOS_RTOS_PLATFORM_WITH_NETWORKING_SOURCES}
"src/filesystem/filesystem_demo.c"
${XMOS_RTOS_PLATFORM_SOURCES}
)

set(APP_INCLUDES
"src"
"src/udp_cli"
${XMOS_RTOS_PLATFORM_WITH_NETWORKING_INCLUDES}
${XMOS_RTOS_PLATFORM_INCLUDES}
)

add_compile_definitions(
HTTP_DO_NOT_USE_CUSTOM_CONFIG=1
DEBUG_PRINT_ENABLE=1
DEBUG_PRINT_ENABLE_IOT_WIFI=1
DEBUG_PRINT_ENABLE_WIFI_CONN_MGR=1
DEBUG_PRINT_ENABLE_MQTT_DEMO_CLIENT=1
MIC_DUAL_ENABLED=1
MQTT_TASK=1
DEBUG_PRINT_ENABLE_LIB_SOC_SW_WIFI=1
SL_WFX_DEBUG_MASK=\(SL_WFX_DEBUG_ERROR|SL_WFX_DEBUG_INIT\)
MQTTCLIENT_PLATFORM_HEADER=MQTTFreeRTOS.h
MBEDTLS_CONFIG_FILE=\"mbedtls_sample_config.h\"
)

set(RTOS_TILE_LIST 0 1 )
Expand Down
2 changes: 1 addition & 1 deletion examples/freertos/explorer_board/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ flash: $(EXECUTABLE)
cd filesystem_support && ./flash_image.sh

$(EXECUTABLE) :
cmake -B $(BUILD_DIR) -DXE_BASE_TILE=$(XE_BASE_TILE) -DOUTPUT_DIR=$(OUTPUT_DIR)
cmake -B $(BUILD_DIR) -DMULTITILE_BUILD=1 -DXE_BASE_TILE=$(XE_BASE_TILE) -DOUTPUT_DIR=$(OUTPUT_DIR)
cd $(BUILD_DIR) && make -j
56 changes: 0 additions & 56 deletions examples/freertos/explorer_board/Python/PingTest.py

This file was deleted.

Loading

0 comments on commit 8b32220

Please sign in to comment.