Skip to content
This repository was archived by the owner on Aug 9, 2022. It is now read-only.

Commit 986ee32

Browse files
arjanmelsMabezDev
andauthored
Various minor cleanups from code review
Co-authored-by: Scott Mabin <[email protected]>
1 parent 7b45f7a commit 986ee32

File tree

5 files changed

+4
-7
lines changed

5 files changed

+4
-7
lines changed

.cargo/config

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,5 @@ runner = "xtensa-esp32-elf-gdb -q -x xtensa.gdb"
55
rustflags = [
66
"-C", "link-arg=-nostartfiles",
77
"-C", "link-arg=-Wl,-Tlink.x",
8-
# "-C", "target-cpu=esp32",
9-
#"--emit", "llvm-ir,asm",
10-
118
]
129
target = "xtensa-esp32-none-elf"

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ memcpy = false
1111

1212

1313
[features]
14-
default=["external_ram", "mem"]
14+
default=["mem"]
1515

1616
# Place program completely in ram (needed when e.g. using only ROM bootloader, or for debugging)
1717
all_in_ram=[]

memory.x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,4 @@ _stack_start_cpu0 = _stack_end_cpu1;
176176
_stack_end_cpu0 = _stack_start_cpu0 + STACK_SIZE;
177177

178178
EXTERN(DefaultHandler);
179-
INCLUDE "device.x"
179+
INCLUDE "device.x"

procmacros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Internal implementation details of `xtensa-lx6-rt`.
1+
//! Internal implementation details of esp32-hal`.
22
//!
33
//! Do not use this crate directly.
44
//!

src/external_ram.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use core::ptr::{read_volatile, write_volatile};
99
static mut EXTERNAL_RAM_SIZE: core::mem::MaybeUninit<Option<usize>> =
1010
core::mem::MaybeUninit::uninit();
1111

12-
/// info about teh cache to be able to trash it
12+
/// Info about the cache to be able to trash it
1313
const CACHE_LINE_SIZE: usize = 32;
1414
const NR_CACHE_LINES: usize = 1024;
1515
/// number of steps to check RAM in. 8 steps limits to 0.5MB steps

0 commit comments

Comments
 (0)