Some more file/path restructuring.

All #includes now explicitly use the "<libopencm3/stm32/rcc.h>" format.
If you want to get rid of the "libopencm3" prefix in your local project you
can add a respective -I entry in your Makefile (not recommended though).

All .ld files and .a libs are installed in $(TOOLCHAIN_DIR)/lib
directly (as before), but are now renamed to avoid potential
conflicts now or in the future. Examples:

  libopencm3_lpc13xx.a
  libopencm3_lpc13xx.ld
  libopencm3_stm32.a
  libopencm3_stm32.ld
This commit is contained in:
Uwe Hermann
2010-12-31 18:18:39 +01:00
parent 95793aa6ce
commit 8f251e8a9d
119 changed files with 249 additions and 252 deletions

View File

@@ -18,7 +18,7 @@
*/
#include <string.h>
#include <usb/usbd.h>
#include <libopencm3/usb/usbd.h>
#include "usb_private.h"
struct _usbd_device _usbd_device;

View File

@@ -18,7 +18,7 @@
*/
#include <stdlib.h>
#include <usb/usbd.h>
#include <libopencm3/usb/usbd.h>
#include "usb_private.h"
static struct usb_control_state {

View File

@@ -17,10 +17,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <cm3/common.h>
#include <stm32/tools.h>
#include <stm32/usb.h>
#include <usb/usbd.h>
#include <libopencm3/cm3/common.h>
#include <libopencm3/stm32/tools.h>
#include <libopencm3/stm32/usb.h>
#include <libopencm3/usb/usbd.h>
#include "usb_private.h"
/** Initialize the USB device controller hardware of the STM32. */

View File

@@ -18,7 +18,7 @@
*/
#include <string.h>
#include <usb/usbd.h>
#include <libopencm3/usb/usbd.h>
#include "usb_private.h"
void usbd_register_set_config_callback(void (*callback)(u16 wValue))