1. 15 7月, 2021 1 次提交
  2. 14 7月, 2021 1 次提交
  3. 13 7月, 2021 1 次提交
  4. 09 7月, 2021 2 次提交
    • L
      Adding Ultralight NFC card support (#1579) · c1ca7b96
      Laurent Ellerbach 提交于
      c1ca7b96
    • P
      Opening/Closing a pin should not affect its state if possible (#1520) · 1eb9c747
      Patrick Grawehr 提交于
      * Do not disable test
      
      * Open/Close shall not change pin modes or states
      
      * LibGpiodDriver shall correctly grab the current pin mode when opening a pin
      
      * Try with updated test cases
      
      * Support reading back the initial mode on Raspberry Pi
      
      * Bugfix Raspi driver
      
      Bug
      
      * Update documentation on SysFsDriver
      
      The SysFsDriver does not support setting the
      value before changing a pin to output. It will
      always be low.
      
      * Disable test for SysFs
      
      * Do not touch output pin
      
      We just want to test its last state here.
      
      * Test whether a sleep fixes the test on Pi3's
      
      * Use a really large delay
      
      * Update src/System.Device.Gpio.Tests/GpioControllerTestBase.cs
      
      * Disable test for SysFs, see #1581
      
      * Address PR feedback
      
      * Throw exception if driver is disposed
      Co-authored-by: NJose Perez Rodriguez <joperezr@microsoft.com>
      1eb9c747
  5. 08 7月, 2021 1 次提交
  6. 02 7月, 2021 1 次提交
  7. 01 7月, 2021 3 次提交
  8. 22 6月, 2021 1 次提交
  9. 18 6月, 2021 1 次提交
  10. 15 6月, 2021 1 次提交
  11. 11 6月, 2021 2 次提交
  12. 08 6月, 2021 1 次提交
  13. 05 6月, 2021 1 次提交
  14. 04 6月, 2021 1 次提交
  15. 03 6月, 2021 3 次提交
  16. 02 6月, 2021 10 次提交
  17. 29 5月, 2021 1 次提交
  18. 28 5月, 2021 1 次提交
  19. 26 5月, 2021 1 次提交
  20. 23 5月, 2021 1 次提交
  21. 21 5月, 2021 2 次提交
    • P
      Add .NET Standard 2.0 as target (#1530) · 75504878
      Patrick Grawehr 提交于
      * Add support for cross-building with .NET Framework 4.8
      
      Since Iot.Device.Bindings currently only builds for netcoreapp2.1, it cannot be used in .NET Framework, but some bindings are still useful (i.e. Arduino, HardwareMonitor).
      
      * Retarget to .NET Standard and fix a few bindings
      
      * Use common value for Targets for all projects
      
      Added a common property for all projects that don't support .NET Standard as well
      
      * Run some tests with .NET Framework, too
      
      * More compatibility extensions
      
      * Fix NET Standard support for more projects
      
      * Make also the remaining bindings NetStandard2.0-compatible
      
      * Also change SocketCan to use NetStandard APIs
      
      * No longer needed
      
      * Fixing non-Windows builds given Mono isn't installed on the non-Windows build machines
      
      * Add missing validation
      
      * Consistently use the extension method
      
      * Improve property name for default Target frameworks
      
      * Add tests
      
      * Use extension function
      
      * Remove a blank line
      
      * Use conditional compile items instead of ifdefs for consistency with the repo
      
      * Fix build break caused by new PR merged in master
      Co-authored-by: NJose Perez Rodriguez <joperezr@microsoft.com>
      75504878
    • P
      A GPIO has to be writeable even in drive mode input because one wants to set... · 7ed5c0fe
      Patrick Grawehr 提交于
      A GPIO has to be writeable even in drive mode input because one wants to set the value used when switching to output mode. (#1473)
      
      * A GPIO has to be writeable even in drive mode input because one wants to set the value used when switching to output mode.
      
      * Fixed rest of tests.
      
      * Fixed tests in GpioControllerSoftwareTests.csl
      
      * Support setting mode to output with a pre-defined value
      
      * Extend test
      
      * Add SetPinMode(int, PinMode, PinValue) to public api of GpioController
      
      * Some drivers don't support PinCount, so use a dictionary instead
      
      * Undo changes that broke the tests
      
      * Release pin before switching mode
      
      This is required to change the mode multiple times, see the bug reported in #1361.
      
      * Add correct override, too
      
      Writing before changing of mode seems to work with LibGpiodDriver as well, even though it's not directly testable
      
      * Review comments
      
      * Remove overload (as discussed)
      
      * Small method name improvement
      
      * Cleanup and add documentation for method which behaves unexpectedly
      
      * Use ConcurrentDictionary, is a bit "more" thread safe
      
      * Simplify code flow
      
      * Correctly support mode change for LibGpiodDriver
      
      Now uses the third argument to gpiod_line_request_output
      Co-authored-by: NMarco Stroppel MTA <marco.stroppel@mt.com>
      Co-authored-by: NMarco Stroppel <marco.stroppel@gmail.com>
      7ed5c0fe
  22. 20 5月, 2021 2 次提交
    • C
      57c9cb29
    • P
      Board approach, iteration 2 (#1128) · 1ab3e3b7
      Patrick Grawehr 提交于
      * Add possibility to set the alternate pin mode on Raspberry Pis
      
      This is a split from PR #1128
      
      * A few members renamed
      
      * Changed according discussion
      
      * Board class concept, with implementation for existing boards
      
      Handles pin management and special pin modes.
      Is one interface (as well as typically one instance) to keep everything together.
      
      * Extra GPIO drivers, used for testing
      
      DummyGpioDriver is a driver that has no pins, but can be
      instantiated regardless of any hardware support.
      
      KeyboardGpioDriver is a driver that uses the keyboard as GPIO "pins".
      
      * Separate tests for hardware and software CS for SPI.
      
      * Update src/devices/Board/Board.cs
      Co-authored-by: NKrzysztof Wicher <mordotymoja@gmail.com>
      
      * Change AlternatePinMode to class, so that it is extensible
      
      * Remove pinAssignment capability from GpioController for now
      
      Might be interfering with the proposed IGpioPin approach
      
      * Fix unit tests
      
      * That test was quite pointless. Now it fails (will fix later)
      
      * Rebase on latest proposed low-level implementation
      
      * Some nullability fixes
      
      * Add documentation
      
      * Add documentation
      
      * Some missing headers, again
      
      * Add AnalogOut as valid usage
      
      * Replace I2cDeviceManager with I2cBus, per #1335
      
      * Adjustments to new I2cBus class
      
      * Add I2cBus scan function
      
      * Fix comment
      
      * Properly use the I2cBus
      
      Make I2cBusManager a wrapper around it
      
      * Fix unit test
      
      * Logging will be provided in separate PR
      
      * Minor review comments addressed
      
      * Changed AlternatePinMode -> ExtendedPinMode, splitted up to base class and driver-specific implementation
      
      * Missing core changes
      
      * Adaptions to latest core interfaces
      
      * Remove now duplicate change
      
      * Add Board as base class of existing ArduinoBoard
      
      * Fix unit test (Initialize is not public)
      
      * Remove support for physical numbering scheme
      
      Adds complexity to the API for a rarely used feature.
      
      * Clean up usage in samples
      
      * Clean up Board creation
      
      * Minor cleanup
      
      * Move implementation to base
      
      * Remove unused functions
      Co-authored-by: NKrzysztof Wicher <mordotymoja@gmail.com>
      1ab3e3b7
  23. 19 5月, 2021 1 次提交