1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-29 18:52:13 +01:00

[sam] fixing compilation in IDE (changing some #includes).

This commit is contained in:
David A. Mellis 2011-07-17 09:50:36 -04:00
parent 25e3924dda
commit d9dcc66232
23 changed files with 25 additions and 20 deletions

View File

@ -219,7 +219,7 @@ public class Compiler implements MessageConsumer {
// collecting them into the core.a library file.
System.out.println("3. compileCore");
System.out.println("corePath: " + corePath);
compileCore(avrBasePath, buildPath, corePath, pins, pinsPath, configPreferences);
compileCore(avrBasePath, buildPath, corePath, systemPath, pins, pinsPath, configPreferences);
/*
@ -762,13 +762,14 @@ public class Compiler implements MessageConsumer {
// 3. compile the core, outputting .o files to <buildPath> and then
// collecting them into the core.a library file.
void compileCore (String avrBasePath, String buildPath, String corePath, String pins, String pinsPath, HashMap<String, String> configPreferences)
void compileCore (String avrBasePath, String buildPath, String corePath, String systemPath, String pins, String pinsPath, HashMap<String, String> configPreferences)
throws RunnerException
{
System.out.println("compileCore(...) start");
ArrayList<String> includePaths = new ArrayList();
includePaths.add(corePath); //include core path only
includePaths.add(systemPath);
if (pinsPath != null) includePaths.add(pinsPath);
//debug includePaths

View File

@ -129,7 +129,7 @@ typedef enum IRQn
* \brief CMSIS includes
*/
#include <core_cm3.h>
#include <CMSIS/CM3/CoreSupport/core_cm3.h>
/*@}*/

View File

@ -50,7 +50,7 @@
/*----------------------------------------------------------------------------
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>
#include <assert.h>

View File

@ -50,7 +50,7 @@
/*----------------------------------------------------------------------------
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <assert.h>
#include <stdint.h>

View File

@ -39,7 +39,7 @@
/*----------------------------------------------------------------------------
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -50,7 +50,7 @@
/*----------------------------------------------------------------------------
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>
#include <assert.h>

View File

@ -53,7 +53,7 @@
/*----------------------------------------------------------------------------
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -5,7 +5,7 @@
* Headers
*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -61,7 +61,7 @@
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -40,7 +40,7 @@
/*----------------------------------------------------------------------------
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -52,7 +52,7 @@
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -41,7 +41,7 @@
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
/*----------------------------------------------------------------------------
* Macros

View File

@ -40,7 +40,7 @@
/*----------------------------------------------------------------------------
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
/*----------------------------------------------------------------------------
* Definitions

View File

@ -40,7 +40,7 @@
/*----------------------------------------------------------------------------
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -48,7 +48,7 @@
* Headers
*------------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -41,7 +41,7 @@
* Headers
*------------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -34,7 +34,7 @@
* Headers
*----------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -58,7 +58,7 @@
* Headers
*------------------------------------------------------------------------------*/
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -44,7 +44,7 @@
#ifndef _WDT_
#define _WDT_
#include "chip.h"
#include "../chip.h"
#include <stdint.h>

View File

@ -20,6 +20,10 @@
/*----------------------------------------------------------------------------*/
#ifndef sam3s_ek
#define sam3s_ek
#endif
/** Name of the board */
#define VARIANT_NAME "SAM3S-EK"