2019-10-02 23:03:43 +00:00
|
|
|
#
|
|
|
|
# osd_generator_sw.tcl
|
|
|
|
#
|
|
|
|
|
|
|
|
# Create a new driver
|
|
|
|
create_driver osd_generator_driver
|
|
|
|
|
|
|
|
# Associate it with some hardware known as "opencores_i2c"
|
|
|
|
set_sw_property hw_class_name osd_generator
|
|
|
|
|
|
|
|
# The version of this driver
|
|
|
|
set_sw_property version 1.0
|
|
|
|
|
|
|
|
# This driver may be incompatible with versions of hardware less
|
|
|
|
# than specified below. Updates to hardware and device drivers
|
|
|
|
# rendering the driver incompatible with older versions of
|
|
|
|
# hardware are noted with this property assignment.
|
|
|
|
#
|
|
|
|
# Multiple-Version compatibility was introduced in version 7.1;
|
|
|
|
# prior versions are therefore excluded.
|
2020-10-05 20:05:43 +00:00
|
|
|
set_sw_property min_compatible_hw_version 1.0
|
2019-10-02 23:03:43 +00:00
|
|
|
|
|
|
|
# Initialize the driver in alt_sys_init()
|
|
|
|
set_sw_property auto_initialize false
|
|
|
|
|
|
|
|
# Location in generated BSP that above sources will be copied into
|
|
|
|
set_sw_property bsp_subdirectory drivers
|
|
|
|
|
|
|
|
|
|
|
|
# Interrupt properties:
|
|
|
|
# This peripheral has an IRQ output but the driver doesn't currently
|
|
|
|
# have any interrupt service routine. To ensure that the BSP tools
|
|
|
|
# do not otherwise limit the BSP functionality for users of the
|
|
|
|
# Nios II enhanced interrupt port, these settings advertise
|
|
|
|
# compliance with both legacy and enhanced interrupt APIs, and to state
|
|
|
|
# that any driver ISR supports preemption. If an interrupt handler
|
|
|
|
# is added to this driver, these must be re-examined for validity.
|
|
|
|
set_sw_property isr_preemption_supported true
|
|
|
|
set_sw_property supported_interrupt_apis "legacy_interrupt_api enhanced_interrupt_api"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Source file listings...
|
|
|
|
#
|
|
|
|
|
|
|
|
# C/C++ source files
|
|
|
|
|
|
|
|
# Include files
|
|
|
|
add_sw_property include_source inc/osd_generator_regs.h
|
|
|
|
|
|
|
|
# This driver supports HAL & UCOSII BSP (OS) types
|
|
|
|
add_sw_property supported_bsp_type HAL
|
|
|
|
add_sw_property supported_bsp_type UCOSII
|
|
|
|
|
|
|
|
# End of file
|