GitLab has been upgraded to 13.3.6. If you encounter any issues mail code@riscosopen.org

Commit 3b355c5f authored by Jeffrey Lee's avatar Jeffrey Lee

HAL build fix

Detail:
  c/musb_hal - Add a dummy messages_file_lookup implementation for use with HAL builds of the code (as required by musb_peri.c / musb_root.c)
Admin:
  Tested on BB-xM


Version 0.29. Tagged as 'MUSBDriver-0_29'
parent 8d9d1841
/* (0.28)
/* (0.29)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.28
#define Module_MajorVersion_CMHG 0.29
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 17 Dec 2016
#define Module_Date_CMHG 18 Dec 2016
#define Module_MajorVersion "0.28"
#define Module_Version 28
#define Module_MajorVersion "0.29"
#define Module_Version 29
#define Module_MinorVersion ""
#define Module_Date "17 Dec 2016"
#define Module_Date "18 Dec 2016"
#define Module_ApplicationDate "17-Dec-16"
#define Module_ApplicationDate "18-Dec-16"
#define Module_ComponentName "MUSBDriver"
#define Module_ComponentPath "mixed/RiscOS/Sources/HWSupport/USB/Controllers/MUSBDriver"
#define Module_FullVersion "0.28"
#define Module_HelpVersion "0.28 (17 Dec 2016)"
#define Module_LibraryVersionInfo "0:28"
#define Module_FullVersion "0.29"
#define Module_HelpVersion "0.29 (18 Dec 2016)"
#define Module_LibraryVersionInfo "0:29"
......@@ -120,3 +120,11 @@ void usbhal_musb_shutdown(struct usbd_bus *bus)
/* Reset controller */
sc->musb_base->otg_sysconfig = OTG_SYSCONFIG_SOFTRESET;
}
/* Technically returns _kernel_oserror, but pretend void to avoid HAL file depending on kernel.h */
void *messages_file_lookup(char *token, char *buffer, int *buffer_size, int num_args, ...)
{
/* Assume that buffer is large enough, and output doesn't really matter */
memcpy(buffer, token, strlen(token)+1);
return NULL;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment