From 8e28d1a40e2171003760634912d445e0a54c2860 Mon Sep 17 00:00:00 2001 From: andrassmuk <64307696+andrassmuk@users.noreply.github.com> Date: Thu, 19 Mar 2026 15:06:33 +0100 Subject: [PATCH 1/4] fix: use native winpthreads for MinGW/MSYS2 builds on Windows The pthreads4w dependency uses MSVC-specific architecture detection (_M_X64, _M_IX86 macros) which fails under MinGW/MSYS2/ProxSpace with "unknown not supported in version.rc". MinGW-w64 ships with winpthreads, so only MSVC builds need pthreads4w. Fixes #378 --- software/src/CMakeLists.txt | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/software/src/CMakeLists.txt b/software/src/CMakeLists.txt index d137251..293162e 100644 --- a/software/src/CMakeLists.txt +++ b/software/src/CMakeLists.txt @@ -97,14 +97,21 @@ elseif (CMAKE_SYSTEM_NAME MATCHES "Windows") endif() endif() - FetchContent_Declare( - pthreads4w - GIT_REPOSITORY "https://github.com/GerHobbelt/pthread-win32" - OVERRIDE_FIND_PACKAGE - EXCLUDE_FROM_ALL - ) - find_package(pthreads4w CONFIG REQUIRED) - set(LIBTHREAD pthreads4w::pthreadVC3) + if(MSVC) + # MSVC has no native POSIX threads; use pthreads4w + FetchContent_Declare( + pthreads4w + GIT_REPOSITORY "https://github.com/GerHobbelt/pthread-win32" + OVERRIDE_FIND_PACKAGE + EXCLUDE_FROM_ALL + ) + find_package(pthreads4w CONFIG REQUIRED) + set(LIBTHREAD pthreads4w::pthreadVC3) + else() + # MinGW/MSYS2 ships with winpthreads; use native threads + find_package(Threads REQUIRED) + set(LIBTHREAD Threads::Threads) + endif() set(LIBMATH "") # No separate math library needed on Windows else() From c45286d8d1eead9d4d2cc85f23834135dcba8f72 Mon Sep 17 00:00:00 2001 From: DGinefra Date: Sun, 12 Apr 2026 17:31:32 +0200 Subject: [PATCH 2/4] Add Mifare Chameleon Tool (iOS) to compatible apps --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c185200..8bc71c7 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Read the [available documentation](https://github.com/RfidResearchGroup/Chameleo * [ChameleonUltraGUI](https://github.com/GameTec-live/ChameleonUltraGUI) * [MTools BLE](https://github.com/RfidResearchGroup/ChameleonUltra/wiki/mtoolsble) +* [Mifare Chameleon Tool (iOS)](https://apps.apple.com/it/app/mifare-chameleon-tool/id6761231484) # Videos @@ -45,4 +46,4 @@ Where do you find the community? * Devices/chameleon-ultra for usage discussions * [GameTec_live discord server](https://discord.gg/DJ2A4wxncK) -###### Searching for the docs repo? Find it [here](https://github.com/RfidResearchGroup/ChameleonUltraDocs) \ No newline at end of file +###### Searching for the docs repo? Find it [here](https://github.com/RfidResearchGroup/ChameleonUltraDocs) From af8b8f3c5c24503058185a093243b5ef0618c136 Mon Sep 17 00:00:00 2001 From: DGinefra Date: Sun, 12 Apr 2026 17:32:34 +0200 Subject: [PATCH 3/4] Add iOS app "Mifare Chameleon Tool" to compatible applications Hi, I would like to add my iOS application "Mifare Chameleon Tool" to the list of compatible applications. App Store link: https://apps.apple.com/it/app/mifare-chameleon-tool/id6761231484 The app supports BLE communication with Chameleon Ultra. Thanks! --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8bc71c7..f80fb2a 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Read the [available documentation](https://github.com/RfidResearchGroup/Chameleo * [ChameleonUltraGUI](https://github.com/GameTec-live/ChameleonUltraGUI) * [MTools BLE](https://github.com/RfidResearchGroup/ChameleonUltra/wiki/mtoolsble) -* [Mifare Chameleon Tool (iOS)](https://apps.apple.com/it/app/mifare-chameleon-tool/id6761231484) +* [Mifare Chameleon Tool (iOS)](https://apps.apple.com/it/app/mifare-chameleon-tool/id6761231484) # Videos From fb6480f355498b30f4e1f181ee99cd82cc27f0f9 Mon Sep 17 00:00:00 2001 From: GameTec-live Date: Mon, 13 Apr 2026 13:18:17 +0200 Subject: [PATCH 4/4] doc: Update text in brackets to clarify debug / beta state and iOS only nature --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f80fb2a..7e037e1 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Read the [available documentation](https://github.com/RfidResearchGroup/Chameleo * [ChameleonUltraGUI](https://github.com/GameTec-live/ChameleonUltraGUI) * [MTools BLE](https://github.com/RfidResearchGroup/ChameleonUltra/wiki/mtoolsble) -* [Mifare Chameleon Tool (iOS)](https://apps.apple.com/it/app/mifare-chameleon-tool/id6761231484) +* [Mifare Chameleon Tool (iOS only, Beta)](https://apps.apple.com/it/app/mifare-chameleon-tool/id6761231484) # Videos