Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ set_property(CACHE EMBEDDIP_ARCH PROPERTY STRINGS "ARM" "XTENSA")
set(EMBEDDIP_CPU "" CACHE STRING "CPU variant (required): CORTEX_M7, LX6, LX7")
set_property(CACHE EMBEDDIP_CPU PROPERTY STRINGS "CORTEX_M7" "LX6" "LX7")

option(EMBEDDIP_ENABLE_UART_LOGGING "Enable UART logging" ON)
option(EMBEDDIP_ENABLE_IMAGE_PROCESSING "Enable image processing modules" ON)
option(EMBEDDIP_ENABLE_CAMERA_INPUT "Enable camera input interfaces" ON)
option(EMBEDDIP_ENABLE_DISPLAY_OUTPUT "Enable display output interfaces" ON)
option(EMBEDDIP_BUILD_DOCS "Build documentation with Doxygen" OFF)

if(EMBEDDIP_TARGET_BOARD STREQUAL "")
message(FATAL_ERROR "EMBEDDIP_TARGET_BOARD is required. Supported values: STM32F7, ESP32")
Expand Down Expand Up @@ -186,7 +184,6 @@ target_compile_definitions(embedDIP PUBLIC
USE_EMBED_DIP
${EMBEDDIP_BOARD_DEFINES}
${EMBEDDIP_ARCH_DEFINES}
$<$<BOOL:${EMBEDDIP_ENABLE_UART_LOGGING}>:ENABLE_UART_LOGGING=1>
$<$<BOOL:${EMBEDDIP_ENABLE_IMAGE_PROCESSING}>:ENABLE_IMAGE_PROCESSING=1>
$<$<BOOL:${EMBEDDIP_ENABLE_CAMERA_INPUT}>:ENABLE_CAMERA_INPUT=1>
$<$<BOOL:${EMBEDDIP_ENABLE_DISPLAY_OUTPUT}>:ENABLE_DISPLAY_OUTPUT=1>
Expand Down
34 changes: 0 additions & 34 deletions arch/arm/cm7_common.c

This file was deleted.

46 changes: 0 additions & 46 deletions arch/arm/cm7_fft.c

This file was deleted.

3 changes: 0 additions & 3 deletions board/stm32f7/configs.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@
// Copyright (c) 2025 EmbedDIP

#define FRAME_BUFFER 0xC0000000
#define LCD_FRAME_BUFFER 0xC0000000 /* LCD Frame buffer of size 800x480 in ARGB8888 */
// #define CAMERA_FRAME_BUFFER 0xC0177000
#define CAMERA_FRAME_BUFFER 0xC0000000
10 changes: 0 additions & 10 deletions core/image.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,16 +261,6 @@ typedef enum {
MORPH_ELLIPSE = 2 /**< Elliptical structuring element */
} MorphShape;

/**
* @struct GMMStats
* @brief Simple Gaussian mixture model statistics (per channel).
*/
typedef struct {
float mean[3]; /**< Per-channel mean (RGB) */
float var[3]; /**< Per-channel variance (diagonal covariance) */
int count; /**< Number of samples accumulated */
} GMMStats;

/**
* @struct channels_t
* @brief Floating-point image channel storage (up to 6 channels).
Expand Down
212 changes: 0 additions & 212 deletions device/camera/esp32_ov2640_old.cpp

This file was deleted.

6 changes: 0 additions & 6 deletions device/serial/stm32_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,15 @@ static int serial_flush(void)
}

#define UART_BLOCK_SIZE_MAX 65535
#define UART_CMD_CAPTURE "STR"
#define UART_CMD_SEND "STW"

volatile bool tx_flag, rx_flag = false;

void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart)
{
(void)huart;
tx_flag = true;
}

void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
{
(void)huart;
rx_flag = true;
}

static int serial_capture(Image *img)
Expand Down
17 changes: 0 additions & 17 deletions embedDIP_configs.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@
#define STM32F7xx 1
#endif

#ifndef ENABLE_UART_LOGGING
#define ENABLE_UART_LOGGING 1
#endif
#ifndef ENABLE_IMAGE_PROCESSING
#define ENABLE_IMAGE_PROCESSING 1
#endif
Expand All @@ -158,9 +155,6 @@
#define ARDUINO_ARCH_ESP32 1
#endif

#ifndef ENABLE_UART_LOGGING
#define ENABLE_UART_LOGGING 1
#endif
#ifndef ENABLE_IMAGE_PROCESSING
#define ENABLE_IMAGE_PROCESSING 1
#endif
Expand All @@ -186,17 +180,6 @@
* @brief Non-user-editable convenience macros computed from the config.
* @{
*/
#if (ENABLE_CAMERA_INPUT)
#define EMBED_DIP_HAS_CAMERA 1
#else
#define EMBED_DIP_HAS_CAMERA 0
#endif

#if (ENABLE_DISPLAY_OUTPUT)
#define EMBED_DIP_HAS_DISPLAY 1
#else
#define EMBED_DIP_HAS_DISPLAY 0
#endif
/** @} */ /* end of embedDIP_cfg_derived */

#endif /* EMBED_DIP_CONFIGS_H */
Loading
Loading