Hallo Kurt,
hier das makefile (Ausschnitt):
Code:
###############################################################################
# Target file name (without extension).
# This is the name of your main C source file! Do NOT append the ".c"!
# Example: Let's assume your main source file is "RP6Base_MyProgram.c", then
# you would write: TARGET = RP6Base_MyProgram
TARGET = RP6M256_M32_I2CMaster_02
###############################################################################
###############################################################################
# Specify relative path to RP6 library files here.
# This is "../../RP6Lib" or "../RP6Lib" usually.
RP6_LIB_PATH=../../RP6Lib
RP6_LIB_PATH_OTHERS= $(RP6_LIB_PATH)/RP6control_M256_WIFI $(RP6_LIB_PATH)/RP6common
RP6_LIB_PATH_OTHERS += $(RP6_LIB_PATH)/RP6control_M256_WIFI/sdc
###############################################################################
#------------------------------------------------
# Main Source file is _automatically_ added here:
SRC = $(TARGET).c
# DO NOT EDIT THIS!
###############################################################################
# If there is more than one source file, append them here separated by spaces.
# Usually you have to add the Library files here! (ONLY add c files "*.c" here,
# NO header files "*.h"!)
# Don't forget to add relative paths!
#SRC += $(RP6_LIB_PATH)/RP6common/RP6I2CslaveTWI.c
SRC += $(RP6_LIB_PATH)/RP6common/RP6I2CmasterTWI.c
SRC += $(RP6_LIB_PATH)/RP6control_M256_WIFI/RP6M256_I2CMasterLib.c
SRC += $(RP6_LIB_PATH)/RP6control_M256_WIFI/RP6M256_M32_I2CMasterLib.c
SRC += $(RP6_LIB_PATH)/RP6control_M256_WIFI/RP6M256Lib.c
SRC += $(RP6_LIB_PATH)/RP6control_M256_WIFI/RP6M256uart.c
SRC += $(RP6_LIB_PATH)/RP6control_M256_WIFI/RP6M256_WIFIlib.c
SRC += $(RP6_LIB_PATH)/RP6control_M256_WIFI/sdc/sd_raw.c
SRC += $(RP6_LIB_PATH)/RP6control_M256_WIFI/sdc/fat.c
SRC += $(RP6_LIB_PATH)/RP6control_M256_WIFI/sdc/partition.c
SRC += $(RP6_LIB_PATH)/RP6control_M256_WIFI/sdc/byteordering.c
Lesezeichen