OpenSmalltalk
/
opensmalltalk-vm
|
Cog
|
10 mins and 34 secs
|
Eliot Miranda
|
MacOS X does support the tcsetattr serial port support supposed by sqUnixSerial.c. So instead of using the null support that was in sqMacSerialPort.c, update the Mac builds to use sqUnixSerial.c, and rename the mac's file to platforms/Cross/plugins/SerialPlugin/sqNullSerialPort.c
THIS IS UNTESTED! In particular the code in sqUnixSerial.c (dubiously IMO) does not use serialPortBaseName, and instead makes an assumption that serial ports are as defined by serialPortBaseNameDefault, i.e. are in the range /dev/tty50 to /dev/tty59. It would be great if a) someone tested the code on MacOS X b) the naming convention were better. On Mac OS X (see e.g. https://software.intel.com/en-us/setting-up-serial-terminal-on-system-with-mac-os-x), the serial ports are /dev/tty.NAME., e.g. /dev/cu.Bluetooth-Incoming-Port, /dev/cu.BoseQuietControl30-SPPD, etc.
|
|
|
Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you!
SIGN UP HERE
|
|
|
|
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"action": {
"@type": "ViewAction",
"url": "https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/462559908?utm_medium=notification&utm_source=email",
"name": "View Build"
},
"description": "View Build #1509 on Travis CI"
}
</script>