mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2025-07-31 20:31:05 +00:00
update
This commit is contained in:
parent
eac35630e6
commit
25980c5c59
16 changed files with 204 additions and 129 deletions
15
project.mk
15
project.mk
|
|
@ -1,9 +1,10 @@
|
|||
#=============================================
|
||||
# SDK CONFIG
|
||||
#=============================================
|
||||
#WEB_INA219_DRV = 1
|
||||
WEB_INA219_DRV = 1
|
||||
#WEB_ADC_DRV = 1
|
||||
#USE_SDCARD = 1
|
||||
#USE_UVC = 1
|
||||
#USE_AT = 1
|
||||
#USE_FATFS = 1
|
||||
#USE_SDIOH = 1
|
||||
|
|
@ -26,6 +27,11 @@ endif
|
|||
RTOSDIR=freertos_v9.0.0
|
||||
LWIPDIR=lwip_v1.4.1
|
||||
|
||||
ifdef USE_UVC
|
||||
USE_SDRAM = 1
|
||||
USE_GCC_LIB = 1
|
||||
endif
|
||||
|
||||
include $(SDK_PATH)sdkset.mk
|
||||
#CFLAGS += -DDEFAULT_BAUDRATE=1562500
|
||||
CFLAGS += -DLOGUART_STACK_SIZE=1024
|
||||
|
|
@ -45,8 +51,13 @@ ifdef USE_SDCARD
|
|||
ADD_SRC_C += project/src/console/sd_fat.c
|
||||
endif
|
||||
|
||||
ifdef USE_UVC
|
||||
ADD_SRC_C += project/src/console/uvc_capture_tst.c
|
||||
endif
|
||||
|
||||
ifdef WEB_INA219_DRV
|
||||
ADD_SRC_C += project/src/driver/i2c_drv.c
|
||||
CFLAGS += -DUSE_I2C_CONSOLE=1
|
||||
ADD_SRC_C += project/src/ina219/ina219drv.c
|
||||
CFLAGS += -DWEB_INA219_DRV=1
|
||||
endif
|
||||
|
|
@ -57,6 +68,7 @@ ADD_SRC_C += project/src/adc_ws/adc_ws.c
|
|||
CFLAGS += -DWEB_ADC_DRV=1
|
||||
endif
|
||||
|
||||
|
||||
#Web-<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
INCLUDES += project/inc/web
|
||||
ADD_SRC_C += project/src/tcpsrv/tcp_srv_conn.c
|
||||
|
|
@ -69,3 +81,4 @@ ADD_SRC_C += project/src/web/web_int_callbacks.c
|
|||
ADD_SRC_C += project/src/web/web_int_vars.c
|
||||
ADD_SRC_C += project/src/web/web_auth.c
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue