Commit Graph

  • 3d1391ef2d stm32/dma: impl all variants Dario Nieuwenhuis 2021-07-15 05:42:06 +02:00
  • 69fb1b5418
    Merge pull request #297 from embassy-rs/h7-smps Dario Nieuwenhuis 2021-07-16 16:22:21 +02:00
  • 1b42b30201 stm32/pwr: add initial H7 SMPS support Dario Nieuwenhuis 2021-07-16 01:15:31 +02:00
  • 7ed43cd843
    Merge pull request #296 from thalesfragoso/f0-dmarst Dario Nieuwenhuis 2021-07-15 21:23:14 +02:00
  • 697f93ad42 stm32: Add F0 example Thales Fragoso 2021-07-15 13:50:39 -03:00
  • 2f08c7ced5 stm32: Allow for RccPeripheral without reset field Thales Fragoso 2021-07-15 13:25:51 -03:00
  • e06628cdfb Update stm32-data Thales Fragoso 2021-07-14 12:11:11 -03:00
  • aa8c7f990f i2c-v2: Implement write_vectored Thales Fragoso 2021-07-09 02:57:34 -03:00
  • f2e78e9c34 i2c-v2: Correct number of chunks calculation Thales Fragoso 2021-07-08 19:53:47 -03:00
  • 8c7f8a61e3 i2c-v2: Support transfers with more than 255 bytes Thales Fragoso 2021-07-07 21:35:56 -03:00
  • 72d6f79ec7 Feature no longer required given 1.55 huntc 2021-07-15 12:31:36 +10:00
  • 3778f55d80 Provides a cleaner construction of the channel with the common "new" naming huntc 2021-07-15 12:08:35 +10:00
  • 6f78527aeb Partial borrow for receiver to enforce compile-time mpssc huntc 2021-07-14 22:10:14 +10:00
  • 076198a3b9 Small tidy up huntc 2021-07-14 20:06:15 +10:00
  • d711e8a82c Eliminates unsoundness by using an UnsafeCell for sharing the channel huntc 2021-07-14 16:34:32 +10:00
  • babee7f32a Tighten sender/receiver bounds huntc 2021-07-14 13:39:23 +10:00
  • d86892ca56 Removed the closing state as it was not required huntc 2021-07-14 13:31:23 +10:00
  • a247fa4f2c Explicitly drop non consumed items huntc 2021-07-14 12:17:27 +10:00
  • 7c723d2bfd Removed UB code around the send future huntc 2021-07-14 11:31:15 +10:00
  • baab52d40c Avoid a race condition by reducing the locks to one huntc 2021-07-11 13:01:36 +10:00
  • 5a5795ef2b NoopMutex does not require an UnsafeCell huntc 2021-07-11 12:05:50 +10:00
  • 9b5f2e465b Tidying huntc 2021-07-11 11:49:51 +10:00
  • 108cffcba0 Migrated to the waker registration functionality for Embassy specific optimisations huntc 2021-07-11 11:47:09 +10:00
  • dcd0c38109 Return a new future each time recv is called huntc 2021-07-11 10:54:35 +10:00
  • f159beec1c Use of a NoopMutex huntc 2021-07-09 12:13:07 +10:00
  • 5f87c7808c Remove the cell and trait huntc 2021-07-09 12:04:22 +10:00
  • 56b3e927fe ChannelState should be private huntc 2021-07-09 10:25:50 +10:00
  • 3fdf61c819 Constraint the use of ChannelCell to just channels huntc 2021-07-08 11:09:02 +10:00
  • ae62948d6c Replace UnsafeCell huntc 2021-07-07 18:08:36 +10:00
  • 1b49acc2f7 Fixed some clippy warnings huntc 2021-07-07 00:12:58 +10:00
  • a156f72bfb Improves the representation of side effects huntc 2021-07-06 23:51:47 +10:00
  • 816b78c0d9 Reduces the types on sender and receiver huntc 2021-07-06 23:20:47 +10:00
  • 1b9d5e5071 Multi Producer Single Consumer channel huntc 2021-06-06 18:36:16 +10:00
  • 8a172ac123
    Merge pull request #294 from embassy-rs/usart-merge Dario Nieuwenhuis 2021-07-15 01:02:12 +02:00
  • 4361cb15f1 stm32/usart: merge v2 and v3 (they're identical) Dario Nieuwenhuis 2021-07-15 00:48:41 +02:00
  • d71be45a91
    Merge pull request #293 from embassy-rs/pac-reexport Dario Nieuwenhuis 2021-07-15 00:42:59 +02:00
  • 71c8d7aa7d stm32l4/examples: remove old-pac uses. Dario Nieuwenhuis 2021-07-15 00:30:31 +02:00
  • f916fe5476 all hals: reexport PAC if unstable-pac feature is set. Dario Nieuwenhuis 2021-07-14 22:19:04 +02:00
  • 6444066589 Add L4 examples to workspace example Dario Nieuwenhuis 2021-07-14 22:00:49 +02:00
  • 7dd7f391fc Fix OOTB workspace issues with embassy-net Dario Nieuwenhuis 2021-07-14 21:58:07 +02:00
  • 2d9e2908df
    Merge pull request #292 from embassy-rs/update-nightly Dario Nieuwenhuis 2021-07-14 21:32:33 +02:00
  • 5061625068 Update nightly Dario Nieuwenhuis 2021-07-14 21:17:29 +02:00
  • e4325cb8fe
    Merge pull request #290 from bobmcwhirter/async-usart Bob McWhirter 2021-07-14 15:07:36 -04:00
  • 21e94972dc Fix more warnings and examples. Bob McWhirter 2021-07-14 14:55:20 -04:00
  • 3fd9023fce Fix the h7 example. Bob McWhirter 2021-07-14 14:45:54 -04:00
  • 43cb8de434 Remove gratuitous NoDmaMarker. Bob McWhirter 2021-07-14 14:37:42 -04:00
  • 38b1359c40 Remove pub and cfg's, since they will be implied by the existance of TxDma<T> in theory. Bob McWhirter 2021-07-14 14:35:03 -04:00
  • a88f0028ef First shot at async dma usart for stm32. Bob McWhirter 2021-07-14 14:14:14 -04:00
  • 667b259d53
    Merge pull request #289 from bobmcwhirter/data-fix Thales 2021-07-14 12:32:17 -03:00
  • 95b42f9523 Update data. Bob McWhirter 2021-07-14 11:25:46 -04:00
  • b6eb5dcf2f
    Merge pull request #282 from bobmcwhirter/dmamux_thales Bob McWhirter 2021-07-13 13:33:38 -04:00
  • 6e0e83cfd9 More conversions to associated consts. Bob McWhirter 2021-07-13 10:56:35 -04:00
  • 604a25ec5d Reduce number of traits and impls. Bob McWhirter 2021-07-13 10:46:31 -04:00
  • 8fbea38a5b Simplify some of the bdma macros. Make more things associated consts. Bob McWhirter 2021-07-13 09:59:36 -04:00
  • 92247369e7 Remove some unused traits. Move some fns to associated consts. Bob McWhirter 2021-07-13 09:50:42 -04:00
  • c39ac201ff Update for stm32-data. Bob McWhirter 2021-07-12 15:57:53 -04:00
  • 2e10ab2e5c Let's count channels per DMA peripheral, shall we now? Bob McWhirter 2021-07-12 15:48:26 -04:00
  • b0b61d99e6 Macros do indeed require a ! to invoke. Bob McWhirter 2021-07-12 15:34:34 -04:00
  • 6534b63e01 Simplify some macros around dmamux peripheral channels. Bob McWhirter 2021-07-12 14:53:19 -04:00
  • 0befa10367 Trivial to force CI to do it's thing. Bob McWhirter 2021-07-12 14:23:00 -04:00
  • 06e899b14c Adjust to DMA1EN in the rcc for l0. Bob McWhirter 2021-07-12 14:11:18 -04:00
  • d31e30f382 Undo special-casing FOO1 -> FOO in RCC searching. Bob McWhirter 2021-07-12 14:02:37 -04:00
  • c28bc5a8da Adapt for DMAEN for DMA1 if DMA1EN is not found (for all peripherals FOO1) for EN/RST rcc table. Bob McWhirter 2021-07-12 13:48:12 -04:00
  • a9b2ed52ee Remove deadcode from dmamux. Smoosh bdma down to a single version. Bob McWhirter 2021-07-12 13:34:47 -04:00
  • 45964c658c Generalize RCC enabling for BDMA peris. Bob McWhirter 2021-07-12 11:41:46 -04:00
  • ff1cb9ac74 Remove warnings. Bob McWhirter 2021-07-12 10:55:23 -04:00
  • 509c7f6835 Update stm32-data. Bob McWhirter 2021-07-12 10:45:57 -04:00
  • 97ad434d38 Twizzle our DMA vs BDMA channels. Bob McWhirter 2021-07-12 10:32:57 -04:00
  • a24a7e9fec Allow some unused lints given that H7 is still in flight with its multitude of DMA. Bob McWhirter 2021-07-09 11:07:53 -04:00
  • 13975a0818 Try to improve H7 clockstuff. Bob McWhirter 2021-07-09 09:33:17 -04:00
  • 696a3b8552 Try to figure out h7cm's problem. Bob McWhirter 2021-07-09 09:12:11 -04:00
  • 6552af8f0b Fix warning for unused import. Bob McWhirter 2021-07-08 16:17:05 -04:00
  • 6e69992217 Add a no-op bdma for bdma v2 for CI. Bob McWhirter 2021-07-08 16:14:09 -04:00
  • 811ed18922 Add a missing 'use' for dma_v2. Bob McWhirter 2021-07-08 16:06:43 -04:00
  • 30a1d9bf93 Move to copying regs instead of &'static referencing. Remove unneeded stuff from the DMAMUX end of the stick. Bob McWhirter 2021-07-08 15:59:39 -04:00
  • f01ddd5f5c Mix dmamux into bdma_v1. Bob McWhirter 2021-07-08 14:55:27 -04:00
  • 6ec7253095 Checkpoint my DMA for thales. Bob McWhirter 2021-07-06 09:54:55 -04:00
  • acdf7f4f13 Another checkpoint. Bob McWhirter 2021-07-02 13:46:52 -04:00
  • 31325a2547 Another checkpoint. Bob McWhirter 2021-07-02 10:25:24 -04:00
  • 043f0ea508 Checkpoint DMAMUX channel setup. Bob McWhirter 2021-07-02 09:54:31 -04:00
  • 91521a86a0 F0: usart + DMA working Thales Fragoso 2021-07-04 18:34:37 -03:00
  • a56ddfdc04 STM: Add usart v2 Thales Fragoso 2021-07-04 15:40:33 -03:00
  • f32caaeaaf STM: Start working on bdma-v1 Thales Fragoso 2021-07-03 17:58:59 -03:00
  • 8f28d6b4b1
    Merge pull request #288 from embassy-rs/rafix Dario Nieuwenhuis 2021-07-13 05:55:09 +02:00
  • 5450ec3d4c Update vscode settings for latest rust-analyzer Dario Nieuwenhuis 2021-07-13 05:47:26 +02:00
  • 1d64421fb4 Fix "can't find crate for std" for stm32-metapac-gen deps. Dario Nieuwenhuis 2021-07-13 05:47:10 +02:00
  • 549ddf7fc8
    Merge pull request #285 from embassy-rs/rp-spi-clock Dario Nieuwenhuis 2021-07-13 03:42:35 +02:00
  • b8e23bc74e
    Merge pull request #286 from embassy-rs/time-feature Dario Nieuwenhuis 2021-07-13 03:41:17 +02:00
  • 1a4c13cf26 rp/spi: add set_frequency Dario Nieuwenhuis 2021-07-12 02:45:59 +02:00
  • 7547c8d8d6 rp/timer: add Dario Nieuwenhuis 2021-07-12 02:45:42 +02:00
  • c210a6efd1 embassy/time: remove useless impl Dario Nieuwenhuis 2021-07-12 02:46:16 +02:00
  • 16bb678368 Merge BlockingTimer and Delay Dario Nieuwenhuis 2021-07-12 03:31:56 +02:00
  • 35a76c364a embassy/time: make optional via Cargo feature Dario Nieuwenhuis 2021-07-12 03:29:09 +02:00
  • 94bd4eb7d5 embassy/time: refactor module structure Dario Nieuwenhuis 2021-07-12 03:10:01 +02:00
  • 40bc67bee0
    Merge pull request #284 from embassy-rs/rp-spi-clock Dario Nieuwenhuis 2021-07-12 00:14:39 +02:00
  • 17e31eb903 rp/spi: sane prescaler calculation Dario Nieuwenhuis 2021-07-11 23:47:33 +02:00
  • 61a3462f87
    Merge pull request #278 from huntc/ci-tests Dario Nieuwenhuis 2021-07-06 04:34:10 +02:00
  • e13aa4c2a0 Add tests to our CI huntc 2021-07-06 12:23:51 +10:00
  • ff9ff5e43a Update the import Liam Murphy 2021-07-05 18:31:54 +10:00
  • fc1ef4947d Fix stm32 ethernet Liam Murphy 2021-07-05 18:18:05 +10:00