Skip to content

Instantly share code, notes, and snippets.

@Juppit
Juppit / build_esp8266_from_cygwin.sh
Created February 10, 2020 23:19
Create esp8266 from Cygwin
#!/bin/bash
# Author: Peter Dobler
# e-Mail: esp8266-mail@t-online.de
# Last edit: 10.02.2020
#
# Building the environment for ESP8266 on Arduino-IDE
# under Windows using Cygwin.
# If any command is unknown to your cygwin distribution, so install it (e.g. 'wget')
#
# Preparations:
diff --git a/kconfig/Makefile b/kconfig/Makefile
index 3474e5c..a3f6eae 100644
--- a/kconfig/Makefile
+++ b/kconfig/Makefile
@@ -35,20 +35,21 @@ conf_SRC = conf.c
conf_OBJ = $(patsubst %.c,%.o,$(conf_SRC))
conf_DEP = $(patsubst %.o,%.dep,$(conf_OBJ))
$(conf_OBJ) $(conf_DEP): CFLAGS += $(INTL_CFLAGS)
+conf: LDFLAGS += -lintl
@Juppit
Juppit / build_ESP_crosstool-NG.sh
Created January 18, 2016 16:40
Crosstool-NG Script for ESP32 and ESP8266
#!/bin/bash
# Author: Peter Dobler (@Juppit)
# e-Mail: esp8266-mail@t-online.de
# Last edit: 18/01/2016
#
DO_INSTALL=1
DO_CONFIG=1
DO_BUILD=1
PROJ_ROOT=$PWD
@Juppit
Juppit / Bootstrap_Cygwin.bat
Created January 17, 2016 22:27
Build Cygwin Environment
:: Author: Peter Dobler (@Juppit)
:: e-Mail: esp8266-mail@t-online.de
::
:: Last edit: 15/01/2016
@ECHO off
setlocal
CALL :CHECK_ARCH
:: edit this part if needed
SET CYGWIN_DRIVE=C
SET CYGWIN_DIR=Cygwin%PROZ_ARCH%