INSTALL 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Briefly, running "make" without specifying any targets will build
  2. everything. You may not necessarily want everything though and can
  3. also specify targets to make. For example:
  4. make av7110
  5. Please see the included Makefile for a list of all available targets.
  6. Once the desired things are built, "make install" will put them into
  7. the appropriate place, which is /lib/firmware by default although you
  8. can override this with something like:
  9. make prefix=/desired/path install
  10. In order to build everything you will need the following on the host
  11. system:
  12. * A C/C++ compiler, like GCC
  13. * Cmake
  14. * dfu-util - Device Firmware Upgrade Utilities
  15. * GNU Bison/YACC
  16. * GNU Flex
  17. * GNU Gperf
  18. * GNU Make
  19. * GNU Wget
  20. * GNU C cross-compiler for AVR
  21. * Standard C library for Atmel AVR
  22. * GNU C cross-compiler for ARM:
  23. - arm-linux-gnueabi-gcc
  24. - arm-linux-gnueabi-ld
  25. - arm-linux-gnueabi-objcopy
  26. - arm-none-eabi-gcc
  27. - arm-none-eabi-objcopy
  28. - arm-none-eabi-as
  29. On GNU/Linux distros that use apt you can install these with:
  30. apt install gcc-avr avr-libc binutils-arm-linux-gnueabi \
  31. binutils-arm-none-eabi bison cmake dfu-util flex g++ gcc \
  32. gcc-arm-linux-gnueabi gcc-arm-none-eabi gperf make wget
  33. CARL9170 Firmware Configuration
  34. -------------------------------
  35. When building the carl9170 firmware you will be prompted with
  36. configuration questions.
  37. atusb: Firmware for the ATUSB IEEE 802.15.4 USB Adapter
  38. -------------------------------------------------------
  39. To flash the firmware you need dfu-util on the host. Issue
  40. dfu-util -d 20b7:1540 -D atusb.dfu
  41. right after plugging the device into the USB port while the red led is
  42. still on.
  43. Refer to the included README file for more information.
  44. Licensing
  45. ---------
  46. You can redistribute and/or modify this file under the terms of the
  47. GNU General Public License as published by the Free Software
  48. Foundation, either version 3 of the License, or (at your option) any
  49. later version.