Changeset 6cdc090 in rtems


Ignore:
Timestamp:
Aug 10, 2014, 4:35:27 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
94d45f6
Parents:
8ae37323
git-author:
Sebastian Huber <sebastian.huber@…> (08/10/14 16:35:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/12/14 17:08:37)
Message:

bsp/lpc24xx: Add LPC40XX variants

Location:
c/src/lib/libbsp/arm/lpc24xx
Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lpc24xx/Makefile.am

    r8ae37323 r6cdc090  
    6767
    6868project_lib_DATA += startup/linkcmds
    69 EXTRA_DIST =
    70 EXTRA_DIST += startup/linkcmds.lpc17xx_ea_ram
    71 EXTRA_DIST += startup/linkcmds.lpc17xx_ea_rom_int
    72 EXTRA_DIST += startup/linkcmds.lpc17xx_plx800_ram
    73 EXTRA_DIST += startup/linkcmds.lpc17xx_plx800_rom_int
    74 EXTRA_DIST += startup/linkcmds.lpc2362
    75 EXTRA_DIST += startup/linkcmds.lpc23xx_tli800
    76 EXTRA_DIST += startup/linkcmds.lpc24xx_ea
    77 EXTRA_DIST += startup/linkcmds.lpc24xx_ncs_ram
    78 EXTRA_DIST += startup/linkcmds.lpc24xx_ncs_rom_ext
    79 EXTRA_DIST += startup/linkcmds.lpc24xx_ncs_rom_int
    80 EXTRA_DIST += startup/linkcmds.lpc24xx_plx800_ram
    81 EXTRA_DIST += startup/linkcmds.lpc24xx_plx800_rom_int
     69project_lib_DATA += startup/linkcmds.lpc17xx_ea_ram
     70project_lib_DATA += startup/linkcmds.lpc17xx_ea_rom_int
     71project_lib_DATA += startup/linkcmds.lpc17xx_plx800_ram
     72project_lib_DATA += startup/linkcmds.lpc17xx_plx800_rom_int
     73project_lib_DATA += startup/linkcmds.lpc2362
     74project_lib_DATA += startup/linkcmds.lpc23xx_tli800
     75project_lib_DATA += startup/linkcmds.lpc24xx_ea
     76project_lib_DATA += startup/linkcmds.lpc24xx_ncs_ram
     77project_lib_DATA += startup/linkcmds.lpc24xx_ncs_rom_ext
     78project_lib_DATA += startup/linkcmds.lpc24xx_ncs_rom_int
     79project_lib_DATA += startup/linkcmds.lpc24xx_plx800_ram
     80project_lib_DATA += startup/linkcmds.lpc24xx_plx800_rom_int
     81project_lib_DATA += startup/linkcmds.lpc40xx_ea_ram
     82project_lib_DATA += startup/linkcmds.lpc40xx_ea_rom_int
    8283
    8384###############################################################################
  • c/src/lib/libbsp/arm/lpc24xx/configure.ac

    r8ae37323 r6cdc090  
    2929RTEMS_BSPOPTS_HELP([LPC24XX_OSCILLATOR_RTC],[RTC oscillator frequency in Hz])
    3030
    31 RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[lpc17xx_ea*],[96000000U])
     31RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[lpc17xx_ea* | lpc40xx_ea*],[96000000U])
    3232RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[lpc23*],[58982400U])
    3333RTEMS_BSPOPTS_SET([LPC24XX_CCLK],[lpc24xx_plx800_*],[51612800U])
     
    3535RTEMS_BSPOPTS_HELP([LPC24XX_CCLK],[CPU clock in Hz])
    3636
    37 RTEMS_BSPOPTS_SET([LPC24XX_PCLKDIV],[lpc17xx_ea*],[2U])
     37RTEMS_BSPOPTS_SET([LPC24XX_PCLKDIV],[lpc17xx_ea* | lpc40xx_ea*],[2U])
    3838RTEMS_BSPOPTS_SET([LPC24XX_PCLKDIV],[*],[1U])
    3939RTEMS_BSPOPTS_HELP([LPC24XX_PCLKDIV],[clock divider for default PCLK (PCLK = CCLK / PCLKDIV)])
    4040
    41 RTEMS_BSPOPTS_SET([LPC24XX_EMCCLKDIV],[lpc17xx_ea*],[2U])
     41RTEMS_BSPOPTS_SET([LPC24XX_EMCCLKDIV],[lpc17xx_ea* | lpc40xx_ea*],[2U])
    4242RTEMS_BSPOPTS_SET([LPC24XX_EMCCLKDIV],[*],[1U])
    4343RTEMS_BSPOPTS_HELP([LPC24XX_EMCCLKDIV],[clock divider for EMCCLK (EMCCLK = CCLK / EMCCLKDIV)])
     
    6161RTEMS_BSPOPTS_HELP([LPC24XX_EMC_IS42S32800D7],[enable ISSI IS42S32800D7 configuration for EMC])
    6262
    63 RTEMS_BSPOPTS_SET([LPC24XX_EMC_IS42S32800B],[lpc17xx_ea_rom_*],[1])
     63RTEMS_BSPOPTS_SET([LPC24XX_EMC_IS42S32800B],[lpc17xx_ea_rom_* | lpc40xx_ea_rom_*],[1])
    6464RTEMS_BSPOPTS_HELP([LPC24XX_EMC_IS42S32800B],[enable ISSI IS42S32800B configuration for EMC])
    6565
     
    113113RTEMS_BSPOPTS_HELP([LPC24XX_STOP_USB],[stop USB controller at start-up to avoid DMA interference])
    114114
    115 RTEMS_BSPOPTS_SET([LPC_DMA_CHANNEL_COUNT],[lpc17*],[8])
     115RTEMS_BSPOPTS_SET([LPC_DMA_CHANNEL_COUNT],[lpc17* | lpc40*],[8])
    116116RTEMS_BSPOPTS_SET([LPC_DMA_CHANNEL_COUNT],[*],[2])
    117117RTEMS_BSPOPTS_HELP([LPC_DMA_CHANNEL_COUNT],[DMA channel count])
     
    120120RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
    121121
    122 RTEMS_BSPOPTS_SET([BSP_USB_OTG_TRANSCEIVER_I2C_ADDR],[lpc17xx_ea*],[(0x2f << 1)])
     122RTEMS_BSPOPTS_SET([BSP_USB_OTG_TRANSCEIVER_I2C_ADDR],[lpc17xx_ea* | lpc40xx_ea*],[(0x2f << 1)])
    123123RTEMS_BSPOPTS_HELP([BSP_USB_OTG_TRANSCEIVER_I2C_ADDR],[USB OTG transceiver I2C address used by USB stack])
    124124
  • c/src/lib/libbsp/arm/lpc24xx/preinstall.am

    r8ae37323 r6cdc090  
    174174TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
    175175
     176$(PROJECT_LIB)/linkcmds.lpc17xx_ea_ram: startup/linkcmds.lpc17xx_ea_ram $(PROJECT_LIB)/$(dirstamp)
     177        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc17xx_ea_ram
     178TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc17xx_ea_ram
     179
     180$(PROJECT_LIB)/linkcmds.lpc17xx_ea_rom_int: startup/linkcmds.lpc17xx_ea_rom_int $(PROJECT_LIB)/$(dirstamp)
     181        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc17xx_ea_rom_int
     182TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc17xx_ea_rom_int
     183
     184$(PROJECT_LIB)/linkcmds.lpc17xx_plx800_ram: startup/linkcmds.lpc17xx_plx800_ram $(PROJECT_LIB)/$(dirstamp)
     185        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc17xx_plx800_ram
     186TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc17xx_plx800_ram
     187
     188$(PROJECT_LIB)/linkcmds.lpc17xx_plx800_rom_int: startup/linkcmds.lpc17xx_plx800_rom_int $(PROJECT_LIB)/$(dirstamp)
     189        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc17xx_plx800_rom_int
     190TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc17xx_plx800_rom_int
     191
     192$(PROJECT_LIB)/linkcmds.lpc2362: startup/linkcmds.lpc2362 $(PROJECT_LIB)/$(dirstamp)
     193        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc2362
     194TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc2362
     195
     196$(PROJECT_LIB)/linkcmds.lpc23xx_tli800: startup/linkcmds.lpc23xx_tli800 $(PROJECT_LIB)/$(dirstamp)
     197        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc23xx_tli800
     198TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc23xx_tli800
     199
     200$(PROJECT_LIB)/linkcmds.lpc24xx_ea: startup/linkcmds.lpc24xx_ea $(PROJECT_LIB)/$(dirstamp)
     201        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc24xx_ea
     202TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc24xx_ea
     203
     204$(PROJECT_LIB)/linkcmds.lpc24xx_ncs_ram: startup/linkcmds.lpc24xx_ncs_ram $(PROJECT_LIB)/$(dirstamp)
     205        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_ram
     206TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_ram
     207
     208$(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_ext: startup/linkcmds.lpc24xx_ncs_rom_ext $(PROJECT_LIB)/$(dirstamp)
     209        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_ext
     210TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_ext
     211
     212$(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_int: startup/linkcmds.lpc24xx_ncs_rom_int $(PROJECT_LIB)/$(dirstamp)
     213        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_int
     214TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc24xx_ncs_rom_int
     215
     216$(PROJECT_LIB)/linkcmds.lpc24xx_plx800_ram: startup/linkcmds.lpc24xx_plx800_ram $(PROJECT_LIB)/$(dirstamp)
     217        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc24xx_plx800_ram
     218TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc24xx_plx800_ram
     219
     220$(PROJECT_LIB)/linkcmds.lpc24xx_plx800_rom_int: startup/linkcmds.lpc24xx_plx800_rom_int $(PROJECT_LIB)/$(dirstamp)
     221        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc24xx_plx800_rom_int
     222TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc24xx_plx800_rom_int
     223
     224$(PROJECT_LIB)/linkcmds.lpc40xx_ea_ram: startup/linkcmds.lpc40xx_ea_ram $(PROJECT_LIB)/$(dirstamp)
     225        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc40xx_ea_ram
     226TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc40xx_ea_ram
     227
     228$(PROJECT_LIB)/linkcmds.lpc40xx_ea_rom_int: startup/linkcmds.lpc40xx_ea_rom_int $(PROJECT_LIB)/$(dirstamp)
     229        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.lpc40xx_ea_rom_int
     230TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.lpc40xx_ea_rom_int
     231
Note: See TracChangeset for help on using the changeset viewer.