Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

hudson-ayers
Copy link
Contributor

Port the l3gd20 capsule to tock 2.0

@hudson-ayers hudson-ayers added the tock-2.0 Pull request is part of the transition to Tock 2.0 label Feb 24, 2021
@hudson-ayers hudson-ayers mentioned this pull request Feb 24, 2021
16 tasks
@phil-levis
Copy link
Contributor

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 24, 2021

Build succeeded:

@bors bors bot merged commit 9ed7e52 into tock:tock-2.0-dev Feb 24, 2021
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 <[email protected]>
Co-authored-by: Hudson Ayers <[email protected]>
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 <[email protected]>
Co-authored-by: Hudson Ayers <[email protected]>
tyler-potyondy pushed a commit to tyler-potyondy/libtock-c that referenced this pull request Mar 13, 2024
192: Port L3gd20 to Tock 2.0 r=phil-levis a=hudson-ayers

Port the l3gd20 capsule to tock 2.0

Co-authored-by: Hudson Ayers <[email protected]>
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 <[email protected]>
Co-authored-by: Hudson Ayers <[email protected]>
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.

3 participants