Commit Graph

  • a63847944f Reset the examples to the original F4 flavor. Bob McWhirter 2021-07-21 16:48:42 -0400
  • b07325b476 Enable DMA for SPIv1 on F4's etc. Bob McWhirter 2021-07-21 16:45:43 -0400
  • 8ab82191b7 Every dang time. Bob McWhirter 2021-07-21 14:12:50 -0400
  • a1dac21bdf Make SPIv3 work with DMA. Add both DMA and non-DMA example to H7. Bob McWhirter 2021-07-21 14:09:24 -0400
  • 34dfe28d3a FFS warnings about unused Result<>. Bob McWhirter 2021-07-21 11:33:04 -0400
  • 053e330375 Fix warnings about un-used variables. Bob McWhirter 2021-07-21 11:28:02 -0400
  • e269971597 Fix extraneous mut warnings in L4 example. Bob McWhirter 2021-07-21 11:20:03 -0400
  • 638235e72d Fix up the L0 example for SPI. Bob McWhirter 2021-07-21 11:05:50 -0400
  • 6dbe049468 Add back in the other versions of SPI. Bob McWhirter 2021-07-21 10:55:13 -0400
  • bee7f60f08 Improve the SPIv2 DMA example to verify it actually works. Bob McWhirter 2021-07-21 10:52:26 -0400
  • 0d2051243e SPIv2 + DMA. Bob McWhirter 2021-07-21 10:42:22 -0400
  • 1a03f00b56 Wire up peripheral DMA channels for SPI. Bob McWhirter 2021-07-20 15:44:13 -0400
  • 3df2aadc39 Avoid borrowck issue. Bob McWhirter 2021-07-20 15:33:42 -0400
  • dedc2bac42 IntelliJ'd. Bob McWhirter 2021-07-20 15:27:57 -0400
  • 4c5a234a3a Add a non-minc write() to DMA which takes a count. Use it from "read-only" SPI. Bob McWhirter 2021-07-20 15:20:16 -0400
  • 7bbad4c4e5 More unused allowances. Bob McWhirter 2021-07-20 14:07:11 -0400
  • 4bcc3b06c6 Include all versions when handing to CI. Bob McWhirter 2021-07-20 14:01:33 -0400
  • a75110296d Annotate to avoid unused warnings for the moment. Bob McWhirter 2021-07-20 13:48:54 -0400
  • 3f379e06b0 Begin reworking SPI to add DMA for stm32. Bob McWhirter 2021-07-20 13:38:44 -0400
  • fe66f0f8f8 Checkpoint. Bob McWhirter 2021-07-20 09:19:23 -0400
  • a345dd9e2b More formatting! Bob McWhirter 2021-07-20 10:02:33 -0400
  • 58edefff6e Formatting. Bob McWhirter 2021-07-20 09:54:19 -0400
  • d5ed5c3ef3 Split up the nRF impls for SPI traits. Bob McWhirter 2021-07-20 09:52:03 -0400
  • 22901938ce Split up the SPI trait into several with shared Error associated type. Bob McWhirter 2021-07-20 09:43:25 -0400
  • 372884422a
    Merge pull request #313 from timokroeger/cleanup-gpio-clocks Bob McWhirter 2021-07-23 13:15:28 -0400
  • 57eecd4292 Use Dbgmcu::enable_all() in stm32f4 examples Timo Kröger 2021-07-23 17:49:53 +0200
  • 5ac91933ff stm32: No need to enable GPIO clocks manually Timo Kröger 2021-07-23 14:24:38 +0200
  • ec5d44333a
    Merge pull request #311 from bobmcwhirter/gpio_enable Bob McWhirter 2021-07-23 11:38:53 -0400
  • 650f867b1c Add a single-column variant to gpio_rcc! macro table which includes just the set of registers that need to be considered. Bob McWhirter 2021-07-23 11:16:17 -0400
  • 13873df30b Auto-enable all GPIOs during init(). Bob McWhirter 2021-07-22 14:38:45 -0400
  • e91c04a673
    Merge pull request #310 from bobmcwhirter/dbg Bob McWhirter 2021-07-23 11:21:02 -0400
  • d68f2617e6 Add a Dbgmcu struct capable of enabling all relevant DBGMCU.cr fields. Bob McWhirter 2021-07-22 14:18:48 -0400
  • 3655ceff27
    Merge pull request #308 from timokroeger/stmf4-example-cleanup Dario Nieuwenhuis 2021-07-21 23:21:28 +0200
  • 5e998d1a6c Cleanup stm32f4 examples Timo Kröger 2021-07-21 23:12:36 +0200
  • cec2654854
    Merge pull request #304 from bobmcwhirter/async_move_dma_transfer Thales 2021-07-20 13:07:28 -0300
  • 2d3137afc7 The async move portion of @thalesfragoso's i2c PR. Bob McWhirter 2021-07-20 11:38:16 -0400
  • 87beeed4ac More formatting! Bob McWhirter 2021-07-20 10:02:33 -0400
  • 57b63ee4d0 Formatting. Bob McWhirter 2021-07-20 09:54:19 -0400
  • 25f34aa2d0 Split up the nRF impls for SPI traits. Bob McWhirter 2021-07-20 09:52:03 -0400
  • ef486d29bd Split up the SPI trait into several with shared Error associated type. Bob McWhirter 2021-07-20 09:43:25 -0400
  • 25b870d811
    Merge pull request #302 from embassy-rs/rp-spi-fixes Dario Nieuwenhuis 2021-07-20 10:11:58 +0200
  • 451e342961 rp/examples: add spi_display example Dario Nieuwenhuis 2021-07-20 10:06:57 +0200
  • da33b3a4d2 rp/spi: disable+enable when setting frequency Dario Nieuwenhuis 2021-07-20 09:43:06 +0200
  • dbff5cc232 rp/spi: properly drain the rx buffer while writing Dario Nieuwenhuis 2021-07-20 09:42:52 +0200
  • b04dc7e783
    Merge pull request #226 from huntc/mpsc Dario Nieuwenhuis 2021-07-20 08:01:42 +0200
  • 1799938187 rp/examples: add spi example Dario Nieuwenhuis 2021-07-19 23:54:18 +0200
  • 40ea8298ee
    Merge pull request #300 from thalesfragoso/clear-dma Thales 2021-07-17 17:28:02 -0300
  • f4b8709bac
    Merge pull request #281 from thalesfragoso/i2c-256 Thales 2021-07-17 17:21:50 -0300
  • aae0431d31 stm32: Clear possible set flags after disabling DMA Thales Fragoso 2021-07-17 16:08:13 -0300
  • 59953b5b5e
    Merge pull request #295 from embassy-rs/all_dma Dario Nieuwenhuis 2021-07-17 08:32:31 +0200
  • d7176da37c stm32/examples: update DMA channel names Dario Nieuwenhuis 2021-07-17 08:04:33 +0200
  • 36be877ba3 stm32/dma: only set TRBUFF in DMAv1 (H7) Dario Nieuwenhuis 2021-07-17 08:01:20 +0200
  • 3655048e0f stm32/dma: add MuxChannel trait to distinguish DMAMUX1 and DMAMUX2 channels. Dario Nieuwenhuis 2021-07-17 07:49:49 +0200
  • af8cbab6e1 stm32/dma: add MuxChannel trait to distinguish DMAMUX1 and DMAMUX2 channels. Dario Nieuwenhuis 2021-07-17 07:49:49 +0200
  • 54b5012c56 stm32/dma: update codegen+macrotables for new stm32-data Dario Nieuwenhuis 2021-07-17 07:35:59 +0200
  • dff4b42a33 stm32/dma: Fix macrotable column count not matching in DMAMUX-less BDMAv1. Dario Nieuwenhuis 2021-07-15 21:40:08 +0200
  • 01cc733c61 Prep for new stm32-data with dmamux differentiation, but not yet using. Bob McWhirter 2021-07-16 15:44:22 -0400
  • 0119ea809d Get DMA on H7 working, add usart_dma example for H7. Bob McWhirter 2021-07-16 14:40:25 -0400
  • 1254e99be1 Be able to scrub out BDMA-centric IRQs. Further refine distinction between DMA and BDMA interrupts in the table. Bob McWhirter 2021-07-16 13:51:53 -0400
  • ae948415a7 stm32/dma: disable after finishing Dario Nieuwenhuis 2021-07-15 15:34:48 +0200
  • d0f2dc3abd Fix rustfmt Dario Nieuwenhuis 2021-07-15 06:33:34 +0200
  • 63a0e188ea stm32/dma: fix h7 impls Dario Nieuwenhuis 2021-07-15 06:31:54 +0200
  • 2ee20f5dcb Update vscode settings. Dario Nieuwenhuis 2021-07-15 05:43:06 +0200
  • 3d1391ef2d stm32/dma: impl all variants Dario Nieuwenhuis 2021-07-15 05:42:06 +0200
  • 1522d4ecc8 Be able to scrub out BDMA-centric IRQs. Bob McWhirter 2021-07-16 13:51:53 -0400
  • 69fb1b5418
    Merge pull request #297 from embassy-rs/h7-smps Dario Nieuwenhuis 2021-07-16 16:22:21 +0200
  • 1b42b30201 stm32/pwr: add initial H7 SMPS support Dario Nieuwenhuis 2021-07-16 01:15:31 +0200
  • 7ed43cd843
    Merge pull request #296 from thalesfragoso/f0-dmarst Dario Nieuwenhuis 2021-07-15 21:23:14 +0200
  • 697f93ad42 stm32: Add F0 example Thales Fragoso 2021-07-15 13:50:39 -0300
  • 2f08c7ced5 stm32: Allow for RccPeripheral without reset field Thales Fragoso 2021-07-15 13:25:51 -0300
  • e06628cdfb Update stm32-data Thales Fragoso 2021-07-14 12:11:11 -0300
  • aa8c7f990f i2c-v2: Implement write_vectored Thales Fragoso 2021-07-09 02:57:34 -0300
  • f2e78e9c34 i2c-v2: Correct number of chunks calculation Thales Fragoso 2021-07-08 19:53:47 -0300
  • 8c7f8a61e3 i2c-v2: Support transfers with more than 255 bytes Thales Fragoso 2021-07-07 21:35:56 -0300
  • 72d6f79ec7 Feature no longer required given 1.55 huntc 2021-07-15 12:31:36 +1000
  • 3778f55d80 Provides a cleaner construction of the channel with the common "new" naming huntc 2021-07-15 12:08:35 +1000
  • 6f78527aeb Partial borrow for receiver to enforce compile-time mpssc huntc 2021-07-14 22:10:14 +1000
  • 076198a3b9 Small tidy up huntc 2021-07-14 20:06:15 +1000
  • d711e8a82c Eliminates unsoundness by using an UnsafeCell for sharing the channel huntc 2021-07-14 16:34:32 +1000
  • babee7f32a Tighten sender/receiver bounds huntc 2021-07-14 13:39:23 +1000
  • d86892ca56 Removed the closing state as it was not required huntc 2021-07-14 13:31:23 +1000
  • a247fa4f2c Explicitly drop non consumed items huntc 2021-07-14 12:17:27 +1000
  • 7c723d2bfd Removed UB code around the send future huntc 2021-07-14 11:31:15 +1000
  • baab52d40c Avoid a race condition by reducing the locks to one huntc 2021-07-11 13:01:36 +1000
  • 5a5795ef2b NoopMutex does not require an UnsafeCell huntc 2021-07-11 12:05:50 +1000
  • 9b5f2e465b Tidying huntc 2021-07-11 11:49:51 +1000
  • 108cffcba0 Migrated to the waker registration functionality for Embassy specific optimisations huntc 2021-07-11 11:47:09 +1000
  • dcd0c38109 Return a new future each time recv is called huntc 2021-07-11 10:54:35 +1000
  • f159beec1c Use of a NoopMutex huntc 2021-07-09 12:13:07 +1000
  • 5f87c7808c Remove the cell and trait huntc 2021-07-09 12:04:22 +1000
  • 56b3e927fe ChannelState should be private huntc 2021-07-09 10:25:50 +1000
  • 3fdf61c819 Constraint the use of ChannelCell to just channels huntc 2021-07-08 11:09:02 +1000
  • ae62948d6c Replace UnsafeCell huntc 2021-07-07 18:08:36 +1000
  • 1b49acc2f7 Fixed some clippy warnings huntc 2021-07-07 00:12:58 +1000
  • a156f72bfb Improves the representation of side effects huntc 2021-07-06 23:51:47 +1000
  • 816b78c0d9 Reduces the types on sender and receiver huntc 2021-07-06 23:20:47 +1000
  • 1b9d5e5071 Multi Producer Single Consumer channel huntc 2021-06-06 18:36:16 +1000
  • 8a172ac123
    Merge pull request #294 from embassy-rs/usart-merge Dario Nieuwenhuis 2021-07-15 01:02:12 +0200
  • 4361cb15f1 stm32/usart: merge v2 and v3 (they're identical) Dario Nieuwenhuis 2021-07-15 00:48:41 +0200
  • d71be45a91
    Merge pull request #293 from embassy-rs/pac-reexport Dario Nieuwenhuis 2021-07-15 00:42:59 +0200