Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails on FreeBSD #3

Open
probonopd opened this issue Jan 13, 2021 · 1 comment
Open

Compilation fails on FreeBSD #3

probonopd opened this issue Jan 13, 2021 · 1 comment

Comments

@probonopd
Copy link

% go get github.com/fluepke/esptool
# github.com/fluepke/esptool/common/serial
go/src/github.com/fluepke/esptool/common/serial/ioctls.go:19:17: undefined: unix.TCSETS
go/src/github.com/fluepke/esptool/common/serial/serial_unix.go:95:17: undefined: unix.TCFLSH
go/src/github.com/fluepke/esptool/common/serial/serial_unix.go:119:12: undefined: unix.B500000
go/src/github.com/fluepke/esptool/common/serial/serial_unix.go:120:12: undefined: unix.B576000
go/src/github.com/fluepke/esptool/common/serial/serial_unix.go:122:12: undefined: unix.B1000000
go/src/github.com/fluepke/esptool/common/serial/serial_unix.go:123:12: undefined: unix.B1152000
go/src/github.com/fluepke/esptool/common/serial/serial_unix.go:124:12: undefined: unix.B1500000
go/src/github.com/fluepke/esptool/common/serial/serial_unix.go:125:12: undefined: unix.B2000000
go/src/github.com/fluepke/esptool/common/serial/serial_unix.go:126:12: undefined: unix.B2500000
go/src/github.com/fluepke/esptool/common/serial/serial_unix.go:127:12: undefined: unix.B3000000
go/src/github.com/fluepke/esptool/common/serial/serial_unix.go:127:12: too many errors
@Fluepke
Copy link
Owner

Fluepke commented Feb 2, 2021

Yeah, I've not figured out, how to perform the required ioctls and set high baudrates with FreeBSD as I mostly run Linux.

Maybe you can improve my serial / termios implementation, that works cross platform?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants