Aaron Nyholm commented on a discussion on bsps/arm/xilinx-zynq/dev/spi/zynq-qspi-flash-transfer.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/295#note_114546 > +#include <rtems.h> > +#include <stdint.h> > + > +#include <dev/spi/zynq-qspi-flash-defs.h> > + > +/* > + * The following variables are shared between non-interrupt processing and > + * interrupt processing such that they must be global. > + */ > +rtems_id transfer_task; > + > +__attribute__((weak)) void zqspi_write_unlock(zqspiflash *driver) { > +} > + > +__attribute__((weak)) void zqspi_write_lock(zqspiflash *driver) { > +} They're used in `zynq-qspi-flash.c`. They're there to allow apps to run some code before and after a flash write in the case of the flash chip having the WriteEnable pin tied to a GPIO pin. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/295#note_114546 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
