Commit Graph

  • 17d8d11f73 usb: make HALs depend only on embassy-usb-driver. Dario Nieuwenhuis 2022-09-27 13:09:56 +02:00
  • 82d4360756 Merge #934 bors[bot] 2022-09-27 06:00:33 +00:00
  • e129a97d48 Fix bufferedUart read and write tests Mathias 2022-09-27 07:45:10 +02:00
  • 93354b812c Extend buffered-uart test to transmit 32 bytes Mathias 2022-09-27 05:51:38 +02:00
  • 65907204d6 Rename from {Rx,Tx}BufferedUart to BufferedUart{Rx,Tx} to be compliant with stm32 and nrf implementations Mathias 2022-09-27 05:51:31 +02:00
  • cd539ba3a0 Rebase Mathias 2022-09-27 05:51:14 +02:00
  • 86fd480672 Merge #973 bors[bot] 2022-09-26 19:30:15 +00:00
  • de0070948c Merge #976 bors[bot] 2022-09-26 19:05:39 +00:00
  • 7bbb4c22a1 Merge #977 bors[bot] 2022-09-26 18:47:05 +00:00
  • 5bf6564e95 Use firmware writer in stm32{f7, h7} example app Ulf Lilleengen 2022-09-26 20:33:24 +02:00
  • c863acd24f rp: set correct teleprobe target for rpi-pico tests. Dario Nieuwenhuis 2022-09-26 20:36:06 +02:00
  • f76444bdc4 Add HIL test for bufferedUart Mathias 2022-09-26 05:32:45 +02:00
  • b3dfd06dd6 Remove code-duplication in async bufferedUart implementations Mathias 2022-09-21 06:00:35 +02:00
  • 1db9e464ff Enable embedded-io on nightly Mathias 2022-09-09 12:28:35 +02:00
  • d6af0f6286 Formatting Mathias 2022-09-09 10:49:47 +02:00
  • f2239d34cc Add bufferedUart, including a split version for only Rx or Tx Mathias 2022-09-09 10:36:27 +02:00
  • ee76831f93 Add BufferedUart implementation, and feature-guard time-driver initialization, to free up TIMER peripheral if not used with embassy executor Mathias 2022-08-26 09:05:12 +02:00
  • 75e93cc142 rp: enable time-driver in Cargo.toml instead of ci.sh Dario Nieuwenhuis 2022-09-26 20:33:20 +02:00
  • 049c31613b Merge #975 bors[bot] 2022-09-26 17:57:48 +00:00
  • 1e95c4fcff rp: Disable intrinsics by default. Dario Nieuwenhuis 2022-09-26 19:52:55 +02:00
  • daf2744716 Rework STM32 BufferedUart internals so we can split into Rx and Tx like embassy-nrf Guillaume MICHEL 2022-09-26 15:28:09 +02:00
  • cb6d1fc514 Merge pull request #26 from danbev/bdc_version_const Dario Nieuwenhuis 2022-09-26 15:07:53 +02:00
  • 3b04ef265c Add constants for BDC_VERSION Daniel Bevenius 2022-09-26 14:53:37 +02:00
  • 7bbd4671d3 Merge pull request #24 from danbev/suppress-warnings Dario Nieuwenhuis 2022-09-26 14:12:34 +02:00
  • 9962db4ecf Suppress compiler warnings Daniel Bevenius 2022-09-23 13:29:33 +02:00
  • 49070c75b6 Merge #972 bors[bot] 2022-09-26 11:32:41 +00:00
  • f27a47a37b usb: move classes into the embassy-usb crate. Dario Nieuwenhuis 2022-09-26 13:00:21 +02:00
  • f4f5824972 usb: do not allow converting Directon to/from u8 Dario Nieuwenhuis 2022-09-26 12:35:33 +02:00
  • 7f7c14b7bc usb: split driver trait to separate crate. Dario Nieuwenhuis 2022-09-26 12:29:27 +02:00
  • dc376a2390 Merge #965 bors[bot] 2022-09-26 09:58:06 +00:00
  • fa7781c48d Add credits to rp-hal Dario Nieuwenhuis 2022-09-26 11:57:26 +02:00
  • a9efbf18c6 Merge #960 bors[bot] 2022-09-26 09:39:55 +00:00
  • 3c06a18b94 Merge #971 bors[bot] 2022-09-26 08:53:25 +00:00
  • 6fa74b0c02 make prepare_update async Mathias 2022-09-26 10:36:21 +02:00
  • b2a327a858 Add get_state helpers to allow self-testing before calling mark_booted Mathias 2022-09-26 06:53:40 +02:00
  • 7f16b1cd23 Add blocking API to FirmwareUpdater, and allow for a split prepare/write api Mathias 2022-09-26 06:01:18 +02:00
  • b743d9f48c Add HIL test for bufferedUart Mathias 2022-09-26 05:32:45 +02:00
  • 3c24ad2db6 Merge #969 bors[bot] 2022-09-25 21:59:52 +00:00
  • 79a9a4eb98 Merge pull request #20 from danbev/glom_comment Dario Nieuwenhuis 2022-09-25 23:39:08 +02:00
  • 270c4d2476 Merge pull request #21 from danbev/extra-time-waits Dario Nieuwenhuis 2022-09-25 23:38:36 +02:00
  • 6b35f654ba Merge pull request #22 from danbev/antdiv-const Dario Nieuwenhuis 2022-09-25 23:37:54 +02:00
  • 11387c3b03 Merge pull request #23 from danbev/ioctl_set_u32-iface Dario Nieuwenhuis 2022-09-25 23:37:35 +02:00
  • 612000aa8f Merge pull request #25 from danbev/cmd_word_constants Dario Nieuwenhuis 2022-09-25 23:36:13 +02:00
  • a226e86503 Merge #961 bors[bot] 2022-09-25 07:46:43 +00:00
  • c5ce02b30e Remove default, reorder generic params ivmarkov 2022-09-24 12:08:46 +03:00
  • 8536666148 Remove default, reorder generic params ivmarkov 2022-09-24 12:08:46 +03:00
  • ca92302d03 Parameterize Signal with RawMutex ivmarkov 2022-09-22 09:05:40 +03:00
  • a45fb2d718 usb: fix compile errors with the log feature Alex Martens 2022-09-24 09:42:06 -07:00
  • 9aaefa6e71 Add constants for cmd_word arguments Daniel Bevenius 2022-09-23 15:01:09 +02:00
  • eeb1515e9f Merge #958 bors[bot] 2022-09-23 11:58:43 +00:00
  • b4f2c2a05e Re-add timer.stop() Zoey Riordan 2022-09-23 12:34:02 +02:00
  • 281cbcb1e8 Update ioctl_set_u32 to pass through iface param Daniel Bevenius 2022-09-23 09:39:29 +02:00
  • 28bf4b7b6d Add const for IOCTL ANTDIV Daniel Bevenius 2022-09-23 09:35:54 +02:00
  • 3ba0b3ef3b Comment out extra Timer:after calls Daniel Bevenius 2022-09-23 09:04:59 +02:00
  • 8f21a5b116 Add comment about bus:txglom iovar Daniel Bevenius 2022-09-23 08:27:18 +02:00
  • 18dc0dea63 Drop rp2040-flash as dependency, as they pull in rp2040-hal for rom-data functions, which are now part of this HAL as well Mathias 2022-09-23 08:12:32 +02:00
  • 9d674f0212 First iteration attempt on implementing generic flash mutation access for RP2040 Mathias 2022-09-16 12:40:39 +02:00
  • 816778e3fa Add RP2040 ROM functions and intrinsics aliases Mathias 2022-09-23 06:38:47 +02:00
  • 4f33cc5d1a Replace futures::future::join -> embassy_futures::join::join. Dario Nieuwenhuis 2022-09-22 16:48:35 +02:00
  • 2fed9f949a Replace futures::future::poll_fn -> core::future::poll_fn. Dario Nieuwenhuis 2022-09-22 16:42:49 +02:00
  • 7412a859fd Update Rust nightly. Dario Nieuwenhuis 2022-09-22 16:28:56 +02:00
  • 0db1332da8 Implement RealTimeClock for embassy-rp Mathias 2022-09-16 06:45:27 +02:00
  • 334dfcdb65 Take into account size of revert index Ulf Lilleengen 2022-09-20 14:03:04 +02:00
  • 54ba472540 Remove BootFlash borrow Ulf Lilleengen 2022-09-20 09:42:40 +02:00
  • 4322293f63 rp: let SPI RX overflow during async write Alex Martens 2022-09-18 12:23:17 -07:00
  • c14527486d rp: fix async SPI read and write Alex Martens 2022-09-18 12:02:05 -07:00
  • 81298394b5 rp: remove extraneous newlines in logs Alex Martens 2022-09-18 14:54:24 -07:00
  • 5d1576ea73 Add time-driver feature to docs Mathias 2022-09-16 16:45:59 +02:00
  • f46b838746 Feature-gate time-driver in embassy-rp Mathias 2022-09-09 12:45:03 +02:00
  • 3f672c8a93 Make rustfmt happy Joakim Hulthe 2022-09-16 10:44:33 +02:00
  • e5af4c4bce Add .into_inner() and .get_mut() to Mutex Joakim Hulthe 2022-09-16 10:32:43 +02:00
  • 7bb9620b1a make State::new() const, consistent with others Vincent Stakenburg 2022-09-15 12:34:17 +02:00
  • 2e7916c5fe Add RP2040 ROM functions and intrinsics aliases Mathias 2022-09-23 06:38:47 +02:00
  • dacbc9acd5 Merge #963 bors[bot] 2022-09-22 15:46:07 +00:00
  • 10d1ad2343 Replace futures::future::join -> embassy_futures::join::join. Dario Nieuwenhuis 2022-09-22 16:48:35 +02:00
  • a0487380da Replace futures::future::poll_fn -> core::future::poll_fn. Dario Nieuwenhuis 2022-09-22 16:42:49 +02:00
  • c1e25067da Merge #962 bors[bot] 2022-09-22 14:39:02 +00:00
  • 897b72c872 Update Rust nightly. Dario Nieuwenhuis 2022-09-22 16:28:56 +02:00
  • 9db9333d05 Merge pull request #15 from danbev/ioctl-header-type Dario Nieuwenhuis 2022-09-22 14:17:09 +02:00
  • 483edf694b Introduce IoctlType enum for IOCTL types Daniel Bevenius 2022-09-11 09:34:39 +02:00
  • 5914d80968 Add non blocking Bxcan constructor. Andrew Ealovega 2022-09-21 22:29:57 -04:00
  • 5f7e0eb2ae Fix builds on other nrf pacs Zoey Riordan 2022-09-21 14:06:56 +02:00
  • 15b4f9db90 Remove unused function Zoey Riordan 2022-09-21 11:19:47 +02:00
  • 0f55f5a73d Remove left-in comments and logs Zoey Riordan 2022-09-21 11:06:06 +02:00
  • 3d708a459c Implement proper Drop for BufferedUarte Zoey Riordan 2022-09-21 10:47:49 +02:00
  • 3b58ac1bf8 Merge #949 bors[bot] 2022-09-21 07:19:23 +00:00
  • 1d3e41f970 Remove code-duplication in async bufferedUart implementations Mathias 2022-09-21 06:00:35 +02:00
  • 44d7a84e47 Merge #957 bors[bot] 2022-09-20 12:56:46 +00:00
  • b418c0e4d6 Take into account size of revert index Ulf Lilleengen 2022-09-20 14:03:04 +02:00
  • 11da25800b Merge #956 bors[bot] 2022-09-20 07:55:20 +00:00
  • d0fe654c82 Remove BootFlash borrow Ulf Lilleengen 2022-09-20 09:42:40 +02:00
  • 6663390224 Merge #954 bors[bot] 2022-09-19 07:26:10 +00:00
  • ac13675f3a Merge #955 bors[bot] 2022-09-18 23:22:14 +00:00
  • 0c6933fefb rp: remove extraneous newlines in logs Alex Martens 2022-09-18 14:54:24 -07:00
  • 295cc997ae rp: let SPI RX overflow during async write Alex Martens 2022-09-18 12:23:17 -07:00
  • ab1a6889a6 rp: fix async SPI read and write Alex Martens 2022-09-18 12:02:05 -07:00
  • e7d30194e3 Merge pull request #18 from danbev/has_credit Dario Nieuwenhuis 2022-09-18 20:57:23 +02:00
  • 520860622b Make self parameter to has_credit non-mutable Daniel Bevenius 2022-09-17 09:06:23 +02:00
  • 336ebe54c0 Merge #952 bors[bot] 2022-09-16 14:46:35 +00:00
  • 1c657d2d55 Add time-driver feature to docs Mathias 2022-09-16 16:45:59 +02:00