Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 1 gada
12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ##
  2. ## This file is part of the libopencm3 project.
  3. ##
  4. ## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
  5. ## Copyright (C) 2012 Michael Ossmann <mike@ossmann.com>
  6. ## Copyright (C) 2012/2013 Benjamin Vernoux <titanmkd@gmail.com>
  7. ##
  8. ## This library is free software: you can redistribute it and/or modify
  9. ## it under the terms of the GNU Lesser General Public License as published by
  10. ## the Free Software Foundation, either version 3 of the License, or
  11. ## (at your option) any later version.
  12. ##
  13. ## This library is distributed in the hope that it will be useful,
  14. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. ## GNU Lesser General Public License for more details.
  17. ##
  18. ## You should have received a copy of the GNU Lesser General Public License
  19. ## along with this library. If not, see <http://www.gnu.org/licenses/>.
  20. ##
  21. LIBNAME = libopencm3_lpc43xx_m0
  22. SRCLIBDIR ?= ../..
  23. CC = $(PREFIX)gcc
  24. AR = $(PREFIX)ar
  25. TGT_CFLAGS = -O2 -Wall -Wextra -I../../../include -fno-common \
  26. -mcpu=cortex-m0 -mthumb -Wstrict-prototypes \
  27. -ffunction-sections -fdata-sections -MD -DLPC43XX -DLPC43XX_M0
  28. TGT_CFLAGS += $(DEBUG_FLAGS)
  29. TGT_CFLAGS += $(STANDARD_FLAGS)
  30. # ARFLAGS = rcsv
  31. ARFLAGS = rcs
  32. # LPC43xx common files for M4 / M0
  33. OBJ_LPC43XX = gpio.o scu.o i2c.o ssp.o uart.o timer.o
  34. #LPC43xx M0 specific file + Generic LPC43xx M4/M0 files
  35. OBJS = $(OBJ_LPC43XX)
  36. VPATH += ../:../../cm3
  37. include ../../Makefile.include