Commit Graph
46 Commits
Author SHA1 Message Date
Romuald Conty 13fee61e87 Fix typo
Closes #309
2015-08-19 11:44:23 +02:00
Philippe Teuwen 108de27c1b Fix typo baud<>bauds thanks to Polluks 2014-03-05 17:48:55 +01:00
Jiapeng Li d89affd819 UART (Windows): fix uart_flush_input format
This patch allow uart files to be compiled under Windows, it adds a 'wait' parameter but do not use it.

Please note that patch fixes compilation but do not add any feature to Windows support
2013-12-08 14:15:36 +01:00
Philippe Teuwen bb5b712a74 Adding link to AUTHORS in the copyright headers 2013-07-17 13:57:56 +02:00
Laurent Latil 005713921e Update PN532/I2C sample config file for rev2.0 boards. Add a note regarding the change of I2C bus routing on R-Pi board rev 2.0. 2013-06-15 22:53:45 +02:00
Philippe Teuwen 4c707e04ad I2C: add conf example 2013-06-15 00:25:08 +02:00
Philippe Teuwen f991771128 Add connstring example for SPI on RPi 2013-03-27 23:29:59 +01:00
Romuald Conty 542622a2f5 Add missing windows files in archive 2013-03-19 00:00:46 +01:00
Romuald Conty 2be00e7615 Move log implementation for Windows in dedicated directory 2013-03-18 23:53:01 +01:00
Romuald Conty cb3452db7b Move UART implementation for Windows in dedicated directory 2013-03-18 23:46:14 +01:00
Philippe Teuwen bf164220ee Unify copyright notices & update authors lists 2013-03-10 16:15:23 +01:00
Romuald Conty 59227c3dd3 Adds missing version.rc.in file in tarball (for Windows users) 2013-03-01 17:11:16 +01:00
Romuald Conty ffd5928dc6 Adds missing windows files in generated tarball 2013-02-16 14:08:44 +01:00
Alex Lian 4487fd768e Windows: Shift files from libnfc/windows to libnfc/contrib/win32
- Fixes the fact files were missed in package
2013-02-14 15:33:47 +01:00
Alex Lian caa09db5fc Merge remote-tracking branch 'refs/remotes/libnfc/master'
Conflicts:
	contrib/windows.h
	libnfc/CMakeLists.txt
	libnfc/log-printf.c
	utils/CMakeLists.txt
2013-01-31 22:17:33 -05:00
Romuald Conty d26c5b248e Adds windows files to tarball 2013-01-31 16:17:37 +01:00
Romuald Conty 519dd8f8e2 make style 2013-01-31 16:12:14 +01:00
Romuald Conty acdde1088c Renames contrib/win32/nfc_win32.c to contrib/win32/stdlib.c 2013-01-31 16:09:41 +01:00
Romuald Conty 3fff5985fc Moves Windows conditional code to dedicated files 2013-01-31 15:58:20 +01:00
Alex Lian ef33827f04 Fix setenv/unsetenv link errors by implementing a local version using Windows SetEnvironmentVariable.
Untested, and does not comply with the error returns per setenv.
2013-01-31 15:52:39 +01:00
Alex Lian ef82a1e4d4 For Windows MinGW address the "ISO C99 requires rest arguments to be used" error 2013-01-31 15:52:39 +01:00
Alex Lian fa3ca0ab62 Fix setenv/unsetenv link errors by implementing a local version using Windows SetEnvironmentVariable.
Untested, and does not comply with the error returns per setenv.
2013-01-27 22:34:58 -05:00
Alex Lian ebab43d532 For Windows MinGW address the "ISO C99 requires rest arguments to be used" error 2013-01-26 18:42:56 -05:00
Romuald Conty 007b78cbb4 Uses less ambiguous include when compiles for Windows platform 2012-12-09 19:27:46 +01:00
Romuald Conty 0af58b1cdd Attempt to build libnfc under for Windows target.
This commit fixes some issues related to the new log system, but libnfc can not build on Windows in this stage since regex.h have been introduced for configuration file parsing and regex.h is not available in Windows.

New issue
Summary: Update Windows port
Due to the recent configuration file parsing introduction, libnfc can not be built under Windows: regex.h is missing.
Google says there is a port of PCRE for Windows which contains a compiliant regex.h.
Contribution are welcome as nobody from currently active team use Windows as OS.
2012-12-05 18:22:27 +01:00
Romuald Conty 03e5611d14 New feature: search in a directory for devices configuration files. 2012-12-05 00:51:13 +01:00
Romuald Conty 0fd3c9fab3 Provides modprobe configuration file and instructions for PN533 and Linux >3.1 users. 2012-12-05 00:51:13 +01:00
Romuald Conty 9afa3c6598 Use copyright format recommended by GNU project.
http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html
2012-10-21 14:09:16 +00:00
Philippe Teuwen a2cd236441 astyle --formatted --mode=c --indent=spaces=2 --indent-switches --indent-preprocessor --keep-one-line-blocks --max-instatement-indent=60 2012-05-29 15:52:51 +00:00
Romuald Conty 26865bbc19 Remove extra whitespaces/tabs before EOL.
find . -name '*.[ch]' | xargs perl -pi -e 's/\t+$//; s/ +$//'

Thanks to Ludovic.
2012-05-29 00:33:22 +00:00
Ludovic Rousseau 1ac1196af6 MIN/MAX are already defined in nfc-utils.h and nfc-internal.h 2012-05-13 19:16:52 +00:00
Romuald Conty e49eb6c660 libnfc-1.5-acr122-usb> import partial work on "ACR122 without PCSC" driver 2012-01-26 15:23:11 +00:00
Romuald Conty 2ac8df2b28 contrib: move udev and devd files into contrib/ 2011-12-09 16:13:32 +00:00
Romuald Conty 1372c1df19 ECONNABORTED is not defined under windows 2011-10-05 22:42:55 +00:00
Romuald Conty 7b6baafd1d example/nfc-relay-picc: Move windows related code into contrib/win32 2011-06-27 08:56:38 +00:00
Romuald Conty 5db8be908b Windows support contribution:
- Move CMake modules from cmake_modules/ to cmake/modules/
 - CMake now use cmake/config_windows.h.cmake to create config.h on Windows platform
 - contrib/windows.h header is automagically included by config.h
 - Put missing NFC_EXPORT macro on front of emulation API
 - nfc-mfclassic and nfc-mfcultralight examples are now compiled under Windows
Many thanks to Glenn Ergeerts which provide the initial patch.
2011-03-31 13:38:49 +00:00
Romuald Conty b471f56c52 Windows: add a dummy select.h (should allow to compile pn53x_usb driver) 2011-03-31 09:59:34 +00:00
Romuald Conty fb93023401 Windows does not have err() function. 2011-03-30 09:26:23 +00:00
Romuald Conty 544030099e Make libnfc compile under Windows
Apply adapted patch from Glenn (Thanks!)
2011-03-09 09:41:40 +00:00
Romuald Conty 8c3caed99f Add missing CMake files to generated tarball. (Thanks to Glenn) 2011-02-03 09:51:38 +00:00
Romuald Conty 58c5662f35 Improve Windows platform support (Thanks to Glenn)
* Remove stdint for MSVC since MSVC is not supported anymore;
 * Fix libusb detection under Windows;
 * Fix PCSC detection (mingw-w64 now have PC/SC Winscard interface);
 * Ajust CMake files in order to make it compile (some examples have been disabled).
2011-01-17 13:42:24 +00:00
Romuald Conty f32013aba5 Define MIN/MAX on Windows platform (Thanks to Glenn) 2011-01-17 13:41:25 +00:00
Romuald Conty 66aef98c40 Define strdup under Windows in contrib/windows.h 2010-11-17 10:10:34 +00:00
Romuald Conty 58dcf63e7c MERGE: libnfc-mingw-cross merge with trunk (r805-821) 2010-11-17 08:29:41 +00:00
Romuald Conty c2cead7089 Remove "manual" Windows makefile: Windows users should now use CMake. 2010-04-26 13:38:17 +00:00
Romuald Conty 693389ac10 Move additionnal files (for Windows) in contrib/ 2010-04-26 13:36:41 +00:00