Commit Graph
59 Commits
Author SHA1 Message Date
Philippe Teuwen 32bb627108 Fix typo in drivers blacklist, thanks Godfrey Chung 2017-03-07 10:49:25 +01:00
Philippe Teuwen e4df2f3334 astyle 2017-02-18 13:05:59 +01:00
Philippe Teuwen be1b897617 Merge pull request #308 from AxisRay/master
Bugfix:function setenv() and unsetenv() are invalid on windows AND no variable prefix set for WIN32 in CMakeLists
2017-02-17 12:24:38 +01:00
Philippe Teuwen 15c31aecdb Merge pull request #362 from snowy13/master
Raspberry Pi 3 Conf Sample
2017-02-17 12:15:48 +01:00
Philippe Teuwen 372bf37eec Blacklist pn533_usb to fix issue #391 2017-02-16 22:32:16 +01:00
Frédéric Bourgeois 65477eea5e Match nfc.h
Synchronized with nfc.h with all API functions
2016-12-05 13:11:45 +01:00
Jim Anastassiou 0d3d5c13ff Add R-Pi 3 conf sample.
There have been changes to the Raspberry Pi 3's usage of serial ports with the addition of a Bluetooth LE module.
This configuration uses the mini UART without disabling any devices except for the linux serial console.
2016-08-19 19:22:06 -04:00
Jim Anastassiou 27ed3acc1a Update pn532_uart_on_rpi_3.conf.sample 2016-08-19 18:38:19 -04:00
Jim Anastassiou 35cc69dffb Rename pn532_uart_on_rpi3.conf.sample to pn532_uart_on_rpi_3.conf.sample 2016-08-19 18:37:04 -04:00
Jim Anastassiou 4076046a66 Create pn532_uart_on_rpi3.conf.sample 2016-08-19 18:36:48 -04:00
bhack 1d4720671e Add SCM_SCL3712 support 2015-11-04 20:15:56 +01:00
Romuald Conty 555f9ce4cf Fixes #286: udev rule was executed to early 2015-08-19 11:50:52 +02:00
Romuald Conty 13fee61e87 Fix typo
Closes #309
2015-08-19 11:44:23 +02:00
Ray Lee e72fe468a4 Bugfix:function setenv()and unsetenv()
The original setenv() and unsetenv() function is invalid,I have rewrited to fix.
2015-08-16 16:34:35 +08: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