From 21b22c322d94c59b93dbc36a41b6b0fef1e6497e Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Sun, 8 Nov 2020 16:19:50 +0100 Subject: [PATCH] not yet working --- cube/Makefile | 6 +++--- cube/User/Src/wizHelper.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cube/Makefile b/cube/Makefile index 02f0dab..5ad4ead 100644 --- a/cube/Makefile +++ b/cube/Makefile @@ -177,8 +177,8 @@ $(BUILD_DIR)/%.o: %.c Makefile | $(BUILD_DIR) $(BUILD_DIR)/%.o: %.s Makefile | $(BUILD_DIR) $(AS) -c $(CFLAGS) $< -o $@ -$(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) w5500.a Makefile - $(CC) $(OBJECTS) w5500.a $(LDFLAGS) -o $@ +$(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) Makefile + $(CC) $(OBJECTS) w5500.o wizchip_conf.o $(LDFLAGS) -o $@ $(SZ) $@ $(BUILD_DIR)/%.hex: $(BUILD_DIR)/%.elf | $(BUILD_DIR) @@ -201,4 +201,4 @@ clean: ####################################### -include $(wildcard $(BUILD_DIR)/*.d) -# *** EOF *** \ No newline at end of file +# *** EOF *** diff --git a/cube/User/Src/wizHelper.c b/cube/User/Src/wizHelper.c index f0afff2..46bdeed 100644 --- a/cube/User/Src/wizHelper.c +++ b/cube/User/Src/wizHelper.c @@ -66,8 +66,8 @@ int wizInit() { coloredMsg(LOG_RED, "wizI, initializing Ethernet module"); - int8_t res = wizchip_init(NULL, NULL); - coloredMsg(LOG_RED, "wizI, module driver returned %d", res); +// int8_t res = wizchip_init(NULL, NULL); +// coloredMsg(LOG_RED, "wizI, module driver returned %d", res); // wizchip_setnetinfo(&wizNetInfo); // coloredMsg(LOG_RED, "wizI, netinfo set to Ethernet module");