I am using a crate that forces the program to name the development board in the .toml file. I'm customizing the memory definition file so that the linking process changes the memory layout. This fails because my memory file generates an error that says
= note: rust-lld: error: /home/dkhayes117/IdeaProjects/zerorisc/target/riscv32imac-unknown-none-elf/debug/build/e310x-4d246b8d2b1c4f1e/out/memory-fe310.x:3: region 'RAM' already defined >>> RAM : ORIGIN = 0x80000000, LENGTH = 16K
This is the file that causes the memory region to be defined before my file is implemented
Is there a way to clone the crate and customize it to get around this? Or is there a better way?