Skip to content

Commit

Permalink
Bump version up 1.7.2. Add build for MacOSX aarch64.
Browse files Browse the repository at this point in the history
  • Loading branch information
McMCCRU committed Jul 18, 2021
1 parent 1236378 commit be749d8
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 17 deletions.
Binary file modified Linux/SNANDer
Binary file not shown.
Binary file added MacOSX/SNANDer.aarch64
Binary file not shown.
Binary file renamed MacOSX/SNANDer → MacOSX/SNANDer.x86_64
Binary file not shown.
Binary file modified Windows/SNANDer.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion flash_support_list.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.1 by McMCC <mcmcc_at_mail.ru>
SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.2 by McMCC <mcmcc_at_mail.ru>

SPI NAND Flash Support List:
001. GIGADEVICE GD5F1GQ4UA
Expand Down
14 changes: 7 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.1 by McMCC <mcmcc_at_mail.ru>
SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.2 by McMCC <mcmcc_at_mail.ru>

Usage:
-h display this message
Expand All @@ -23,7 +23,7 @@ Examples:

igor@mcmcc-GL553VE:~/Soft/SNANDer-bin/Linux$ ./SNANDer -i

SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.1 by McMCC <mcmcc_at_mail.ru>
SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.2 by McMCC <mcmcc_at_mail.ru>

Found programmer device: WinChipHead (WCH) - CH341A
Device revision is 3.0.4
Expand All @@ -35,7 +35,7 @@ Detected SPI NAND Flash: MXIC MX35LF2G, Flash Size: 256 MB

or

SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.1 by McMCC <mcmcc_at_mail.ru>
SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.2 by McMCC <mcmcc_at_mail.ru>

Found programmer device: Winchiphead (WCH) - CH341A
Device revision is 3.0.4
Expand All @@ -49,7 +49,7 @@ Detected SPI NAND Flash: WINBOND W25N01G, Flash Size: 128 MB

igor@mcmcc-GL553VE:~/Soft/SNANDer-bin/Linux$ ./SNANDer -d -e

SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.1 by McMCC <mcmcc_at_mail.ru>
SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.2 by McMCC <mcmcc_at_mail.ru>

Found programmer device: WinChipHead (WCH) - CH341A
Device revision is 3.0.4
Expand All @@ -70,7 +70,7 @@ igor@mcmcc-GL553VE:~/Soft/SNANDer-bin/Linux$

igor@mcmcc-GL553VE:~/Soft/SNANDer-bin/Linux$ ./SNANDer -d -v -w ecc_2Gb_2K_64_flashimage_rfb1_ac2600.bin

SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.1 by McMCC <mcmcc_at_mail.ru>
SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.2 by McMCC <mcmcc_at_mail.ru>

Found programmer device: WinChipHead (WCH) - CH341A
Device revision is 3.0.4
Expand All @@ -94,7 +94,7 @@ Status: OK

igor@igor-GL553VE:~/Soft/SNANDer-bin/Linux$ ./SNANDer -E 93c46 -r test.bin

SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.1 by McMCC <mcmcc_at_mail.ru>
SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.2 by McMCC <mcmcc_at_mail.ru>

Found programmer device: WinChipHead (WCH) - CH341A
Device revision is 3.0.4
Expand All @@ -111,7 +111,7 @@ Status: OK

igor@igor-GL553VE:~/Soft/SNANDer-bin/Linux$ ./SNANDer -E 93c46 -w test.bin -v

SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.1 by McMCC <mcmcc_at_mail.ru>
SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.2 by McMCC <mcmcc_at_mail.ru>

Found programmer device: WinChipHead (WCH) - CH341A
Device revision is 3.0.4
Expand Down
16 changes: 12 additions & 4 deletions src/Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@
# Build and install cross-tools from https://github.com/tpoechtrager/osxcross
# export PATH=/home/igor/Work/osxcross/target/bin:$PATH (/home/igor/Work/osxcross/target/bin - replace on your path)
# make -f Makefile.osx
# or
# ARCH=aarch64 make -f Makefile.osx

DRW=x86_64-apple-darwin20.2
ARCH ?= x86_64

DRW=$(ARCH)-apple-darwin20.2
ifeq ($(ARCH),x86_64)
CC=$(DRW)-gcc
# CC=$(DRW)-clang
STRIP=$(DRW)-strip
else
CC=$(DRW)-clang
STRIP=echo
endif
LDFLAGS=-pthread -lobjc -Wl,-framework,IOKit -Wl,-framework,CoreFoundation
TOPDIR=$(shell pwd)

Expand Down Expand Up @@ -41,8 +49,8 @@ all: SNANDer
touch $@

SNANDer: .lusb_install_osx $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(USB_OBJS) $(LDFLAGS)
$(STRIP) $@
$(CC) $(CFLAGS) -o $@.$(ARCH) $(OBJS) $(USB_OBJS) $(LDFLAGS)
$(STRIP) $@.$(ARCH)

.c.o:
$(CC) $(CFLAGS) -c $<
Expand Down
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extern int org;
#define EHELP ""
#endif

#define _VER "1.7.1"
#define _VER "1.7.2"

void title(void)
{
Expand Down
8 changes: 4 additions & 4 deletions src/snander.rc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#include "res.h"

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 7, 1, 0
PRODUCTVERSION 1, 7, 1, 0
FILEVERSION 1, 7, 2, 0
PRODUCTVERSION 1, 7, 2, 0
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE 0
Expand All @@ -15,11 +15,11 @@ BEGIN
VALUE "FileDescription", "SNANDer - Serial Nor/nAND/Eeprom programmeR\0"
VALUE "OriginalFilename", "SNANDer.exe\0"
VALUE "CompanyName", "-= (c) 2018-2021 Igor Mokrushin aka McMCC =-\0"
VALUE "FileVersion", "1.7.1.0\0"
VALUE "FileVersion", "1.7.2.0\0"
VALUE "InternalName", "SNANDer\0"
VALUE "LegalCopyright", "Copyright (c) 2018-2021 by McMCC <[email protected]>\0"
VALUE "ProductName","SNANDer\0"
VALUE "ProductVersion","1.7.1.0\0"
VALUE "ProductVersion","1.7.2.0\0"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit be749d8

Please sign in to comment.