Ignore:
Timestamp:
Mar 11, 2015, 7:57:23 PM (6 years ago)
Author:
Martin Galvan <martin.galvan@…>
Branches:
4.11, 5, master
Children:
9f34aa5
Parents:
6a941e3
git-author:
Martin Galvan <martin.galvan@…> (03/11/15 19:57:23)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/20/15 08:16:07)
Message:

Add CAN, PWM, ADC and UART1/2/3 support to the LPC176x BSP.

This patch adds support for the following devices to the LPC176x BSP:

  • CAN
  • PWM
  • ADC

It also adds the probe routines for UART1/2/3 to the console_device_table in console-config.c, and enables UART1 in configure.ac.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lpc176x/preinstall.am

    r6a941e3 r7b35a36  
    118118PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gpio.h
    119119
     120$(PROJECT_INCLUDE)/bsp/can.h: include/can.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     121        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/can.h
     122PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/can.h
     123
     124$(PROJECT_INCLUDE)/bsp/can-defs.h: include/can-defs.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     125        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/can-defs.h
     126PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/can-defs.h
     127
     128$(PROJECT_INCLUDE)/bsp/pwmout.h: include/pwmout.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     129        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pwmout.h
     130PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pwmout.h
     131
     132$(PROJECT_INCLUDE)/bsp/pwmout-defs.h: include/pwmout-defs.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     133        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pwmout-defs.h
     134PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pwmout-defs.h
     135
     136$(PROJECT_INCLUDE)/bsp/adc.h: include/adc.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     137        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/adc.h
     138PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/adc.h
     139
     140$(PROJECT_INCLUDE)/bsp/adc-defs.h: include/adc-defs.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     141        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/adc-defs.h
     142PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/adc-defs.h
     143
    120144$(PROJECT_INCLUDE)/bsp/timer-defs.h: include/timer-defs.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    121145        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/timer-defs.h
     
    150174PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/system-clocks.h
    151175
     176$(PROJECT_INCLUDE)/bsp/mbed-pinmap.h: include/mbed-pinmap.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     177        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/mbed-pinmap.h
     178PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/mbed-pinmap.h
     179
    152180$(PROJECT_INCLUDE)/tm27.h: ../../shared/include/tm27.h $(PROJECT_INCLUDE)/$(dirstamp)
    153181        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/tm27.h
Note: See TracChangeset for help on using the changeset viewer.