Comments (4)
See #18 . I may have inadvertently broken OSX compatibility with my patch for linux. Please double check the patch contents for #18 . I have re-implemented the old constants which were only for OSX. That should fix this issue, but I do not have a current model Mac to test on.
EDIT: Tested on OSX Sierra, can confirm that this compile issue exists, and is fixed by the patch attached to #18.
from serial.nim.
Great, thanks @mp035. I'll check it out. I still think it's an issue for Nim to have variables defined in the standard library that don't work, so I'll keep the issue open over there.
from serial.nim.
I agree. The termios implementation on linux does not include baud rates above 38400 for linux either, so it seems they are using some minimal version of termios.h for their posix implementation.
from serial.nim.
from serial.nim.
Related Issues (20)
- raspbian baud rates not fully defined HOT 3
- IOKit/IOKitLib.h not found under macOS 10.14 (Mojave) HOT 3
- readTimeout = TIMEOUT_INFINITE does not work on linux HOT 4
- Asynchronous IO blocks dispatcher thread. HOT 3
- Serial stream issues with current Nim compiler HOT 3
- All programs fail to compile with serial lib in nim 1.0 HOT 12
- Serial library wont compile on Windows HOT 9
- Linux implementation won't list the Bluetooth related serial ports HOT 2
- Windows 7 implementation won't list the serial USB related serial ports. HOT 12
- Read timeout does not function correctly on windows implementation. HOT 2
- Setting write timeout to zero results in TIMEOUT_INFINITE on windows. HOT 2
- ffi_windows.nim(29, 27) Error: cannot convert 4294967295 to DWORD HOT 3
- Implement some CI
- Error: type mismatch: got <clong> but expected 'Suseconds = int32' HOT 5
- Can't detect all serial ports on Windows 10 HOT 5
- Build fails on MacOS 10.13.6 with clang error: use of undeclared identifier 'IUCLC' HOT 1
- port.write fails with non-zero writeTimeout on MacOS 10.13.6 HOT 6
- undeclared identifier: 'PCustomOverlapped' HOT 7
- Force synchronization of the serial port? HOT 18
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 serial.nim.