paypal / gatt

Gatt is a Go package for building Bluetooth Low Energy peripherals
BSD 3-Clause "New" or "Revised" License
1.13k stars 284 forks source link

added x86 support for Linux #20

Closed acmacalister closed 9 years ago

acmacalister commented 9 years ago

Doing some some bluetooth work with the Intel Edison, needed 32bit support, so this is it. :smile: Also tested it on Ubuntu to make sure it worked there as well. The design and asm is implemented the same way the golang sys package work as seen here:

https://github.com/golang/sys/blob/master/unix/syscall_linux_386.go#L154

roylee17 commented 9 years ago

Hi @acmacalister, sorry for the late response.

I don't have an i386 more, but I think we can trust your testing. :-) Can you squash the changes to a single commit that we can keep the history as linear as possible. It would make your changes more obvious (eliminated those merge conflicts) The easiest way is probably just checkout your working brach, and then

  git reset origin/master
  git commit -a -m "added x86 support for Linux"
acmacalister commented 9 years ago

Sounds good. It was easier to squash the commits in another PR. See #21