Skip to content

Commit

Permalink
Host implementation
Browse files Browse the repository at this point in the history
* Add list of AP's for Host
* Add check to host for WPS/SmartConfig (not supported)
  • Loading branch information
mikee47 committed Aug 6, 2019
1 parent 5ce4e71 commit dfcf34b
Show file tree
Hide file tree
Showing 18 changed files with 620 additions and 861 deletions.
1 change: 0 additions & 1 deletion Sming/Arch/Host/Components/esp_hal/include/esp_systemapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ struct ip_addr {
#include <driver/gpio.h>
#include <driver/adc.h>
#include <hostlib/hostapi.h>
#include <esp_wifi.h>
#include "esp_sleep.h"

#include <stdarg.h>
Expand Down
13 changes: 9 additions & 4 deletions Sming/Arch/Host/Components/esp_wifi/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ COMPONENT_DEPENDS := lwip
# Options to add for configuring host network behaviour
CACHE_VARS += HOST_NETWORK_OPTIONS
HOST_NETWORK_OPTIONS ?=
CLI_TARGET_OPTIONS += $(HOST_NETWORK_OPTIONS)
CLI_TARGET_OPTIONS += $(HOST_NETWORK_OPTIONS)

COMPONENT_VARS := ENABLE_WPS
COMPONENT_TARGETS := esp-wifi-check

.PHONY: esp-wifi-check
$(COMPONENT_RULE)esp-wifi-check:
ifeq ($(ENABLE_WPS),1)
GLOBAL_CFLAGS += -DENABLE_WPS=1
EXTRA_LIBS := wps
$(warning WPS not supported)
endif
ifeq ($(ENABLE_SMART_CONFIG),1)
$(warning 'Smart Config' not supported)
endif
114 changes: 0 additions & 114 deletions Sming/Arch/Host/Components/esp_wifi/esp_wifi.c

This file was deleted.

50 changes: 0 additions & 50 deletions Sming/Arch/Host/Components/esp_wifi/include/esp_smartconfig.h

This file was deleted.

145 changes: 0 additions & 145 deletions Sming/Arch/Host/Components/esp_wifi/include/esp_wifi.h

This file was deleted.

Loading

0 comments on commit dfcf34b

Please sign in to comment.