Commit Graph

  • 3d96b10b0c Elide lifetimes on Peripheral::state Liam Murphy 2021-07-05 17:47:55 +10:00
  • 744e2cbb8a extras: Fix UB in Peripheral Liam Murphy 2021-07-05 17:42:43 +10:00
  • ed83b93b6d
    Merge pull request #276 from embassy-rs/deny-warnings Dario Nieuwenhuis 2021-07-05 03:24:36 +02:00
  • ecc151d4e2 stm32/adc: simplify delay handling Dario Nieuwenhuis 2021-07-05 03:09:42 +02:00
  • 7ebd4e3aa9 nrf/gpio: fix unused warning on chips without ports Dario Nieuwenhuis 2021-07-05 02:43:34 +02:00
  • e4145bf08b Deny warnings in CI Dario Nieuwenhuis 2021-07-05 02:33:29 +02:00
  • fd38e78957 Remove old unused ci.sh Dario Nieuwenhuis 2021-07-05 02:06:11 +02:00
  • 3ce32d6624
    Merge pull request #273 from rukai/fix_warnings_again Dario Nieuwenhuis 2021-07-05 02:00:51 +02:00
  • 25d4b2ea26 fix stm32 warnings Rukai 2021-07-03 22:05:12 +10:00
  • c4561324e6
    Merge pull request #274 from rukai/fix_warnings_again_rp_std Dario Nieuwenhuis 2021-07-05 01:51:47 +02:00
  • d80e0b9e01
    Merge pull request #275 from thalesfragoso/main-tim3 Dario Nieuwenhuis 2021-07-05 01:42:43 +02:00
  • f5e6b37b52 STM: Change embassy main to use TIM3 instead of TIM2 Thales Fragoso 2021-07-04 15:51:10 -03:00
  • 56d0c5ffe1 Fix warnings in std and rp Rukai 2021-07-04 12:42:39 +10:00
  • 8615ffb523
    Merge pull request #272 from thalesfragoso/f0-apb2 Thales 2021-07-03 02:20:17 -03:00
  • c2f595b26a F0: Fix missing apb2 clock Thales Fragoso 2021-07-03 02:12:22 -03:00
  • 489ef56dea
    Merge pull request #270 from bobmcwhirter/fix_bungled_i2c Dario Nieuwenhuis 2021-07-02 20:00:19 +02:00
  • f5ce807e25 Let's adjust i2c the correct way, removing the correct APBesque frequency, not the i2c periph speed. Bob McWhirter 2021-07-02 13:54:07 -04:00
  • d8687b1692
    Merge pull request #268 from bobmcwhirter/i2c_rcc Bob McWhirter 2021-07-01 14:01:39 -04:00
  • 9f5d35d891 Remove the frequency argument for i2c, move to using RccPeripheral. Bob McWhirter 2021-07-01 13:53:57 -04:00
  • e7a4a72977
    Merge pull request #264 from bobmcwhirter/usartv3 Bob McWhirter 2021-07-01 13:28:33 -04:00
  • 8f94123ca4 argh, intellij. Bob McWhirter 2021-07-01 11:37:01 -04:00
  • 83cd120ff8 Update -data. Bob McWhirter 2021-07-01 11:29:52 -04:00
  • 0920c0cb1d Make UART pins Rx/Tx/etc in addition to USART. Bob McWhirter 2021-07-01 11:26:56 -04:00
  • 54ada5bae1 Stub in the DMA bits that aren't yet there. Bob McWhirter 2021-06-30 14:58:28 -04:00
  • bf3bc92525 Re-enable because intellij. Bob McWhirter 2021-06-30 14:47:20 -04:00
  • f83559c6ab Add L4+ example for USART. Bob McWhirter 2021-06-30 14:46:53 -04:00
  • 497d3aa153 Add USARTv3 support. Bob McWhirter 2021-06-30 14:37:35 -04:00
  • e55c89f890
    Merge pull request #262 from Liamolucko/nrf-rng Dario Nieuwenhuis 2021-07-01 01:55:55 +02:00
  • 334c3a44a4
    Merge pull request #265 from thalesfragoso/some-fences Thales 2021-06-30 19:08:17 -03:00
  • e07dda8707 stm32: Adjust some fences around DMA Thales Fragoso 2021-06-30 18:21:24 -03:00
  • d77d411935
    Merge pull request #266 from embassy-rs/rp-clocks Dario Nieuwenhuis 2021-06-30 23:53:35 +02:00
  • 5fae5d20c0 rp/clocks: don't disrupt PLLs if already running. Dario Nieuwenhuis 2021-06-30 23:45:07 +02:00
  • 53c236fde8 rp/spi: add configurable pha/pol Dario Nieuwenhuis 2021-06-30 23:43:40 +02:00
  • f073bdfe43 rp/spi: add Transfer Dario Nieuwenhuis 2021-06-30 23:43:22 +02:00
  • 3059923b4f
    Merge pull request #258 from embassy-rs/rp-clocks Dario Nieuwenhuis 2021-06-30 22:47:22 +02:00
  • 749f4838d5 rp/gpio: add optional pins Dario Nieuwenhuis 2021-06-25 18:17:59 +02:00
  • da014afb89
    Merge pull request #253 from bobmcwhirter/dma_tables Bob McWhirter 2021-06-30 10:50:37 -04:00
  • f3b9c97763 Change atomics and add a fence. Bob McWhirter 2021-06-30 10:17:25 -04:00
  • cf5b7dc943 Because IntelliJ makes life hard. Bob McWhirter 2021-06-30 10:03:18 -04:00
  • 6a0b0f3162 Enable RCC within the USART itself. Bob McWhirter 2021-06-30 09:57:27 -04:00
  • e1736114d4 Remove paste. Bob McWhirter 2021-06-30 09:44:28 -04:00
  • 99339e940e fix: check if new_ptr == end, not the old pointer Liam Murphy 2021-06-30 16:04:34 +10:00
  • 53b95588df Use atomics to share state instead of a RefCell Liam Murphy 2021-06-30 15:55:52 +10:00
  • a64dec517c Update RNG example Liam Murphy 2021-06-30 12:55:30 +10:00
  • 89fdad3a6b Don't wake the future for every byte in fill_bytes Liam Murphy 2021-06-30 12:34:57 +10:00
  • ae0219de6f Move initialisation inside of future Liam Murphy 2021-06-30 09:45:49 +10:00
  • d5fb558005 Fix non-DMA USART example. Bob McWhirter 2021-06-29 13:08:18 -04:00
  • 07a6686879 Protect DMA-related things with cfg. Bob McWhirter 2021-06-29 13:00:52 -04:00
  • 2a25de3d3e Make the metapac gen enr/rst missing regs non-fatal to the build. Should be solved in a separate effort. Bob McWhirter 2021-06-29 12:55:15 -04:00
  • 6b78d56ceb Formatting. Bob McWhirter 2021-06-29 12:48:58 -04:00
  • 24f18819c8 Adjust example for RCC and DMA. Bob McWhirter 2021-06-29 11:00:23 -04:00
  • c53ab325c1 Wire up DMA with USART v1. Bob McWhirter 2021-06-29 10:59:22 -04:00
  • b88fc2847a Checkpoint with lifetime issues. Bob McWhirter 2021-06-25 14:00:11 -04:00
  • 1732551db4 Generate dma-related macro tables. Bob McWhirter 2021-06-22 14:53:19 -04:00
  • 8a4ab29819 Add an nRF RNG driver Liam Murphy 2021-06-29 17:26:16 +10:00
  • d49adc98be
    Merge pull request #260 from Liamolucko/nrf-timer Dario Nieuwenhuis 2021-06-29 07:37:06 +02:00
  • c0ef40d6e9 Correctly unset bits Liam Murphy 2021-06-29 15:12:42 +10:00
  • e6d0dba5ca Write bits directly to intenset/clr + shorts Liam Murphy 2021-06-29 14:37:37 +10:00
  • 87ca902e44 Handle differences between PACs Liam Murphy 2021-06-29 13:04:05 +10:00
  • 0c0597f775 Don't include extended timer support on chips without it Liam Murphy 2021-06-29 12:07:10 +10:00
  • 94e13ef053 Fix Cc::event_compare Liam Murphy 2021-06-29 11:39:50 +10:00
  • e5a5031f20 Get rid of the TODO about variant names, stop the timer before setting BITMODE and set a default frequency. Liam Murphy 2021-06-29 11:29:32 +10:00
  • e7addf094b Fix Cc::wait never resolving and refactor some APIs Liam Murphy 2021-06-29 10:33:41 +10:00
  • f501907f9e
    Merge pull request #259 from thalesfragoso/block-timer Dario Nieuwenhuis 2021-06-28 23:58:51 +02:00
  • 51583afc1e Add docs for BlockingTimer and rename tick features Thales Fragoso 2021-06-28 18:30:04 -03:00
  • 54197d1663 Add BlockingTimer and features to choose tick rate Thales Fragoso 2021-06-28 18:01:40 -03:00
  • cdb0c72849
    Merge pull request #255 from thalesfragoso/od-pin Dario Nieuwenhuis 2021-06-27 19:29:18 +02:00
  • c5022b1196 stm32: Make sure Output gpio driver is pushpull Thales Fragoso 2021-06-27 13:25:35 -03:00
  • 02781ed744 Add an nRF Timer driver Liam Murphy 2021-06-26 17:58:36 +10:00
  • 0eaadfc125 stm32: Update gpio examples Thales Fragoso 2021-06-25 17:32:24 -03:00
  • a3f0aa02a4 Separate OpenDrain pin to a new type Thales Fragoso 2021-06-25 17:22:51 -03:00
  • e6d6e82e54
    Merge pull request #257 from embassy-rs/rp-clocks Dario Nieuwenhuis 2021-06-25 06:43:22 +02:00
  • 88bc2972f6 rp/spi: add write-only spi driver Dario Nieuwenhuis 2021-06-25 06:23:46 +02:00
  • 9cf1d5b29c rp/clocks: fix wrong PLL setup Dario Nieuwenhuis 2021-06-25 06:23:20 +02:00
  • c7c897bb72 rp/gpio: add infallible inherent methods Dario Nieuwenhuis 2021-06-25 06:20:45 +02:00
  • a35c8561c7
    Merge pull request #256 from embassy-rs/rp-clocks Dario Nieuwenhuis 2021-06-25 03:51:39 +02:00
  • 5a6384d199 rp: clock setup Dario Nieuwenhuis 2021-06-25 03:38:03 +02:00
  • efb3b3a0a8 stm32: Allow for open drain configuration for output pin Thales Fragoso 2021-06-23 19:22:53 -03:00
  • e1880a19df
    Merge pull request #254 from thalesfragoso/f0-rcc Thales 2021-06-24 20:39:51 -03:00
  • 013792b944 Separate exti into v1 and v2 Thales Fragoso 2021-06-24 20:00:51 -03:00
  • 1c33a3b94c #[cfg] exti Thales Fragoso 2021-06-24 19:36:42 -03:00
  • 210104e6dc Remove unused gpio_af from codegen Thales Fragoso 2021-06-24 19:23:51 -03:00
  • 409884be2a Add F0 RCC Thales Fragoso 2021-06-22 20:07:48 -03:00
  • 797534d1a6 Update features to include F0 Thales Fragoso 2021-06-22 14:41:42 -03:00
  • 9e5406f761
    Merge pull request #252 from thalesfragoso/net-resources Dario Nieuwenhuis 2021-06-21 01:49:32 +02:00
  • 5a4e3ceb88 Update stm32-data (adds DBGMCU to all chips) Dario Nieuwenhuis 2021-06-21 01:28:25 +02:00
  • aca0fb1065 net: Make the user pass in the StackResources in init Thales Fragoso 2021-06-20 16:46:26 -03:00
  • 06d69a8028
    Merge pull request #251 from embassy-rs/net-fix Dario Nieuwenhuis 2021-06-18 02:06:41 +02:00
  • d94feb9fcd net/tcp: Fix panic when consuming 0 bytes at EOF Dario Nieuwenhuis 2021-06-18 01:58:14 +02:00
  • 0d1ae0a01e
    Merge pull request #247 from thalesfragoso/eth-v2 Dario Nieuwenhuis 2021-06-16 16:55:39 +02:00
  • 098ce6e740 stm32h7: Add ethernet example Thales Fragoso 2021-06-15 18:52:43 -03:00
  • 77546825a1 stm32: Make vcell dependency optional Thales Fragoso 2021-06-15 18:12:44 -03:00
  • 598201bff3 eth-v2: Make embassy-net optional Thales Fragoso 2021-06-14 18:30:11 -03:00
  • 3396a51938 net: Add features for pool size and remove unwrap on smoltcp device Thales Fragoso 2021-06-14 18:06:12 -03:00
  • 6cecc6d4b5 eth-v2: Get hclk frequency from clock singleton Thales Fragoso 2021-06-14 17:20:04 -03:00
  • f7e1f262af eth-v2: Enable source address filtering Thales Fragoso 2021-06-14 16:36:48 -03:00
  • ffc19a54d6 eth-v2: Fix bug in Rx descriptors and add docs art Thales Fragoso 2021-06-13 08:02:38 -03:00
  • 6daa55a897 eth-v2: Fix setting the registers for the descriptors Thales Fragoso 2021-06-11 11:51:51 -03:00
  • 0b42e12604 eth-v2: Fix off by one bug Thales Fragoso 2021-06-11 02:57:28 -03:00
  • 54ad2a41f1 eth-v2: Work around missing AF for REF_CLK Thales Fragoso 2021-06-11 01:43:28 -03:00