Git Product home page Git Product logo

teensy's People

Contributors

branan avatar

Stargazers

Jon Polom avatar Zovin Khanmohammed avatar Federico G. Schwindt avatar Honza Skřivánek avatar Dan Manley avatar Suyash avatar Nils Van Zuijlen avatar Christoffer Vikström avatar Dimitre avatar Tom Thorogood avatar Connor "segfault" Postma avatar Devin Brite avatar Spencer Shaw avatar Nate Strandberg avatar  avatar Shinichi Kogai avatar Isaac Woods avatar Dylan Frankland avatar  avatar Hairok avatar Reece Stevens avatar Will Yager avatar Avlin avatar DiGiTAL_CuRSe avatar  avatar Paul Houghton avatar Zachary Neely avatar Wesley Moore avatar Yuval Kohavi avatar Stanislav Tkach avatar Jason Spencer avatar Joost Yervante Damad avatar

Watchers

 avatar Tom Thorogood avatar James Cloos avatar Connor "segfault" Postma avatar  avatar Devin Brite avatar Avlin avatar

teensy's Issues

Additions for macOS

Thanks for writing this guide!

I was able to get everything running on macOS with only a few minor changes.

To install the linker et. al., I used the homebrew package manager.
brew cask install gcc-arm-embedded

Also my teensy loader was teensy_loader_cli rather than teensy-loader-cli so I had to change that. Looking at the documents over at pjrc I see that the documentation for Linux uses underscores as well, so Linux users on other distros may run into the same issue I did.

Now on to figuring out interrupts... I'm looking forward to your next post.

Where does the flash configuration values come from?

I'm reading the Bootup to LED post and I'm curious where these numbers come from? Could you please document the source code with comments, that show where these values come from?

You mention "Teensy Arduino tooling" but googling this wasn't helpful.

pub static _FLASHCONFIG: [u8; 16] = [
    0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
    0xFF, 0xFF, 0xFF, 0xFF, 0xDE, 0xF9, 0xFF, 0xFF
];```

https://github.com/branan/teensy/blob/master/src/main.rs#L108

Clippy seems unstable

I'm seeing problems with clippy at the moment, will disable it locally and continue. Let me know if there is a workaround.

error[E0004]: non-exhaustive patterns: Catch(_) not covered
--> C:\Users\pauli.cargo\registry\src\github.com-1ecc6299db9ec823\clippy_lints-0.0.119\src\utils\sugg.rs:90:15
|
90 | match expr.node {
| ^^^^^^^^^ pattern Catch(_) not covered

__NOP -> __nop

To make examples work I had to change the __NOP in the watchdog to __nop.

Development environment setup steps

I've been following through your tutorial on a fresh Ubuntu installation. By the time that I got to the makefile I thought that I'd build the project, despite the fact that it wouldn't do anything useful, just to check that it was all working. It quickly bailed out with the message:

~/.cargo/bin/xargo build --target=thumbv7em-none-eabi --release
error: couldn't walk the sysroot
caused by: IO error for operation on /home/tobz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src: No such file or directory (os error 2)
caused by: No such file or directory (os error 2)
note: run with `RUST_BACKTRACE=1` for a backtrace
Makefile:10: recipe for target 'target/thumbv7em-none-eabi/release/teensy' failed
make: *** [target/thumbv7em-none-eabi/release/teensy] Error 1

I started poking into the toolchain path it mentions, and got as far as rustlib, but it didn't have a src folder. The tool setup near the top of the page lists:

$ rustup component add rust-src
$ rustup toolchain install nightly
$ cargo install xargo

seeing the first line mention something about src, I re-ran that line, and then tried make again, at which point it worked fine. Given the paths involved, I'm guessing that the component & toolchain lines just need to be swapped.

Request: thread::sleep

Have you found an effective way to thread::sleep(Duration::from_millis(4000))
without the standard lib?

error: reference to packed field is unaligned

I believe this is now phased as an error...maybe an easy trick would be to disable the warning....
error: reference to packed field is unaligned
as this (excellent) tutorial is not related to this issue at first...but then maybe worth coding it according to this new rule anyway ? :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.