[riot-notifications] [RIOT-OS/RIOT] [Quick Question] ESP8266 esp-wifi ssid and password parameters in .c file ? (#11320)
notifications at github.com
Thu Apr 4 14:16:40 CEST 2019
@mmaxus35 Model based code generation is a very interesting topic. I was working on this topic some years ago.
Maybe, the easiest way to override the definitions is not to overwrite `cpu/esp8266/esp-wifi/esp_wifi_params.h` but to generate a file `esp_wifi_params.h` in your application directory which looks like
#define ESP_WIFI_SSID "TPBD9E_2.4GHz"
#define ESP_WIFI_PASS "dguKuYPc123x"
You would aslo have to generate following a makefile with first line
INCLUDES += -I$(APPDIR)
to ensure that `esp_wifi_params.h` in your application directory is found first. Please refer section [Application-Specific Board Configuration](https://doc.riot-os.org/group__cpu__esp8266.html#esp8266_application_specific_board_configuration) in documentation.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications