Commit Graph

555 Commits

Author SHA1 Message Date
78d9318e8b BOM updated, schematic PDF, gerbers, and STEP model generated 2025-10-20 10:10:43 -07:00
293d42b403 reimported PCB from EAGLE, replaced symbols & footprints 2025-10-17 15:20:59 -07:00
084710ef1a bring into KiCad 9 2025-10-17 12:30:36 -07:00
Manuel Domke
93ef8e65d3 Merge pull request #107 from trinitronx/fix-udev-systemd-missing-dev-infnoise
udev: Fix systemd tag for /dev/infnoise, mtp-probe, ModemManager: ignore
2025-05-18 11:20:39 +02:00
James Cuzella
481d0061d1 udev: Fix systemd tag for /dev/infnoise, mtp-probe, ModemManager: ignore
- Fixes #106
- Fixes #90
- Fixes #93
2025-05-17 14:19:31 -06:00
Manuel Domke
8edb00bbb1 Merge pull request #96 from leetronics/master
merge with leetronics/infnoise
2023-02-11 17:37:59 +01:00
manuel-domke
59f121467b set dpkg compression to xz (#2) 2023-02-11 16:49:26 +01:00
manuel-domke
29985abc86 set dpkg compression to xz 2023-02-11 16:47:31 +01:00
manuel-domke
2e6cfbe69f fixed compiler warning:
findlongest.c:101:28: error: argument 1 value ‘2147483648’ exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=]
  101 |     uint8_t *stringsSeen = calloc((uint64_t)1 << (MAX_STRING_SIZE-3u), sizeof(uint8_t));
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-02-11 15:52:14 +01:00
Manuel Domke
5ce538e95a Merge branch 'waywardgeek:master' into master 2022-04-30 21:58:02 +02:00
Manuel Domke
66075cc799 Merge pull request #88 from psiegl/next
Removing unrequired header definitions and get processBytes() into a shape for readData()
2022-04-30 21:57:11 +02:00
Manuel Domke
291fc06592 Merge pull request #27 from overhacked/fix_alpine_warnings
Fix `-Werror` failure on Alpine/MUSL libc & GCC 10
2022-04-30 21:55:58 +02:00
Ross Williams
7ed7014e14 Change getc return type from char to int32_t
The return type of `getc(3)` is a signed integer,
with negative values indicating an error. The changed
line stored the return value in an *unsigned* integer,
then tested it against a negative error constant, so
the error condition would never be detected. This
also results in a warning on GCC 10.

Further information:
- [`getc(3)`](https://man7.org/linux/man-pages/man3/fgetc.3.html)
- [C FAQ question 12.1](http://c-faq.com/stdio/getcharc.html)
2022-01-26 21:09:21 -05:00
Ross Williams
dc27bab518 Include poll.h instead of sys/poll.h
`poll.h` is the POSIX standard include location, and MUSL
libc issues a warning (which infnoise's `-Werror` in CFLAGS
makes into an error).

For more context:
- [Linux manpage for `poll(2)`][1]
- [Open Group UNIX Specification][2]
- [Relevant discussion over at the `emscripten` project][3]

[1]: https://man7.org/linux/man-pages/man2/poll.2.html
[2]: https://pubs.opengroup.org/onlinepubs/7908799/xsh/poll.h.html
[3]: https://github.com/emscripten-core/emscripten/issues/5447#issuecomment-321513332
2022-01-26 20:58:32 -05:00
Patrick Siegl
ba0f6de777 Reworked the readData() to get closer to processBytes() 2020-04-15 20:23:03 +02:00
Patrick Siegl
0561fba738 Remove unrequired bytesWritten 2020-04-15 19:39:28 +02:00
Patrick Siegl
11ebee47f1 Fix: in case all if-statements in processBytes were not taken, the routine needs to return 0, *bytesWritten has an old value, that is no more true 2020-04-15 19:31:23 +02:00
Patrick Siegl
1b48e0c5b9 BytesGiven is part of keccak only 2020-04-15 19:29:31 +02:00
Patrick Siegl
4a09610d50 Moved processBytes() closer to readData(), as only readData() is using this function 2020-04-15 18:23:02 +02:00
Patrick Siegl
e77e1b7810 Removed unrequired header definitions 2020-04-15 18:21:53 +02:00
Manuel Domke
e80ddd7808 Merge pull request #19 from nikkej/master
C linkage guard and missing symbol for libinfnoise exports
2019-08-12 21:24:02 +02:00
Juha Nikkanen
aa8e2eed7b Fix: add also deinitInfnoise symbol into list of exported 2019-08-12 15:08:52 +03:00
Juha Nikkanen
738f7fd54a Add C linkage guard for exported symbols 2019-08-12 15:06:24 +03:00
Manuel Domke
9307c4465f Merge pull request #86 from MartyMacGyver/mff-update-windows-build-and-functionality
Updated to build in Windows properly, with binary pipe capability
2019-07-07 09:36:57 +02:00
Martin Falatic
8db6b9b2d8 Updated to build in Windows properly, with binary pipe capability
These changes should NOT affect other (non-Windows) targets

I used https://github.com/jj1bdx/infnoise-windows as a reference point
for getting this working (and for the idea to not directly include
FTDI source files here but instead direct the user to install them).
2019-07-07 00:16:23 -07:00
Manuel Domke
b5c1b44585 Merge pull request #17 from skitt/gitignore
Ignore all build artifacts
2019-06-22 16:53:50 +02:00
Manuel Domke
ad73e67a94 Merge pull request #18 from skitt/cross-ftdi
Fix cross-building FTDI issues
2019-06-22 16:53:19 +02:00
Stephen Kitt
a85a38488b Ignore all build artifacts
Instead of listing .o etc. files by name, match them using wildcards.

Signed-off-by: Stephen Kitt <steve@sk2.org>
2019-06-22 14:20:06 +02:00
Stephen Kitt
132683d4b5 Merge the FTDI construction
Since there's already a conditional in the shell invocation, it might
as well be used to determine the value of FTDI directly.

Signed-off-by: Stephen Kitt <steve@sk2.org>
2019-06-22 14:17:44 +02:00
Helmut Grohne
4a9cc66d1e Use the compiler to find libftdi
The libfdti detection, using ldconfig, only searches for the build
architecture libftdi, which means infnoise can't be cross-compiled.
By checking whether the compiler knows about the library we can
check for the host architecture's library and support build scenarios
which ldconfig doesn't know about, in particular cross-building.
2019-06-22 14:13:03 +02:00
Manuel Domke
91758038cb inmWriteEntropyEnd only works on Linux 2019-04-16 16:32:08 +02:00
Manuel Domke
40b57b27fa Merge pull request #85 from psiegl/master
Work on bytes instead of bits
2019-04-01 23:23:40 +02:00
Patrick Siegl
2336eeab1e Fix the parametername 2019-04-01 23:22:40 +02:00
Patrick Siegl
9483bbd463 Work on bytes instead of bits 2019-04-01 23:19:22 +02:00
Manuel Domke
1ee29a0de3 Merge pull request #84 from psiegl/master
Recursive listUSBdev.()
2019-04-01 16:58:15 +02:00
Patrick Siegl
3f12964521 Added missing ftdi_usb_close() 2019-04-01 00:08:24 +02:00
Patrick Siegl
b900469e47 Remote unrequired struct 2019-03-31 23:56:53 +02:00
Patrick Siegl
de7b6be8fd sprintf() in not a buffer, could create any issue 2019-03-31 23:49:26 +02:00
Patrick Siegl
40fa7d4c2e Check for superuser not required 2019-03-31 23:34:28 +02:00
Patrick Siegl
2cae70f63e Fix when no device available 2019-03-31 23:25:15 +02:00
Patrick Siegl
1ca054ed7e Recursive listUSBdev.() 2019-03-31 22:58:26 +02:00
Manuel Domke
561b6b0374 Merge pull request #83 from psiegl/writeent
Writeentropy reduced in amount of global vars. To this, waits until /dev/random in usage
2019-03-29 19:03:53 +01:00
Patrick Siegl
1dee982ba0 ftdi_usb_find_all() requires a free() 2019-03-28 22:19:02 +01:00
Patrick Siegl
64fe6d84a6 errorflag already set in init 2019-03-28 22:03:48 +01:00
Patrick Siegl
81973dff4f Merge branch 'master' of https://github.com/waywardgeek/infnoise into writeent 2019-03-28 00:15:52 +01:00
Patrick Siegl
fdfe30136d Wait until /dev/random is truly required 2019-03-28 00:13:14 +01:00
Patrick Siegl
84e2014fa5 Use the struct instead of multipe global vars. 2019-03-28 00:12:13 +01:00
Manuel Domke
095f2d1e6e Merge pull request #82 from psiegl/writeentropycleanup
Support any value from /proc instead of relying on buf.-size
2019-03-27 23:07:51 +01:00
Manuel Domke
e0f7e68010 Merge pull request #81 from psiegl/cleanup
Feature: graceful shutdown
2019-03-27 22:18:00 +01:00
Manuel Domke
0cd6018709 Merge branch 'master' into cleanup 2019-03-27 22:16:01 +01:00