Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

LPC11xx experimental branch #318

Merged
merged 25 commits into from
Jul 18, 2015
Merged

LPC11xx experimental branch #318

merged 25 commits into from
Jul 18, 2015

Conversation

farcaller
Copy link
Member

This is work in progress of my attempt to an architecture based purely on the placement ioregs (the reason why it's not lpc176x getting a refab is that this mcu has just 20 register blocks and is rather trivial).

The ideas I want to pinpoint are:

  • mod regs is private, any access is done via relevant APIs that are unsafe when reasonable
  • new way to invoke ioreg tests (swapped a library for one with simpler extensions and better output)

}).unwrap();
let res = j.join();

expect!(res.is_err()).to(be_equal_to(true));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it can be:

expect!(res).to(be_err());

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, apart from the issue that it was a compiler error for some reason 😄

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

compiler error for some reason

Two hip-hip hoorays for having to track nightlies!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two hip-hip hoorays for having to track nightlies!

Did I tell you that we will need to fork cargo to keep the nightly going? Buy the ticket, take the ride! 🎢

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we will need to fork cargo

because of rust-lang/cargo#1796 ?

@farcaller farcaller force-pushed the lpc111x branch 2 times, most recently from 0f9a975 to 240ae86 Compare July 18, 2015 12:56
@farcaller
Copy link
Member Author

This fixes lots of things apart form lpc11xx so I will land it now and deal with consequences later. LPC11xx is still non-existent and isn't expected to work meaningfully.

farcaller added a commit that referenced this pull request Jul 18, 2015
Build fixes; basic lpc11xx support; better tests for zinc crate
@farcaller farcaller merged commit a569832 into hackndev:master Jul 18, 2015
@farcaller farcaller deleted the lpc111x branch July 18, 2015 13:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants