diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 06194f5..db1dceb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -61,6 +61,12 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: '0' + - uses: actions/cache@v3 + id: cache-cargo + with: + path: | + ./example/target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Build new binary working-directory: ./example run: cargo build --release diff --git a/example/src/main.rs b/example/src/main.rs index e04aed1..185edeb 100644 --- a/example/src/main.rs +++ b/example/src/main.rs @@ -20,7 +20,7 @@ async fn main(_spawner: Spawner) { const MAP_FLASH_RANGE: Range = 0xFC000..0x100000; run_queue(&mut flash, QUEUE_FLASH_RANGE).await; - // run_map(&mut flash, MAP_FLASH_RANGE).await; + run_map(&mut flash, MAP_FLASH_RANGE).await; defmt::info!("All went ok!"); cortex_m::asm::bkpt();