Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter's .cargo/config file overwrites settings from project's f3discovery/src/.cargo #510

Open
Cloufish opened this issue Feb 17, 2023 · 0 comments

Comments

@Cloufish
Copy link

Cloufish commented Feb 17, 2023

In each of the chapter's directory there's .cargo/config containing flags completely different from the previously configured f3discovery/src/.cargo/config.toml

f3discovery/src/.cargo/config:

runner = "arm-none-eabi-gdb -q -x ../openocd.gdb"

vs
.cargo/config:

runner = "arm-none-eabi-gdb -q -x openocd.gdb"

Therefore:

  • Each time we begin new chapter there's an error of pre-scripted gdb file not found openocd.gdb: No such file or directory.
  • If someone has a different runner e.g. gdb-multiarch, then he also is confused because of other errors

Can't we delete every config in each chapter? After all the book said:
image

  • That the config.toml in the main project applies to every Chapter

So why is that not true?
Or maybe it's not working only in my case...
maybe there's something wrong with me o.o

@Cloufish Cloufish changed the title Chapter's .cargo/config file overwrites settings from projects f3discovery/src/.cargo Chapter's .cargo/config file overwrites settings from project's f3discovery/src/.cargo Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant