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

2.0 usb #189

Merged
merged 2 commits into from Feb 24, 2021
Merged

2.0 usb #189

merged 2 commits into from Feb 24, 2021

Conversation

bradjc
Copy link
Contributor

@bradjc bradjc commented Feb 22, 2021

No description provided.

@bradjc bradjc added the tock-2.0 Pull request is part of the transition to Tock 2.0 label Feb 22, 2021
libtock/usb.c Outdated Show resolved Hide resolved
@phil-levis
Copy link
Contributor

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 24, 2021

Build succeeded:

@bors bors bot merged commit 75c00c1 into tock-2.0-dev Feb 24, 2021
@bors bors bot deleted the 2.0-usb branch February 24, 2021 02:51
@phil-levis phil-levis mentioned this pull request Feb 24, 2021
16 tasks
bors bot added a commit that referenced this pull request Feb 25, 2021
177: Tock 2.0 switchover r=hudson-ayers a=phil-levis

This PR 
1. removes the Tock 1.0 system calls from tock.c,
2. changes `subscribe_cb` to `subscribe_upcall`
3. updates `driver_exists` to use `command2`

It **does not** yet change the names (e.g., `command2` to `command`). This because many userspace libraries have not been ported to the new system calls:

- [x] tsl2561 @ppannuto #182
- [x] temperature @phil-levis #178 
- [x] ~aes~ 
- [x] ~st7735~ #185 
- [x] pca9544a @alevy 
- [x] lsm303dlhc #191 @alexandruradovici 
- [x] usb @alistair23 #189 
- [x] ~console~ (minor, fixed in this PR) @phil-levis #177 
- [x] proximity @alevy  #181
- [x] ltc294x @alevy #180 
- [x] ~tmp006~ #184 
- [x] l3gd20 #192 @alexandruradovici 
- [x] lps35hb #187 
- [x] humidity @phil-levis #178 
- [x] max17205 #183 
- [x] ipc @alevy #176, #177

This causes an undefined symbol when compiling, so libtock-c is not usable/linkable. But it does compile. As these are fixed, tested, and pushed to `tock-2.0-dev`, I will keep this branch up to date and unblock it when it is ready.

Co-authored-by: Philip Levis <pal@cs.stanford.edu>
Co-authored-by: Hudson Ayers <hayers@stanford.edu>
bors bot added a commit that referenced this pull request Feb 25, 2021
177: Tock 2.0 switchover r=hudson-ayers a=phil-levis

This PR 
1. removes the Tock 1.0 system calls from tock.c,
2. changes `subscribe_cb` to `subscribe_upcall`
3. updates `driver_exists` to use `command2`

It **does not** yet change the names (e.g., `command2` to `command`). This because many userspace libraries have not been ported to the new system calls:

- [x] tsl2561 @ppannuto #182
- [x] temperature @phil-levis #178 
- [x] ~aes~ 
- [x] ~st7735~ #185 
- [x] pca9544a @alevy 
- [x] lsm303dlhc #191 @alexandruradovici 
- [x] usb @alistair23 #189 
- [x] ~console~ (minor, fixed in this PR) @phil-levis #177 
- [x] proximity @alevy  #181
- [x] ltc294x @alevy #180 
- [x] ~tmp006~ #184 
- [x] l3gd20 #192 @alexandruradovici 
- [x] lps35hb #187 
- [x] humidity @phil-levis #178 
- [x] max17205 #183 
- [x] ipc @alevy #176, #177

This causes an undefined symbol when compiling, so libtock-c is not usable/linkable. But it does compile. As these are fixed, tested, and pushed to `tock-2.0-dev`, I will keep this branch up to date and unblock it when it is ready.

Co-authored-by: Philip Levis <pal@cs.stanford.edu>
Co-authored-by: Hudson Ayers <hayers@stanford.edu>
tyler-potyondy pushed a commit to tyler-potyondy/libtock-c that referenced this pull request Mar 13, 2024
189: 2.0 usb r=phil-levis a=bradjc



Co-authored-by: Brad Campbell <bradjc5@gmail.com>
tyler-potyondy pushed a commit to tyler-potyondy/libtock-c that referenced this pull request Mar 13, 2024
177: Tock 2.0 switchover r=hudson-ayers a=phil-levis

This PR 
1. removes the Tock 1.0 system calls from tock.c,
2. changes `subscribe_cb` to `subscribe_upcall`
3. updates `driver_exists` to use `command2`

It **does not** yet change the names (e.g., `command2` to `command`). This because many userspace libraries have not been ported to the new system calls:

- [x] tsl2561 @ppannuto tock#182
- [x] temperature @phil-levis tock#178 
- [x] ~aes~ 
- [x] ~st7735~ tock#185 
- [x] pca9544a @alevy 
- [x] lsm303dlhc tock#191 @alexandruradovici 
- [x] usb @alistair23 tock#189 
- [x] ~console~ (minor, fixed in this PR) @phil-levis tock#177 
- [x] proximity @alevy  tock#181
- [x] ltc294x @alevy tock#180 
- [x] ~tmp006~ tock#184 
- [x] l3gd20 tock#192 @alexandruradovici 
- [x] lps35hb tock#187 
- [x] humidity @phil-levis tock#178 
- [x] max17205 tock#183 
- [x] ipc @alevy tock#176, tock#177

This causes an undefined symbol when compiling, so libtock-c is not usable/linkable. But it does compile. As these are fixed, tested, and pushed to `tock-2.0-dev`, I will keep this branch up to date and unblock it when it is ready.

Co-authored-by: Philip Levis <pal@cs.stanford.edu>
Co-authored-by: Hudson Ayers <hayers@stanford.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tock-2.0 Pull request is part of the transition to Tock 2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants