Comments (7)
I've tried again and no it doesn't seem to work for me either. I only tried IO3/4 so far.
from zephyr.js.
Later I found that the Zephyr QMSI (and older DW) GPIO drivers never even use the GPIO_PUD_PULL_UP flag, while some other drivers like K64F do. So it can't possibly work currently - I'm not sure if that's because the hardware doesn't support it or just the driver. There is some reference to pullup for A101 within the pinmux driver though, so there might be an alternate way to enable it. (No reference to pulldown there though.)
from zephyr.js.
So basically, unless we get so serious about this particular issue that we attempt to go add the support to Zephyr ourselves (and figure out whether it's actually supported in the A101 hardware), it's just not going to work until they get around to it.
We're starting to run into this in other places: for example, it appears there is no I2C driver for K64F. So we're probably going to need to get used to missing Zephyr support and figure out what we're going to do about it. Unless we run out of work that's clearly "ours", I don't think writing Zephyr drivers is the answer. So we need to either clearly document where support is missing, or report it in the code with errors, or both.
I'm in the process of adding API documentation so I guess adding a section to each page on hardware support caveats would make sense.
from zephyr.js.
I guess another parallel path is that we open Zephyr bugs.
from zephyr.js.
Hmm I still haven't opened a Zephyr bug but talked to ktseng on IRC and that's what he told me to do. I should check first on a recent Zephyr commit.
from zephyr.js.
I found that zephyrproject-rtos/zephyr#2288 may shed some light on this issue; it appears that for A101 at least, it is pinmux driver where pullups are controlled.
from zephyr.js.
Lowering priority because this is A101-specific and pullup has been observed to work on other boards.
from zephyr.js.
Related Issues (20)
- Add MQTT APIs
- [PnP] Arduino101 boot-timestamps samples increase obviously compared with master commit 3d4a43c. HOT 1
- [websocket] Fail to connect with WebsocketServer after zephyr updated to 1.11 HOT 3
- [BLE] Primary Service UUID not found HOT 1
- WebUSB device can't be found on windows platform HOT 2
- Fail to build STM32F407G-DISC1 and Olimex STM32-E407 images HOT 3
- [ashell] Ctrl+X still saves input through load command
- [jerryscript-debugger] Fail to resume/step into/step over when debugging with /bin/jerry built in JerryScript HOT 2
- [jerryscript-debugger] Fail to add breakpoint on Chrome 66+ HOT 1
- Introduce source map to allow debugging
- [MacOS] Make qemu and frdm_k64f target failed
- [ocf] Ocf Client cannot connect to OcfServer on K64F HOT 2
- [PnP]I2C and WebBluetoothGroveLcdDemo ROM sample increase obviously compared with master commit f90d9d.
- [arduino] An obvious increase of ROM cause building failure HOT 1
- [dynamic] make dynamic failed HOT 1
- [k64f] quit debugger mode cause BUS FAULT error
- FYI: Changes required for Zephyr 1.13 HOT 1
- ESP32 build failure HOT 1
- Upgrading to Zephyr 1.14 LTS HOT 4
- connection event listener registration error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zephyr.js.