attempt at fixing ci

This commit is contained in:
JuliDi 2023-06-28 15:25:57 +02:00
parent 27a89019ad
commit f2e7a23148
No known key found for this signature in database
GPG key ID: E1E90AE563D09D63
3 changed files with 7 additions and 6 deletions

View file

@ -2,7 +2,8 @@
# replace STM32F429ZITx with your chip as listed in `probe-rs-cli chip list`
#runner = "probe-rs-cli run --chip STM32L475VGT6"
#runner = "probe-rs-cli run --chip STM32L475VG"
runner = "probe-rs-cli run --chip STM32L4S5VI"
#runner = "probe-rs-cli run --chip STM32L4S5VI"
runner = "probe-run --chip STM32L432KCUx"
[build]
target = "thumbv7em-none-eabi"

View file

@ -1,7 +1,7 @@
MEMORY
{
/* NOTE 1 K = 1 KiBi = 1024 bytes */
/* These values correspond to the STM32L4S5 */
FLASH : ORIGIN = 0x08000000, LENGTH = 1024K
RAM : ORIGIN = 0x20000000, LENGTH = 128K
/* NOTE K = KiBi = 1024 bytes */
/* TODO Adjust these memory regions to match your device memory layout */
FLASH : ORIGIN = 0x8000000, LENGTH = 256K
RAM : ORIGIN = 0x20000000, LENGTH = 64K
}

View file

@ -93,7 +93,7 @@ async fn dac_task1(dac: &'static mut Dac1Type<'static>) {
#[embassy_executor::task]
async fn dac_task2(dac: &'static mut Dac2Type<'static>) {
let data: &[u8; 256] = &calculate_array::<256>();
info!("TIM7 frequency is {}", TIM7::frequency());
const FREQUENCY: Hertz = Hertz::hz(600);