Commit Graph

  • a0fe9e4645 Add unstable feature to give access to the pac Thales Fragoso 2021-05-22 15:22:00 -03:00
  • 62ad8ebab0
    Merge pull request #198 from lulf/saadc-multiple-pins Dario Nieuwenhuis 2021-05-22 15:50:41 +02:00
  • 55c3ba2a5f nrf/saadc: do not use dyn Dario Nieuwenhuis 2021-05-22 15:42:14 +02:00
  • 13524080d3 Avoid using full GAT Ulf Lilleengen 2021-05-22 13:23:09 +02:00
  • 2605dabca3 H7 RCC: Fix off by one error Thales Fragoso 2021-05-20 23:21:22 -03:00
  • f5860c3c4c Fix import on SDMMC Thales Fragoso 2021-05-20 22:17:53 -03:00
  • 1689ab2f8b H7 RCC: Setup DBGMCU to enable debugging during wfi/wfe Thales Fragoso 2021-05-20 22:16:01 -03:00
  • f9724fa576 Update generated code Thales Fragoso 2021-05-20 22:12:02 -03:00
  • 7f65f491e5 Finish initial H7 RCC support Thales Fragoso 2021-05-20 22:08:07 -03:00
  • 82ca5b495e Update generated code Thales Fragoso 2021-05-20 00:08:34 -03:00
  • 2ea12d96ee More work on H7 RCC Thales Fragoso 2021-05-18 21:52:34 -03:00
  • 054f0d51dc H7: Add initial PLL configuration Thales Fragoso 2021-05-17 21:35:29 -03:00
  • 7e388fcf58 Add pac RCC for H7 (generated) Thales Fragoso 2021-05-15 22:36:01 -03:00
  • 3d520f8abe
    Merge pull request #199 from embassy-rs/noimport Dario Nieuwenhuis 2021-05-21 19:39:35 +02:00
  • 447e4e6023 Regen Dario Nieuwenhuis 2021-05-21 19:35:15 +02:00
  • 35f1f65670 Generate mod regs just once, so rustfmt is way faster. Dario Nieuwenhuis 2021-05-21 19:34:41 +02:00
  • f96db3d9d2 Remove ad-hoc imports from generated code. Dario Nieuwenhuis 2021-05-21 19:29:37 +02:00
  • da16c60487
    Merge pull request #191 from lulf/stm32l0 Dario Nieuwenhuis 2021-05-21 19:15:42 +02:00
  • 38f59c4dea Add stm32l0 to CI Dario Nieuwenhuis 2021-05-21 18:52:53 +02:00
  • 68b303a4e4 Add missing build.rs to examples Dario Nieuwenhuis 2021-05-21 18:51:15 +02:00
  • 0d08e65235 Regen Dario Nieuwenhuis 2021-05-21 19:05:21 +02:00
  • 03bfbe51f5 Create DMA fn to select peripheral based on channel number Ulf Lilleengen 2021-05-20 11:15:27 +02:00
  • 32fbb32a84 Move exti setup into pac module Ulf Lilleengen 2021-05-20 10:44:58 +02:00
  • a95c78b8bd Merge exti macros into one and use simpler recursion Ulf Lilleengen 2021-05-20 09:35:56 +02:00
  • 56a902c19f Update submodule commit Ulf Lilleengen 2021-05-19 13:21:34 +02:00
  • b5373a1a64 Allow generating pac for STM32L0 Ulf Lilleengen 2021-05-19 10:43:04 +02:00
  • 9fa5a2920f Move regs trait implementation into generated pac Ulf Lilleengen 2021-05-19 10:42:10 +02:00
  • 0cd3236fa3 Generate exti interrupt handlers Ulf Lilleengen 2021-05-19 10:40:57 +02:00
  • 8172db6d8e Match on RNG interrupt names to support other RNG peripherals Ulf Lilleengen 2021-05-19 10:37:52 +02:00
  • 2e6c550355
    Merge pull request #197 from rukai/fix_stm32_warnings Dario Nieuwenhuis 2021-05-21 17:25:59 +02:00
  • 0bc440233c
    Merge pull request #184 from bobmcwhirter/spi_v3 Dario Nieuwenhuis 2021-05-21 17:21:36 +02:00
  • f6cac6944c Makes it possible to use the ADC with different analog pins Ulf Lilleengen 2021-05-21 13:06:28 +02:00
  • b3eda9914b Use the correct register names. Bob McWhirter 2021-05-20 14:24:40 -04:00
  • 222faccbab Formatting. Bob McWhirter 2021-05-20 14:19:43 -04:00
  • 8b36269d65 Use modify instead of write for regs within a driver. Bob McWhirter 2021-05-20 14:14:31 -04:00
  • d890ef98c1 Make SPIv3 work and improve v1 and v2. Bob McWhirter 2021-05-20 14:13:45 -04:00
  • 82f9242df2 Fix warnings for embassy-stm32 and embassy-stm32-examples Lucas Kent 2021-05-20 18:54:10 +10:00
  • b5cdd296dd
    Merge pull request #195 from embassy-rs/unborrow-mk2 Dario Nieuwenhuis 2021-05-20 04:14:38 +02:00
  • 63cceb2a53
    Merge pull request #196 from rukai/fix_rp_warnings Dario Nieuwenhuis 2021-05-20 00:35:49 +02:00
  • 2363a019e2 Fix all warnings on embassy-rp and embassy-rp-examples and embassy-std-examples Rukai 2021-05-18 22:11:20 +10:00
  • 1c0ad53841 Unborrow docs Dario Nieuwenhuis 2021-05-19 23:38:29 +02:00
  • 105c8504b6 Mark Unborrow as unsafe to implement Dario Nieuwenhuis 2021-05-19 23:21:31 +02:00
  • dc67d2f4a4 impl Unborrow for &'a mut T Dario Nieuwenhuis 2021-05-19 22:31:09 +02:00
  • 22e6a35598
    Merge pull request #194 from embassy-rs/saadc-unpin Dario Nieuwenhuis 2021-05-19 20:29:46 +02:00
  • e3ab02c7e3 nrf/saadc: remove Pin Dario Nieuwenhuis 2021-05-19 20:22:15 +02:00
  • 211fdb6e84
    Merge pull request #192 from embassy-rs/executor-agnostic Dario Nieuwenhuis 2021-05-19 13:02:29 +02:00
  • a8902b0592 Fix build with executor-agnostic Dario Nieuwenhuis 2021-05-19 13:00:01 +02:00
  • 16f8db4fcd Build with executor-agnostic in CI Dario Nieuwenhuis 2021-05-19 12:57:22 +02:00
  • 773c3570e7 Update deps Dario Nieuwenhuis 2021-05-18 17:07:05 +02:00
  • 58723a8e76
    Merge pull request #185 from embassy-rs/nrf-improvement Dario Nieuwenhuis 2021-05-17 22:48:36 +02:00
  • 32fc17f0fd nrf/gpiote: Allow choosing IRQ priority. Dario Nieuwenhuis 2021-05-17 21:27:27 +02:00
  • 0d1a0934c4 Cargo fmt. Bob McWhirter 2021-05-17 13:58:49 -04:00
  • 1872824d56 Add SPI v3, fix up v2's af_num and remove extraneous Error enums. Bob McWhirter 2021-05-17 13:56:13 -04:00
  • a4fd1282e9 Generate _spi_v3 items. Bob McWhirter 2021-05-17 11:34:36 -04:00
  • ccfcacaaa7
    Merge pull request #183 from rukai/fix_warnings Dario Nieuwenhuis 2021-05-17 14:07:12 +02:00
  • 3e83acc1cb Fix unused field warnings Rukai 2021-05-17 20:23:04 +10:00
  • 149ddf2f29 Fix warnings Rukai 2021-05-17 19:48:58 +10:00
  • 9206d4b33d Add more chips to CI Dario Nieuwenhuis 2021-05-17 03:28:24 +02:00
  • 410b24d54b Add more chips to CI Dario Nieuwenhuis 2021-05-17 03:25:30 +02:00
  • 86132b5fc9
    Merge pull request #182 from embassy-rs/stm32-ci Dario Nieuwenhuis 2021-05-17 03:20:04 +02:00
  • f7858631d8 stm32: fix build, add ci Dario Nieuwenhuis 2021-05-17 03:01:30 +02:00
  • cd0d3c4b0d Merge branch 'stm32-neo' Dario Nieuwenhuis 2021-05-17 02:16:17 +02:00
  • dd69320b9e
    Merge pull request #180 from embassy-rs/usart-v1 Dario Nieuwenhuis 2021-05-17 02:05:37 +02:00
  • 2303364322 Standardize module structure, fix some build failures Dario Nieuwenhuis 2021-05-17 02:04:51 +02:00
  • bdc3ada4b2 WIP: dma Dario Nieuwenhuis 2021-05-16 02:57:46 +02:00
  • befc052cba stm32/usart_v1: add read Dario Nieuwenhuis 2021-05-15 04:25:44 +02:00
  • 852ca5a1c5 stm32/usart_v1: implement tx Dario Nieuwenhuis 2021-05-15 03:52:58 +02:00
  • 35d05a4214
    Merge pull request #174 from embassy-rs/nrf-neo Dario Nieuwenhuis 2021-05-17 01:04:13 +02:00
  • a5ad79927e nrf: add Unborrow<Target = Self> bound to all instance traits Dario Nieuwenhuis 2021-05-15 00:05:32 +02:00
  • 8394603ea6 nrf/pwm: add enable/disable Dario Nieuwenhuis 2021-05-15 00:02:50 +02:00
  • 88f664b434 nrf/pwm: set initial value to Low, according to the PS Dario Nieuwenhuis 2021-05-15 00:02:35 +02:00
  • f9bcf6df6b nrf: add PWM Dario Nieuwenhuis 2021-05-12 04:56:11 +02:00
  • 0310e4d458 Add init fn. Initializes hw and returns Peripherals. Dario Nieuwenhuis 2021-05-12 01:57:01 +02:00
  • bfc7f52e6d Remove stm32. Dario Nieuwenhuis 2021-05-17 00:57:32 +02:00
  • 97b01f1c47 nrf/gpiote: initialize automatically Dario Nieuwenhuis 2021-05-12 01:01:08 +02:00
  • 92be72e0e3 Add #[interrupt] macro to register static interrupts. Dario Nieuwenhuis 2021-05-12 01:00:43 +02:00
  • eb4571dc4c nrf: add blocking TWIM Dario Nieuwenhuis 2021-05-11 03:07:37 +02:00
  • bd9589d0ce nrf: add support for nrf52805, nrf52811, nrf52820 Dario Nieuwenhuis 2021-05-11 03:04:59 +02:00
  • 7fe674df6a
    Merge pull request #178 from thalesfragoso/neo-sdmmc Dario Nieuwenhuis 2021-05-17 00:55:16 +02:00
  • 0f5ba6d4a9 SDMMC: Implement Default for Config and add docs Thales Fragoso 2021-05-15 21:21:06 -03:00
  • 86063ac2a2 Update generated code Thales Fragoso 2021-05-14 23:53:12 -03:00
  • 1e5f25aa41 Move parameters to a config struct Thales Fragoso 2021-05-14 23:34:16 -03:00
  • a5d473be0e Fix RNG interrupt name Thales Fragoso 2021-05-13 23:25:12 -03:00
  • 2cb66d6032 Update generated code Thales Fragoso 2021-05-13 23:06:07 -03:00
  • ad720f83df Expose data transfer timeout and implement configuration for BusWidth one Thales Fragoso 2021-05-13 22:23:05 -03:00
  • 359aaa5aeb Implement embedded-sdmmc traits Thales Fragoso 2021-05-12 21:59:48 -03:00
  • a130499c9a Get rid of some warnings Thales Fragoso 2021-05-11 01:34:10 -03:00
  • c183c352c7 SDMMC: Implement read and write Thales Fragoso 2021-05-11 01:28:45 -03:00
  • 490152d028 Better interrupt handling Thales Fragoso 2021-05-09 17:36:13 -03:00
  • 72fb3a7520 Init working :) Thales Fragoso 2021-05-09 02:19:00 -03:00
  • 0b607ca80a Initial H7 sdmmc support Thales Fragoso 2021-05-01 21:19:14 -03:00
  • 180ca48d34 Remove AF_NUM const from pin traits, only use af_num fn Dario Nieuwenhuis 2021-05-15 03:07:37 +02:00
  • e63c4bde0b stm32: remove psel_bits Dario Nieuwenhuis 2021-05-15 02:45:58 +02:00
  • 8bb1bc3507 Move pin configuration to gpio mod Dario Nieuwenhuis 2021-05-15 02:39:08 +02:00
  • ee869efcb5
    Merge pull request #171 from bobmcwhirter/spi_checkpoint Dario Nieuwenhuis 2021-05-15 00:48:32 +02:00
  • 28533cfc77 Simplify SPI example Dario Nieuwenhuis 2021-05-15 00:47:22 +02:00
  • 2569d38ab4 Adjust pin-names to FooPin. Move common bits up to spi/mod.rs. Isolate the RNG interrupt in a sub-module to avoid conflict with the const. Bob McWhirter 2021-05-14 10:11:43 -04:00
  • cd4111736c
    Merge pull request #177 from lulf/bump-critical-section-version Dario Nieuwenhuis 2021-05-14 00:01:07 +02:00
  • 9e93a0999f Add SPIv1, use cfg_attr to pick correct impl. Add IRQ to impl_rng!() to accomodate RNG vs HASH_RNG split. Bob McWhirter 2021-05-13 14:28:53 -04:00
  • 3b86e85770 Bump version of critical-section to 0.2.1 Ulf Lilleengen 2021-05-13 18:17:50 +02:00