Comments (3)
Related files in the current master branch
modules/posix/src/ciaaSerialDevices.c#L157
modules/posix/inc/ciaaDevices.h#L107
from firmware_v1.
Hello Gerardo,
This is a serial driver so it doesn't have a lseek. So I guess it shall
never been called. If so we have to set it to null.
What do you think?
Am 28.09.2016 6:06 AM schrieb "Gerardo Puga" [email protected]:
The following fragment of ciaaSerialDevices_addDriver() in
ciaaSerialDevices.c should probably also copy the pointer for lseek./* allocate memory for new device /
newDevice = (ciaaDevices_deviceType) ciaak_malloc(sizeof(ciaaDevices_deviceType));/* set functions for this device */
newDevice->open = ciaaSerialDevices_open;
newDevice->close = ciaaSerialDevices_close;
newDevice->ioctl = ciaaSerialDevices_ioctl;
newDevice->read = ciaaSerialDevices_read;
newDevice->write = ciaaSerialDevices_write;/* store layers information information */
newDevice->layer = (void *) &ciaaSerialDevices.devstr[position];
newDevice->loLayer = (void *) driver;—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#444, or mute the thread
https://github.com/notifications/unsubscribe-auth/AG7km9NBNbCh35wnIquGbvub7nw0V-o2ks5quefSgaJpZM4KIZV9
.
from firmware_v1.
Sounds ok to me.
from firmware_v1.
Related Issues (20)
- Make the OIL generator output complaint with make -s
- ethernet lwip (ciaa_nxp): blinking example does not work with DHCP neither works stable with static ip HOT 1
- makefile en linux, $CPU se superpone con entorno global #environment
- example blinking_multicore not working HOT 5
- getNextTask() in Schedule_Int returns invalid task IDs on some compilers HOT 3
- NXPs: ciaaDriverDio.c differs for cortexM4 and cortexM4 HOT 3
- NXPs: ciaaDriverDio.c differs for cortexM0 and cortexM4
- buffer overflow when reading/writing the digital outputs with EDU-CIAA-NXP board.
- definitive implementation for semaphores and sleep
- Posix ciaaSerialDevices NXP UART write output not evaluated HOT 8
- ciaaPOSIX_write() stops the system in ciaa_nxp and edu_ciaa_nxp target HOT 6
- ciaaPOSIX_read() stops the system in ciaa_nxp and edu_ciaa_nxp target HOT 2
- ciaa-nxp, edu-ciaa-nxp SetEvent From ISR2 + WaitEvent from FULL preemptive task stops the system HOT 6
- The function IntSecure_End() must be called inside JmpTask and CallTask(), after finalizing safe executions HOT 1
- Problemas en arranque cuando se usa el oscilador a XT (CIAA NXP y EDU CIAA NXP)
- [PR] ciaa_nxp: blinking_echo example does not build HOT 9
- The rtos submodule needs updating to current Firmware.modules.rtos master
- CPU/CPUTYPE mixup in rtos generator code HOT 4
- ISSUE WHILE GENERATING make HOT 8
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 firmware_v1.