Commit Graph

  • 13370c28db Add a control_buf to UsbDevice alexmoon 2022-03-29 15:09:24 -04:00
  • c53bb7394a Switch to ControlHandler owned bufs for control_in() alexmoon 2022-03-28 20:10:13 -04:00
  • a22639ad92 Remove UnsafeCell from cdc_acm::Control alexmoon 2022-03-28 10:49:17 -04:00
  • 46bafecb2a Only copy through RAM when needed alexmoon 2022-03-28 10:46:26 -04:00
  • d7b1f8ca57 usb: update docs on ControlHandler. Dario Nieuwenhuis 2022-03-28 03:37:29 +02:00
  • e99a3a1da4 usb: simplify buffer handling for Control IN transfers. Dario Nieuwenhuis 2022-03-28 03:34:24 +02:00
  • bfce731982 usb: nicer names for control structs. Dario Nieuwenhuis 2022-03-28 03:30:08 +02:00
  • 2b547f311e usb: move all control-related stuff to mod control. Dario Nieuwenhuis 2022-03-28 03:27:21 +02:00
  • 15cc97d794 usb: associate ControlHandlers with interfaces, automatically route requests. Dario Nieuwenhuis 2022-03-28 03:19:07 +02:00
  • 3412e5dc4a usb: cleanup giant matches in control code. Dario Nieuwenhuis 2022-03-28 03:16:45 +02:00
  • a2f5763a67 usb: add add_class to builder, so that FooBarClass::new(&mut builder) can set up everything. Dario Nieuwenhuis 2022-03-28 02:20:01 +02:00
  • a062baae38 nrf/usb: fix wrong DMA read size Dario Nieuwenhuis 2022-03-28 02:18:13 +02:00
  • 52c622b1cd Use trait objects instead of generics for UsbDevice::classes alexmoon 2022-03-27 17:12:57 -04:00
  • bdc6e0481c Add support for USB classes handling control requests. alexmoon 2022-03-25 16:46:14 -04:00
  • 5c0db627fe nrf/usb: update where clause syntax. Dario Nieuwenhuis 2022-03-11 01:07:06 +01:00
  • 9a6d11281d Add some comments on the example. Dario Nieuwenhuis 2022-03-10 01:10:53 +01:00
  • 0320500f0f Working CDC-ACM device->host Dario Nieuwenhuis 2022-03-10 01:05:33 +01:00
  • 77ceced036 Working CDC-ACM host->device Dario Nieuwenhuis 2022-03-09 23:06:27 +01:00
  • 37598a5b37 wip: experimental async usb stack Dario Nieuwenhuis 2022-03-09 01:34:35 +01:00
  • c1b3822964
    Merge #695 bors[bot] 2022-04-05 23:53:59 +00:00
  • 6731948056 Add async Mutex. Dario Nieuwenhuis 2022-04-06 01:23:42 +02:00
  • 27a1b0ea73 Simpler Channel. Dario Nieuwenhuis 2022-04-06 00:00:29 +02:00
  • f32fa1d33a Add select, select3, select4. Dario Nieuwenhuis 2022-04-05 21:51:43 +02:00
  • b5c479fdad Remove impl Unpin for SelectAll, as it's automatically inferred. Dario Nieuwenhuis 2022-04-05 21:22:02 +02:00
  • 59ec634246 Remove SelectAll::into_inner. Dario Nieuwenhuis 2022-04-05 21:20:44 +02:00
  • c8bd792b7a reorganize util mod. Dario Nieuwenhuis 2022-04-05 21:17:29 +02:00
  • aee19185b7 Add more docserver metadata. Dario Nieuwenhuis 2022-04-05 21:05:09 +02:00
  • f5cf465417
    Merge #693 bors[bot] 2022-04-05 17:20:16 +00:00
  • e42295c4c5 Remove Unpin bound from SelectAll alexmoon 2022-04-04 21:24:10 -04:00
  • 04a263c700 no_std version of futures::future::select_all alexmoon 2022-04-04 19:30:16 -04:00
  • b0de865e0b
    Merge #691 bors[bot] 2022-04-02 13:30:32 +00:00
  • 1f59f8e7d0 add pllsai1 and allow for 120Mhz clock on stm32l4+ Philip A Reimer 2022-04-01 22:22:41 -06:00
  • 0eea6fd6b5
    Merge #690 bors[bot] 2022-04-02 02:35:49 +00:00
  • 82803bffda Use embassy/defmt-timestamp-uptime in all examples. Dario Nieuwenhuis 2022-04-02 04:35:06 +02:00
  • a9e63167e1
    Merge #689 bors[bot] 2022-03-31 13:24:25 +00:00
  • b0a53610ba Avoid writing bootloader flash if not needed Ulf Lilleengen 2022-03-31 15:23:06 +02:00
  • f028b0064b
    Merge #685 bors[bot] 2022-03-29 22:13:30 +00:00
  • d052631118 Fix STM32 timer interrupt bug chemicstry 2022-03-30 00:27:33 +03:00
  • 1a31cda3c3
    Merge #682 bors[bot] 2022-03-28 15:50:13 +00:00
  • 58948051e5 Convert chip name to upper case to fix rebuilds Nikita Strygin 2022-03-28 18:44:17 +03:00
  • c6fb7807c0
    Merge #677 bors[bot] 2022-03-27 17:44:54 +00:00
  • a211003021
    Merge #678 bors[bot] 2022-03-27 17:18:30 +00:00
  • 55a9bf98c5
    Add STM32F217ZG to CI Joonas Javanainen 2022-03-27 19:56:44 +03:00
  • 5d97c8c8b2
    Add F2 examples to CI Joonas Javanainen 2022-03-27 19:55:43 +03:00
  • 83211c2b61
    Add workaround for F2 errata Joonas Javanainen 2022-03-27 18:45:10 +03:00
  • a16fef21e1
    Add blinky example for STM32F2 Joonas Javanainen 2022-03-27 18:42:22 +03:00
  • a608d0deaf
    Add minimal STM32F2 RCC Joonas Javanainen 2022-03-27 18:40:49 +03:00
  • 490d4588ea nrf: nrf52832 doesn't have SPI3 Dario Nieuwenhuis 2022-03-22 19:33:35 +01:00
  • 5c68f0bae7
    Merge #676 bors[bot] 2022-03-22 13:44:33 +00:00
  • 73012ed40e Fix potential unaligned write Ulf Lilleengen 2022-03-22 12:52:47 +01:00
  • 08e6a996bc
    Regenerate embassy-stm32 features Joonas Javanainen 2022-03-21 00:19:36 +02:00
  • 5fd1421af2
    Mark F2 as a supported family Joonas Javanainen 2022-03-21 00:19:20 +02:00
  • 5df4ae7baf
    Fix suffix of generated chip metadata files Joonas Javanainen 2022-03-21 00:15:09 +02:00
  • 48f7d37e75
    Merge #675 bors[bot] 2022-03-20 20:33:47 +00:00
  • 9941e0d012 Update stm32-data Dario Nieuwenhuis 2022-03-20 21:25:02 +01:00
  • 37ada65a33
    Merge #669 bors[bot] 2022-03-20 20:19:58 +00:00
  • f0a071790d
    Merge #673 bors[bot] 2022-03-19 20:34:07 +00:00
  • 4aba87f983 Inline GPIO functions Nicolas Viennot 2022-03-19 14:06:11 -04:00
  • f683b5d454
    Merge #672 bors[bot] 2022-03-17 23:47:45 +00:00
  • bdeb537ffa Fix compile for stm32wb chemicstry 2022-03-18 01:33:39 +02:00
  • b30a42aff8 Fix RCC safety and add reset to DAC chemicstry 2022-03-18 01:11:57 +02:00
  • ca88ace98d Reset peripherals on enable chemicstry 2022-03-18 00:46:46 +02:00
  • 842a1ae30b
    Merge #671 bors[bot] 2022-03-17 22:28:32 +00:00
  • 6d994351a6 nrf/gpio: Make Input is_high/is_low public. Dario Nieuwenhuis 2022-03-17 23:20:09 +01:00
  • 5f39f13616
    Merge #670 bors[bot] 2022-03-17 18:09:57 +00:00
  • d26b751edc Add comments chemicstry 2022-03-17 19:41:44 +02:00
  • 051c6350ea Make UART futures Send chemicstry 2022-03-17 18:23:47 +02:00
  • a9854924fa Revert settings.json chemicstry 2022-03-17 02:22:04 +02:00
  • c24d482d51 Fix DMA channels chemicstry 2022-03-17 01:54:56 +02:00
  • 24a9e19062 More cleanup chemicstry 2022-03-17 01:12:29 +02:00
  • f87c497315 Format chemicstry 2022-03-17 00:03:24 +02:00
  • 9d71acc49e Cleanup chemicstry 2022-03-16 23:55:07 +02:00
  • 224071f08e Add F7 example chemicstry 2022-03-16 23:44:02 +02:00
  • f08f4df180 Cleanup chemicstry 2022-03-16 20:33:46 +02:00
  • ea467e0acb Rename DMA trait chemicstry 2022-03-16 20:30:57 +02:00
  • 8a8e5c4b73 Fix SDMMC v2 and add H7 example chemicstry 2022-03-16 20:20:39 +02:00
  • 48fc48ea7d Fix BDMA chemicstry 2022-03-16 19:41:34 +02:00
  • bf4a38ac06 Use RCC frequency instead of config chemicstry 2022-03-16 19:09:37 +02:00
  • 6d547b1143 SDIO working on stm32f4 chemicstry 2022-03-16 18:52:27 +02:00
  • 34b5175d2c Add more options to DMA chemicstry 2022-03-16 18:52:06 +02:00
  • 75e5b39799
    Merge #668 bors[bot] 2022-03-15 22:19:59 +00:00
  • 3528f42868 Update chiptool. Dario Nieuwenhuis 2022-03-15 23:19:17 +01:00
  • 01f8aa19a5
    Merge #667 bors[bot] 2022-03-15 20:54:12 +00:00
  • a61f68144a
    Merge #665 bors[bot] 2022-03-15 19:39:01 +00:00
  • 2d224cf6a0 Update chemicstry 2022-03-15 19:58:19 +02:00
  • da9c0efaad
    Merge #661 bors[bot] 2022-03-15 10:08:01 +00:00
  • e09bde9345 Add support for splitting stm32 usart into TX and RX Ulf Lilleengen 2022-03-14 22:03:35 +01:00
  • cfa7f4e55b Remove duplicate stm32-metapac/src/common.rs with chiptool Nicolas Viennot 2022-03-15 03:20:19 -04:00
  • 680ed11038 Rebuild when the chip definition changes Nicolas Viennot 2022-03-14 21:59:39 -04:00
  • cb1be3983a
    Merge #666 bors[bot] 2022-03-15 03:14:07 +00:00
  • 1dc618f0e4 stm32/spi: fix blocking transfer hanging after async. Dario Nieuwenhuis 2022-03-15 04:13:33 +01:00
  • 49ef19c0b2 stm32/spi: Clear rx fifo in blocking methods Grant Miller 2022-03-14 21:55:37 -05:00
  • ff1215c6f9
    Merge #664 bors[bot] 2022-03-15 01:39:38 +00:00
  • 059b164234 stm32/spi: do not clear rxfifo in SPIv3, the hw already does it. Dario Nieuwenhuis 2022-03-15 02:37:08 +01:00
  • 4579192832 stm32/spi: fix hang in SPIv3 by not waiting for rxfifo empty in finish_dma. Dario Nieuwenhuis 2022-03-15 02:36:34 +01:00
  • 3d6592d22d stm32/spi: check zero-length trasnfers. Dario Nieuwenhuis 2022-03-15 00:48:11 +01:00
  • 06f35c2517 stm32/spi: more exhaustive test. Dario Nieuwenhuis 2022-03-15 00:46:18 +01:00
  • 306110f56e stm32/spi: implement async trasnfer_in_place Dario Nieuwenhuis 2022-03-15 00:31:36 +01:00
  • 8ef8ab1707
    Merge #663 bors[bot] 2022-03-14 23:25:02 +00:00
  • f1d6c95205 rustfmt Grant Miller 2022-03-14 18:22:41 -05:00