You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -621,6 +626,79 @@ Once you have enabled programmer support, two new targets are available in the b
621
626
If you need to restore the original **Arduino bootloader** onto your Arduino, so that you can use the traditional way of uploading firmware images via the bootloader, use **${TARGET_NAME}-burn-bootloader** to restore it.
622
627
623
628
629
+
Pure AVR Development
630
+
~~~~~~~~~~~~~~~~~~~~
631
+
632
+
For those developers who don't want any Arduino magic, but still want to utilize the hardware platform you are in luck. This section will outline the `generate_avr_firmware()` and `generate_avr_library()` commands, which enables
633
+
you to compile source for the given Arduino board.
634
+
635
+
No Arduino Core or Arduino libraries will get generated, this is for manual compilation of sources. These commands are for people that know what they are doing, or have done pure AVR development.
636
+
People starting out, or just familiar with Arduino should not use these commands.
637
+
638
+
The `generate_avr_firmware()` command::
639
+
640
+
generate_avr_firmware(name
641
+
[BOARD board_id]
642
+
SRCS src1 src2 ... srcN]
643
+
[HDRS hdr1 hdr2 ... hdrN]
644
+
[LIBS lib1 lib2 ... libN]
645
+
[PORT port]
646
+
[SERIAL serial_cmd]
647
+
[PROGRAMMER programmer_id]
648
+
[AFLAGS flags])
649
+
650
+
This will compile the sources for the specified Arduino board type.
0 commit comments