renovate/configure
main
master
f/handleHelp-varargs
wip/refactor-focus
f/clang-format-14
hardware/ploopy
examples/factory-firmware
f/driver/keyboardiohid
tmp/zagdul
jesse/space-cadet
jesse/wip/gd32-win
macros/rearchitecture
wip/rcm-stm32
f/keyboardio-model-100
charshift/configuration
pointing-device
f/samd-testbed
f/automatic-build-nightly
f/driver/keyboardiohid-orig
f/keymap-cache-redesign
tmp/parallel-cli
tmp/arduino-cli-pre-rebase
pr_host_keymap
f/testing-event-queue
testing
epan/testing/main
epan/testing/issue-840
epan/testing/readable
epan/build/justlib
epan/build/cmake
epan/testing/hello-simulator
device/normcore
atreus2/example-layout
v1.99.6
keyboardio-m100-MP-1
keyboardio-m100-DVT-3
keyboardio-m100-DVT-2
v1.99.5
v1.99.4
v1.99.3
v1.99.2
v1.99.1
v1.99.0
v1.98.0
v1.97.0
v1.94.0
v1.93.0
v1.92.0
v1.91.0
driver/bootloader-pre-rebase
shipped-model00-xmas
work-tip
${ noResults }
1 Commits (ded77f8b5245af70c3c406db09db63eff943fe34)
Author | SHA1 | Message | Date |
---|---|---|---|
Brian Cully | 39d1f70812 |
Add rules and scripts for building on FreeBSD.
* Uses usbconfig to determine the Model 01's USB modem port. * Works around incompatibe avrsize flags. You need to be able to run usbconfig to flash the firmware from the buildtools. This can be accomplished with appropriate groups and devfs rules. Requires gmake, perl, avrdude, and (probably) arduino18 from ports. The version of avrdude in ports uses an avr-size command that doesn't understand the -C or --mcu flags. From what I can tell, these flags are uneccessary, as the size computed with them is the same as what you get from adding up the appropriate segments from the standard output of avr-size without any flags. However, since the size is only informative, I've opted to simply check to see if the command succeeded, and if not, output a string saying it could not be. It would probably be better to: * Determine appropriate flags based on build tools, or, * Just not use the flags at all, and grab the .text, etc., segment sizes from the standard output and add them up via `dc` for display. I've been using this toolchain to build successfully on FreeBSD 12 for the Model 01 without issue. It should work with earlier versions of FreeBSD as well. Signed-off-by: Brian Cully <bjc@kublai.com> |
6 years ago |