1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-22 05:00:30 -04:00
Commit graph

12 commits

Author SHA1 Message Date
Craig Leres
33999d3894 devel/arduino-bsd-mk: Update to 2.3
Changes since 2.2:

 - add ARDUINO_MAXIMUM_SIZE
2021-05-29 12:31:16 -07:00
Craig Leres
673aa41f8e devel/arduino-bsd-mk: Update to 2.2
Changes since 2.1:

 - arduino-boards needs explicit boards.txt for build.pid, build.vid,
   upload.protocol, and upload.speed in case ARDUINO_DIR has changed.
2021-05-21 18:49:36 -07:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Craig Leres
5786c09bd3 devel/arduino-bsd-mk: Update to 2.1
Changes since 2.0:

 - Search for and use the boards.txt in the ARDUINO_DIR tree.

 - Convert arduino-boards to f-strings.
2021-01-12 21:43:03 +00:00
Craig Leres
3cd4614e91 devel/arduino-bsd-mk: Update to 2.0
Changes since 1.5:

 - Add support for Arduino 1.0 through 1.8 by autodetecting paths.

 - Add -fno-threadsafe-statics to fix "undefined reference to
   `__cxa_guard_release'" error that can occur because gcc enables
   thread-safe initialization by default.

Honor PREFIX in Python script and require 3.6+ due to its use of
f-strings.
2021-01-09 22:41:21 +00:00
Craig Leres
3355c71ff2 devel/arduino-bsd-mk: Update to 1.5
Changes since 1.4:

 - Inhibit warning messages for avr-gc++ too.

 - Add a depend target that adjusts for .ino sources.
2020-09-13 17:32:07 +00:00
Craig Leres
1ae67ff130 devel/arduino-bsd-mk: Update to 1.4
Changes since 1.3:

 - Turn off MK_DEBUG_FILES, it doesn't make sense for arduino.

 - Changing "cd dir && make" with "make -C dir" solves parallel
   build failures.

While we're here, remove RUN_DEPENDS; we're just installing files
that can be used devel/arduino or devel/arduino18. Also break up
long lines.
2020-08-09 23:55:24 +00:00
Craig Leres
3449532d52 devel/arduino-bsd-mk: Update to 1.3. From CHANGES:
- Add ARDUINO_CXXFLAGS. Use -std=c++11 with CXXFLAGS.

Approved by:	matthew (mentor, implicit)
2019-07-14 07:12:38 +00:00
Craig Leres
78a3efce3d devel/arduino-bsd-mk: Update to 1.2. Changes include:
- Must force SIZE to be avr-size since /usr/share/mk/sys.mk is
   included so early.

 - Convert arduino-boards.py to python3.

Approved by:	matthew (mentor, implicit)
2019-06-10 17:59:25 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Craig Leres
698e0601c6 Update to 1.1:
- Add .ino file instead of .cpp to SRCS when we have a .ino
      file.

      Remove test for .ino and .cpp since it doesn't work when we
      aren't using an obj dir.

    - Instead of generating an error for all make targets when
      AVRDUDE_PORT is "arduino" and AVRDUDE_PORT is not defined
      allow everything except install/flash.

Reviewed by:	ler (mentor)
Approved by:	ler (mentor)
Differential Revision:	https://reviews.freebsd.org/D14525
2018-02-26 17:19:16 +00:00
Craig Leres
7b9c96c18d This adds devel/arduino-bsd-mk which installs a make(1) makefile
(bsd.arduino.mk) that is used to build Arduino sketches from
the command line. It is designed to be a FreeBSD-friendly
alternative to the existing gmake based devel/arduino-mk port.
It includes a man page and optionally installs an example sketch
with an exmaple Makefile.

Reviewed by:	matthew (mentor)
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D13262
2017-12-01 21:38:03 +00:00