This commit is contained in:
ipwxp
2025-09-25 19:04:00 +08:00
commit fcccb1789b
114 changed files with 223396 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
Install MSYS2 for x86_64 from: https://www.msys2.org/
to obtain ARM64 toolchain. (necessary to compile from x86_64 PC for ARM64)
-> Open `msys2.exe`, (path should be: “C:\msys64\msys2.exe”)
-> Update the package manager (pacman): `pacman -Syu`
-> Install the ARM64 toolchain: `pacman -S mingw-w64-aarch64-toolchain`
-> This installs:
mingw-w64-aarch64-gcc (GCC compiler for ARM64)
mingw-w64-aarch64-binutils (linker, assembler, etc.)
mingw-w64-aarch64-headers (Windows API headers)
mingw-w64-aarch64-crt (C runtime for ARM64)
-> Verify installation, from MSYS2 shell: “aarch64-w64-mingw32-gcc --version”
Linking:
- Simply name the linker search patch to library and header file directories, e.g
` aarch64-w64-mingw32-gcc -O3 -D__USE_MINGW_ANSI_STDIO -Iufr-lib/include -Lufr-lib/windows/aarch64 -luFCoder-aarch64 *.c -o ufr.exe
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
When you use uFCoder static library, you must define DL_USE_STATIC_LIB macro before including the uFCoder.h
After uFR-library version 4.4.1 an additional library [ws2_32.lib] must be included to support UDP transfer protocol
#pragma comment(lib, "ws2_32.lib")
Additionally, linkage to "ftd2xx_coff.lib" is mandatory.
As of version 6.0.6, linking with "-lsetupapi" flag is mandatory as well.
Binary file not shown.
Binary file not shown.
+8
View File
@@ -0,0 +1,8 @@
When you use uFCoder static library, you must define DL_USE_STATIC_LIB macro before including the uFCoder.h
After uFR-library version 4.4.1 an additional library [ws2_32.lib] must be included to support UDP transfer protocol
#pragma comment(lib, "ws2_32.lib")
Additionally, linkage to "ftd2xx_coff_x64.lib" is mandatory.
As of version 6.0.6, linking with "-lsetupapi" flag is mandatory as well.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+22
View File
@@ -0,0 +1,22 @@
# New Feature - COM wrapper for uFCoder library
Implemented Component Object Model wrapper for uFCoder library.
```
COMuFCoder-x86.dll
```
## How to register COM library
```
regasm COMuFCoder-x86.dll /codebase
```
response:
```
Microsoft .NET Framework Assembly Registration Utility version 4.7.3056.0
for Microsoft .NET Framework version 4.7.3056.0
Copyright (C) Microsoft Corporation. All rights reserved.
Types registered successfully
```
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.