avr-rust / ruduino

Reusable components for the Arduino Uno.
Apache License 2.0
704 stars 50 forks source link

no value available for environment variable 'AVR_CPU_FREQUENCY_HZ' #37

Closed conorbros closed 3 years ago

conorbros commented 3 years ago

I was getting set up following the blink example and I got this error. I had to set the environment variable manually myself. Perhaps this could be set to a reasonable default or be more clear in the book that you may have to set this yourself?

dylanmckay commented 3 years ago

Good point. I don't think it is safe to set a default, but more documentation on it would certainly be a good thing.