Files
retrobsd/sys/pic32/cfg/sramc.dev
Matt Jenkins d859d3b71d Imported dual sramc driver
This driver allows you to run two SRAMC devices side-by-side as two
separate rdisk devices.
2014-05-10 21:40:23 +01:00

28 lines
466 B
Plaintext

always
file rd_sramc.o
require rdisk
define SRAMC_ENABLED YES
define SRAMC%0_ENABLED YES
end always
option data
define SW_DATA_PORT $TRIS(%1)
define SW_DATA_PIN $PIN(%1)
end option
option lda
define SW_LDA_PORT $TRIS(%1)
define SW_LDA_PIN $PIN(%1)
end option
option rd
define SW_RD_PORT $TRIS(%1)
define SW_RD_PIN $PIN(%1)
end option
option wr
define SW_WR_PORT $TRIS(%1)
define SW_WR_PIN $PIN(%1)
end option