This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0495]: cannot infer an appropriate lifetime for autoref due to conflicting requirements | |
--> probe-rs/src/flashing/flasher.rs:171:31 | |
| | |
171 | let mut active = self.init::<'_, 'p>(None, None).unwrap(); | |
| ^^^^ | |
| | |
note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the method body at 163:5... | |
--> probe-rs/src/flashing/flasher.rs:163:5 | |
| | |
163 | / pub(super) fn run_erase<'a, 'f, 'p, T, F, E: From<FlashError>>(&mut self, f: F) -> Result<T, E> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0495]: cannot infer an appropriate lifetime for lifetime parameter `'a` due to conflicting requirements | |
--> probe-rs/src/core/mod.rs:250:17 | |
| | |
250 | Core::new(crate::architecture::arm::m4::M4::new(memory)?) | |
| ^^^^^^^^^ | |
| | |
note: first, the lifetime cannot outlive the lifetime `'a` as defined on the method body at 230:23... | |
--> probe-rs/src/core/mod.rs:230:23 | |
| | |
230 | pub fn attach_arm<'a>( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0495]: cannot infer an appropriate lifetime for lifetime parameter `'a` due to conflicting requirements | |
--> probe-rs/src/core/mod.rs:239:22 | |
| | |
239 | let memory = Memory::new( | |
| ^^^^^^^^^^^ | |
| | |
note: first, the lifetime cannot outlive the lifetime `'a` as defined on the method body at 230:23... | |
--> probe-rs/src/core/mod.rs:230:23 | |
| | |
230 | pub fn attach_arm<'a>( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn paint<'a>( | |
&'a self, | |
render_pass: &mut RenderPass<'a>, | |
blend_pipeline: &'a RenderPipeline, | |
feature_collection: &'a FeatureCollection, | |
tile_id: u32, | |
) { | |
if let Some(data) = self.gpu_tile.try_read().unwrap().as_ref() { | |
render_pass.set_index_buffer(&data.index_buffer, 0, 0); | |
render_pass.set_vertex_buffer(0, &data.vertex_buffer, 0, 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library ieee; | |
use ieee.std_logic_1164.all; | |
use ieee.numeric_std.all; | |
use ieee.std_logic_unsigned.all; | |
use IEEE.STD_LOGIC_MISC; | |
entity adc is | |
generic( | |
Channels: integer := 8 | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0382]: use of moved value: `up_channels` | |
--> src/rttui/app.rs:69:32 | |
| | |
57 | let mut up_channels = rtt.up_channels().drain().collect::<Vec<_>>(); | |
| --------------- move occurs because `up_channels` has type `std::vec::Vec<probe_rs_rtt::channel::UpChannel>`, which does not implement the `Copy` trait | |
... | |
69 | for channel in up_channels { | |
| ^^^^^^^^^^^ | |
| | | |
| value moved here, in previous iteration of loop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![no_main] | |
#![no_std] | |
use panic_halt as _; | |
use core::fmt::Write; | |
use cortex_m_rt::entry; | |
use rtt_target::rtt_init; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_svd: ../svd/stm32mp15xxx.svd | |
IPCC: | |
_add: | |
_interrupts: | |
IPCC_RX0: | |
description: IPCC RX0 occupied interrupt | |
value: 100 | |
IPCC_TX0: | |
description: IPCC TX0 free interrupt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: STM32F103ZG | |
memory_map: | |
- Ram: | |
range: | |
start: 536870912 | |
end: 536969216 | |
is_boot_memory: false | |
- Flash: | |
range: | |
start: 134217728 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* # Developer notes | |
- Symbols that start with a double underscore (__) are considered "private" | |
- Symbols that start with a single underscore (_) are considered "semi-public"; they can be | |
overridden in a user linker script, but should not be referred from user code (e.g. `extern "C" { | |
static mut __sbss }`). | |
- `EXTERN` forces the linker to keep a symbol in the final binary. We use this to make sure a | |
symbol if not dropped if it appears in or near the front of the linker arguments and "it's not |