[riot-notifications] [RIOT-OS/RIOT] atmega: refactor cpu/board code and build/flash variables (#9130)

Sebastian Meiling notifications at github.com
Mon Jan 7 17:42:03 CET 2019


smlng commented on this pull request.



> @@ -2,23 +2,14 @@
 export CPU = atmega1284p
 
 # configure the terminal program
-export PORT_LINUX  ?= /dev/ttyACM0
-export PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
-export BAUD        ?= 9600
+PORT_LINUX  ?= /dev/ttyACM0
+PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))

For an official Arduino its `usbserial` on macOS, I have a cheap-one where I've to set `PORT` explicitly anyway

> @@ -2,23 +2,14 @@
 export CPU = atmega1284p
 
 # configure the terminal program
-export PORT_LINUX  ?= /dev/ttyACM0
-export PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbserial*)))
-export BAUD        ?= 9600
+PORT_LINUX  ?= /dev/ttyACM0
+PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))

(forgot to say: have a Mac, too)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/9130#discussion_r245718774
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190107/44b1b6a4/attachment.html>


More information about the notifications mailing list