Fix the octal_psram example for ESP32-S3, check example in CI
This commit is contained in:
parent
14f46371eb
commit
c38ed67fb0
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -313,6 +313,8 @@ jobs:
|
|||||||
run: cd esp32s3-hal/ && cargo check --example=embassy_serial --features=embassy,embassy-time-timg0,async
|
run: cd esp32s3-hal/ && cargo check --example=embassy_serial --features=embassy,embassy-time-timg0,async
|
||||||
- name: check esp32s3-hal (async, i2c)
|
- name: check esp32s3-hal (async, i2c)
|
||||||
run: cd esp32s3-hal/ && cargo check --example=embassy_i2c --features=embassy,embassy-time-timg0,async
|
run: cd esp32s3-hal/ && cargo check --example=embassy_i2c --features=embassy,embassy-time-timg0,async
|
||||||
|
- name: check esp32s3-hal (octal psram)
|
||||||
|
run: cd esp32s3-hal/ && cargo check --example=octal_psram --features=opsram_2m --release # This example requires release!
|
||||||
|
|
||||||
esp-riscv-rt:
|
esp-riscv-rt:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@ -24,7 +24,7 @@ static ALLOCATOR: esp_alloc::EspHeap = esp_alloc::EspHeap::empty();
|
|||||||
fn init_psram_heap() {
|
fn init_psram_heap() {
|
||||||
unsafe {
|
unsafe {
|
||||||
ALLOCATOR.init(
|
ALLOCATOR.init(
|
||||||
soc::psram::PSRAM_VADDR_START as *mut u8,
|
soc::psram::psram_vaddr_start() as *mut u8,
|
||||||
soc::psram::PSRAM_BYTES,
|
soc::psram::PSRAM_BYTES,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user