Commit Graph

  • bc57d6839f
    Merge pull request #359 from lulf/stm32wl55 Dario Nieuwenhuis 2021-08-17 17:58:36 +02:00
  • 4df63f5379 Add per-core EXTI support Ulf Lilleengen 2021-08-17 14:25:18 +02:00
  • 61409e2fb6 Add example for STM32WL55 Ulf Lilleengen 2021-08-17 13:14:21 +02:00
  • 4b74e8fc50
    Merge pull request #357 from bobmcwhirter/h7_exti Dario Nieuwenhuis 2021-08-16 21:30:28 +02:00
  • a93ed2bed6 Add H7 exti button example using correct EXTI reg block offsets. Bob McWhirter 2021-08-16 15:03:29 -04:00
  • cbff0398bb
    Add IRQ-driven buffered USART implementation for STM32 v2 usart (#356) Ulf Lilleengen 2021-08-16 17:16:49 +02:00
  • c310f18aaf
    Merge pull request #355 from thalesfragoso/dma-fences Dario Nieuwenhuis 2021-08-11 13:28:57 +02:00
  • c7ae2d2a3a stm32: Add fences to DMA code Thales Fragoso 2021-08-10 20:40:02 -03:00
  • 0be5e323bb
    Merge pull request #354 from embassy-rs/nrf-wdt Dario Nieuwenhuis 2021-08-07 14:56:24 +02:00
  • 2540a960e5 nrf: add WDT driver Dario Nieuwenhuis 2021-08-07 14:26:28 +02:00
  • e1abba69b7
    Merge pull request #353 from embassy-rs/nrf-update-pacs Dario Nieuwenhuis 2021-08-07 13:56:29 +02:00
  • 452f7e0c2c nrf: update PACs to 0.10 Dario Nieuwenhuis 2021-08-07 12:41:12 +02:00
  • a361050224
    Merge pull request #336 from bgamari/unwrap-consistency Dario Nieuwenhuis 2021-08-05 22:45:00 +02:00
  • a3b56a3764 embassy-macros: Use defmt::unwrap! when spawning embassy::main Ben Gamari 2021-07-31 12:34:07 -04:00
  • 40e7176e13 embassy-stm32: Eliminate use of unwrap Ben Gamari 2021-07-31 16:34:50 -04:00
  • 41aaff95f8 stm32h7: Use unwrap! Ben Gamari 2021-07-31 12:32:14 -04:00
  • e44acd0d56 stm32f4: Use unwrap! where possible Ben Gamari 2021-07-31 12:26:12 -04:00
  • f4950c4449 examples: Consistently use unwrap! in favor of .unwrap() Ben Gamari 2021-07-31 11:51:40 -04:00
  • 36402b5487
    Merge pull request #348 from embassy-rs/remove-portal Dario Nieuwenhuis 2021-08-05 22:31:06 +02:00
  • 446ee9c2c5
    Merge pull request #347 from embassy-rs/tmm-fix-ub Dario Nieuwenhuis 2021-08-05 22:30:49 +02:00
  • b1240217bd Remove Portal. Fixes #32 Dario Nieuwenhuis 2021-08-05 22:24:03 +02:00
  • aaa0d1419c util: fix unsoundness when dropping ThreadModeMutex outside thread mode. Dario Nieuwenhuis 2021-08-05 22:20:16 +02:00
  • 8a65128cfe
    Merge pull request #338 from embassy-rs/time-driver Dario Nieuwenhuis 2021-08-05 19:25:12 +02:00
  • 05e50e1f4a time_driver: use regular fn ptr -> raw ptr casts Dario Nieuwenhuis 2021-08-05 19:19:47 +02:00
  • b1d631d639 stm32/time: add Cargo features to choose tim2/tim3 Dario Nieuwenhuis 2021-08-04 12:05:22 +02:00
  • 0ea6a2d890 time: replace dyn clock/alarm with a global Driver trait Dario Nieuwenhuis 2021-08-03 22:08:13 +02:00
  • a4c0ee6df7
    Merge pull request #345 from Liamolucko/forward-task-attributes Dario Nieuwenhuis 2021-08-05 19:13:08 +02:00
  • 53e66a383f Forward attributes to generated task function Liam Murphy 2021-08-05 15:35:50 +10:00
  • cfa1f61154
    Merge pull request #344 from bobmcwhirter/remove_builders Dario Nieuwenhuis 2021-08-04 21:32:39 +02:00
  • 9726f77ce1 Grep fails me. Bob McWhirter 2021-08-04 15:28:08 -04:00
  • cee111c865
    Merge pull request #306 from embassy-rs/update-nightly Dario Nieuwenhuis 2021-08-04 20:34:52 +02:00
  • 97e4b89f82 Fmt giving me headaches. Bob McWhirter 2021-08-04 14:32:22 -04:00
  • 08e7e5a3fa Um. Bob McWhirter 2021-08-04 14:22:47 -04:00
  • dc126b9ab6 Unused import. Bob McWhirter 2021-08-04 14:14:36 -04:00
  • 6fd8f6b79a Remove more extra vars. Bob McWhirter 2021-08-04 13:55:34 -04:00
  • 07d4b196f7 Update nightly, remove removed features. Dario Nieuwenhuis 2021-08-04 19:48:14 +02:00
  • f91bfef799 Formatting again. Bob McWhirter 2021-08-04 13:42:06 -04:00
  • 9bd34429f3 stm32: add missing + 'a bounds on trait GATs Dario Nieuwenhuis 2021-08-04 19:39:54 +02:00
  • f4971fbb79 Further work sharing config for example and removing duplicated code. Bob McWhirter 2021-08-04 13:39:02 -04:00
  • 250f1cd0a5 util: fix unused return warning Dario Nieuwenhuis 2021-08-04 19:38:05 +02:00
  • 4fe9114695 Remove unused import. Bob McWhirter 2021-08-04 11:40:47 -04:00
  • 0787c8f8f5 Formatting. Bob McWhirter 2021-08-04 11:35:18 -04:00
  • 03f15d3a60 Remove builders from Config(s) and examples. Bob McWhirter 2021-08-04 11:32:39 -04:00
  • 07a095be0d
    Merge pull request #343 from embassy-rs/rustfmt-everything Dario Nieuwenhuis 2021-08-04 15:35:44 +02:00
  • a1a5acb825 rustfmt everything Dario Nieuwenhuis 2021-08-04 15:25:21 +02:00
  • 87f27d5ed6 ci: rustfmt check all .rs files Dario Nieuwenhuis 2021-08-04 15:22:26 +02:00
  • f574e55395
    Merge pull request #331 from timokroeger/stm32-enable-bit Dario Nieuwenhuis 2021-08-04 15:15:08 +02:00
  • f240edc579 Remove broken panic message Timo Kröger 2021-08-04 12:51:05 +02:00
  • e21faaeb47 cargo fmt Timo Kröger 2021-08-04 12:43:51 +02:00
  • b36337b3d2 Refactor bit search logic when no clock specified Timo Kröger 2021-08-04 12:29:20 +02:00
  • de77dc11ca
    Merge pull request #301 from thalesfragoso/i2cv2-dma Dario Nieuwenhuis 2021-08-04 12:28:18 +02:00
  • 37536695e1 Refactor find_reg_for_field() Timo Kröger 2021-08-04 11:08:18 +02:00
  • 5d31dd328f
    Merge pull request #341 from lulf/usart-dma-read Dario Nieuwenhuis 2021-08-04 11:02:15 +02:00
  • 0d02342b2d Rename bread -> read_blocking Ulf Lilleengen 2021-08-04 08:34:30 +02:00
  • c52ef23280
    Merge pull request #342 from bobmcwhirter/h7-example-cleanup Bob McWhirter 2021-08-03 14:42:09 -04:00
  • 3e6aceaaa7 Run cargo-fmt on the h7 examples. Bob McWhirter 2021-08-03 14:31:41 -04:00
  • 88c11a653c Formatting fixes. Bob McWhirter 2021-08-03 14:12:11 -04:00
  • d7409d63e8 Enhance Rcc configuration to be more fluentish. Clean up H7 examples to remove all vegan HALs and PACs. Bob McWhirter 2021-08-03 13:57:18 -04:00
  • c985c031d4 Use a regex to match find enable and rst regs Timo Kröger 2021-07-30 17:17:38 +02:00
  • 4e47b15daf Ignore the clock number for enable bit search Timo Kröger 2021-07-30 14:30:32 +02:00
  • fba8b86005 BTreeMaps to preserve ordering of generated code Timo Kröger 2021-07-30 17:06:58 +02:00
  • 6ff0614cb6 Add uart::Read DMA-based implementation Ulf Lilleengen 2021-08-03 15:17:04 +02:00
  • ad62900a40
    Merge pull request #339 from embassy-rs/reomve-workaround Dario Nieuwenhuis 2021-08-02 20:53:44 +02:00
  • 6043383008 Remove version pinning workaround. Dario Nieuwenhuis 2021-08-02 20:47:30 +02:00
  • 9ca43752eb
    Merge pull request #327 from embassy-rs/remove-pin Dario Nieuwenhuis 2021-08-02 20:28:54 +02:00
  • 3f28bb6c77 common: Initialize PeripheralMutex state with closure to ensure it's done in-place. Dario Nieuwenhuis 2021-08-02 20:13:41 +02:00
  • e238079d7d Make const the states when able. Dario Nieuwenhuis 2021-08-02 19:50:07 +02:00
  • 63ac7ac799 Mark news as unsafe due to not being leak-safe. Dario Nieuwenhuis 2021-08-02 12:40:01 +02:00
  • af87031d62 hal-common: remove Pin in PeripheralMutex Dario Nieuwenhuis 2021-07-29 14:08:32 +02:00
  • de207764ae
    Merge pull request #332 from bobmcwhirter/memory_x_gen Dario Nieuwenhuis 2021-08-02 19:54:41 +02:00
  • 63b32b39e1 Use an em bikeshed instead of an underscore bikeshed. Bob McWhirter 2021-08-02 13:29:06 -04:00
  • 5f9447abb4 Put the implicit memory.x behind a memory_x feature on embassy-stm32. Bob McWhirter 2021-08-02 13:21:30 -04:00
  • 3a00a1dba7 Undo the pwr-guarding cfg. Bob McWhirter 2021-08-02 11:34:41 -04:00
  • 71040d1f2c Update to latest stm32-data. Bob McWhirter 2021-08-02 11:09:56 -04:00
  • 4da8ed471b Fallback to total RAM or FLASH size if otherwise not present. Bob McWhirter 2021-07-30 14:13:07 -04:00
  • f6c5f039c8 Emit a default memory.x alongside device.x from metapac. Bob McWhirter 2021-07-30 14:06:10 -04:00
  • c458ad52e6
    Merge pull request #337 from lulf/introduce-future-types Dario Nieuwenhuis 2021-08-02 13:20:29 +02:00
  • f2c2ad06ca Use lifetime to ensure only a single future is created at a time Ulf Lilleengen 2021-08-02 12:42:06 +02:00
  • 4d8d8e386f Make RecvFuture sync Ulf Lilleengen 2021-08-02 11:18:59 +02:00
  • 332bc44b8c Expose SendFuture and RecvFuture types Ulf Lilleengen 2021-08-02 10:45:50 +02:00
  • 64a3ebd183 i2c-v2: Use new interrupts macro Thales Fragoso 2021-07-29 19:13:57 -03:00
  • c1bb83d29d i2c-v2: Deref interrupt enabling in write_dma_internal Thales Fragoso 2021-07-26 20:13:23 -03:00
  • 6ddc83029a i2c-v2: Simplify write_dma Thales Fragoso 2021-07-18 12:21:36 -03:00
  • 362f7efe99 i2c-v2: Implement write_dma and write_dma_vectored Thales Fragoso 2021-07-18 01:07:34 -03:00
  • 0a1da180d0
    Merge pull request #335 from bgamari/no-build-core Dario Nieuwenhuis 2021-07-31 19:07:58 +02:00
  • 3420cbf744 examples: Drop build-std = ["core"] Ben Gamari 2021-07-31 10:40:29 -04:00
  • 3835278567
    Merge pull request #321 from thalesfragoso/f4-pll Dario Nieuwenhuis 2021-07-31 11:08:46 +02:00
  • 21e3acaa00 stm32: Use build.rs to generate a more coarse feature Thales Fragoso 2021-07-31 02:20:37 -03:00
  • e9885a61f8
    Merge pull request #329 from timokroeger/misc-stm32-fixes Dario Nieuwenhuis 2021-07-30 18:15:50 +02:00
  • 16d5294817 Get rid of some warnings Thales Fragoso 2021-07-29 18:48:43 -03:00
  • 0421c57bd6 F4: Add PWR configuration to PLL Thales Fragoso 2021-07-29 18:36:04 -03:00
  • 5cfb9adad8 f4-pll: Add max values per chip Thales Fragoso 2021-07-28 17:32:36 -03:00
  • e7714983b3 f4-rcc: Add option to enable debug_wfe and add hello example Thales Fragoso 2021-07-28 16:02:56 -03:00
  • 5abaf8e9d6 Start working on the F4 PLL Thales Fragoso 2021-07-27 23:09:48 -03:00
  • 895781d0d1 stm32l4: Fix examples crate name Timo Kröger 2021-07-29 18:14:01 +02:00
  • 9342497132 stm32wl55: Use Dbgmcu::enable_all Timo Kröger 2021-07-29 17:38:40 +02:00
  • cad43587e6 stm32l0: Use embassy::main for examples Timo Kröger 2021-07-29 16:01:08 +02:00
  • 1ed65cb9e0
    Merge pull request #328 from embassy-rs/remove_peripehral_shared Dario Nieuwenhuis 2021-07-29 17:22:25 +02:00
  • 4ccac69929 stm32l4: Cleanup examples Timo Kröger 2021-07-29 15:54:11 +02:00
  • 2a4890165d stm32f0: Enable debug access in low power modes Timo Kröger 2021-07-29 15:24:42 +02:00