diff --git a/Makefile b/Makefile index 428e5c0f235054402b35b3f30f0191e8bd162ab2..e647ee841b7c5b7b1b31cdbbbc5784a4ad6b47cb 100644 --- a/Makefile +++ b/Makefile @@ -523,7 +523,7 @@ endif #CFLAGS += -O -Wall -std=gnu99 -I ../hardware/firmware CFLAGS += -Wall -CFLAGS += -std=gnu99 +#CFLAGS += -std=gnu99 CFLAGS += -DBLINK1_VERSION=\"$(BLINK1_VERSION)\" OBJS += blink1-lib.o diff --git a/README.md b/README.md index c09f5557e38ac564aa15785104e9335d94a8363f..fa33db5dba742c7e22f2bf74a071a56b78a735eb 100644 --- a/README.md +++ b/README.md @@ -124,14 +124,15 @@ you may already have everything you need to compile `blink1-tool`. - `cd blink1-tool` - `make` -### Windows (old way) +### Windows -- Install Visual Studio 2015 -- Install MSYS2 : https://github.com/msys2/msys2/wiki/MSYS2-installation +- Install Visual Studio 2015 or 2019 +- Install MSYS2: https://www.msys2.org/ - In MSYS2 bash shell: -- `pacman -S base-devel make git zip unzip mingw-w64-x86_64-toolchain` +- `pacman -S base-devel make git zip unzip mingw-w64-x86_64-gcc` - `export PATH=${PATH}:/c/msys64/mingw64/bin` - `export PATH=${PATH}:"/c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin"` +- `export PATH=${PATH}:'/c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64'"` - `make` ### Other OSes