-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update DaisySeed to use GPIO * Update DaisyPatch to use GPIO * Update daisy::patch_sm to use GPIO * Update DaisyField to use GPIO * Update LED and RGBLed to use GPIO and Pin * Update AK4556 CODEC to use GPIO and Pin This also finally switches the AK4556 CODEC from a static set of functions to instance variables. This is required due to how GPIO instances update their internal port_base_addr_ on Init(), which is then later required for DeInit(). * Update HD44780 driver to use GPIO and Pin * Update PCA9685 driver to use GPIO and Pin * Update SSD130X driver to use GPIO and Pin * Move SR595 Driver into daisy namespace * Update SR595 driver to use GPIO and Pin * Update 4021 driver with GPIO and Pin * Update Encoder to use GPIO and Pin * Update Switch driver to use GPIO and Pin Also migrates from internal custom Pull representation to the global GPIO::Pull * Update Switch3 to use GPIO and Pin * Add Init() to GPIO for 0-parameter initialization * Update ADC to use GPIO and Pin * Update system to use GPIO and Pin * Update multi-peripheral SPI driver with GPIO/Pin * Update Midi to use Pin * Update TLV493D to use Pin * Update MCP23x17 and MAX11300 to use Pin * Update DAC driver to use GPIO and Pin * Update I2C driver to use GPIO and Pin * Update UART to use GPIO and Pin * Update SPI peripheral to use GPIO and Pin * Update SAI peripheral to use GPIO and Pin * Update QSPI peripheral to use GPIO and Pin * Update outdated documentation * Style compliance * Fix ResetToBootloader (merge error) * Replace old dsy_gpio in DaisySeed with modern GPIO * Move patch_sm to modern GPIO * Rip up all old GPIO usage * Remove hal_map.c from build systems * Reintroduce dsy_gpio_pin + implicit conversion to daisy::Pin Also: Added a deprecation warning to the dsy_gpio_pin struct Left out some of the additional stuff surrounding that struct, e.g. comparison operators, implicit cast from Pin to dsy_gpio_pin These would throw the deprecation warning, so theyve been left out I also added an implicit cast from dsy_gpio_pin to daisy::Pin This required moving the dsy_gpio_pin and port inside the daisy namespace * Fix unit tests Remove test making sure new pin could cast to old Add two conditionals so the hal_map wont be included during some tests * Initialize DaisySeed::seedgpio using constexpr pins from header --------- Co-authored-by: beserge <[email protected]>
- Loading branch information
1 parent
15e1dd5
commit f7dd38f
Showing
65 changed files
with
667 additions
and
1,152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.