Platform

List of files available for downloading:

Xduino for ARM Cortex-M3 0.3 v0.3 [34.5 kB]
Xduino v0.3 implements Arduino-like platform for ARM Cortex-M3 STM32F10x board
Xduino for ARM Cortex-M3 0.11 v0.11 [30.18 kB]
Xduino v0.11 implements Arduino-like platform for ARM Cortex-M3 STM32F10x board

Xduino for ARM Cortex-M3 0.1 v0.1 []
Xduino v0.1 implements Arduino-like platform for ARM Cortex-M3 STM32F10x board

I have started writing Arduino library for ARM Cortex-M3 processor. It is currently in C++.

Supported processor platforms are:
ARM Cortex-M3 model STM32F10x from

Supported functions (so far) are:

doInit(); //General initialization
doGPIO(GPIOx, rehabilitation
GPIO_Pin_x,OUTPUT|INPUT);
void High(void);
void Low(void);
void Toggle(void);
bool Status(void);

Serial(Baudrate); //equivalent of Serial.begin()
Serial.print();
Serial.println();
Serial.read();
Serial.available();

Sample code:

/* Includes —specific to STM32F10x boards in C (not C++) format */
extern “C” {
#include “stm32f10x_lib.h”
}

/* General xDuino like includes to create Arduino type language */
#include “generalInit.h”
#include “doGPIO.h”
#include “Serial.h”

#define INPUT GPIO_Mode_IN_FLOATING
#define OUTPUT GPIO_Mode_Out_PP

int main(void)
{

doInit();
//Led connected to GPIOB pin 7
doGPIO Led1 = doGPIO(GPIOB,GPIO_Pin_7,OUTPUT);

//Serial port currently defaults to GPIOA pin 9 & 10
Serial Computer1 = Serial(115200);

Computer1.println(“Starting xDuino program for Arduino on ARM…”);

Led1.High();
Computer1.println(Led1.Read());
Led1.Low();
Computer1.println(Led1.Read());
Led1.Toggle();
Computer1.println(Led1.Read());

}

I have started writing Arduino library for ARM Cortex-M3 processor. It is currently in C++.

Supported processor platforms are:
ARM Cortex-M3 model STM32F10x from

Supported functions (so far) are:

doInit(); //General initialization
doGPIO(GPIOx, diabetes and Pregnancy
GPIO_Pin_x,OUTPUT|INPUT);
void High(void);
void Low(void);
bool Read(void);
void Toggle(void); // new function : -)

Serial(Baudrate); //equivalent of Serial.begin()
Serial.print();
Serial.println();
Serial.read();
Serial.available();

Sample code:

/* Includes —specific to STM32F10x boards in C (not C++) format */
extern “C” {
#include “stm32f10x_lib.h”
}

/* General xDuino like includes to create Arduino type language */
#include “generalInit.h”
#include “doGPIO.h”
#include “Serial.h”

#define INPUT GPIO_Mode_IN_FLOATING
#define OUTPUT GPIO_Mode_Out_PP

int main(void)
{

doInit();
//Led connected to GPIOB pin 7
doGPIO Led1 = doGPIO(GPIOB,GPIO_Pin_7,OUTPUT);

//Serial port currently defaults to GPIOA pin 9 & 10
Serial Computer1 = Serial(115200);

Computer1.println(“Starting xDuino program for Arduino on ARM…”);

Led1.High();
Led1.Low();
Led1.Toggle();

if(Led1.Read())
  {
   Computer1.println(“On”);
  } else {
   Computer1.println(“Off”);
  }
}

I have started writing Arduino library for ARM Cortex-M3 processor. It is currently in C++.

Supported processor platforms are:
ARM Cortex-M3 model STM32F10x from

Supported Arduino-like functions (so far) are:

doInit(); //General initialization
doGPIO(GPIOx, ambulance
GPIO_Pin_x,OUTPUT|INPUT);
void High(void);
void Low(void);
bool Read(void);
void Toggle(void); // new function : -)

Serial(Baudrate); //equivalent of Serial.begin()
Serial.print();
Serial.println();
Serial.read();
Serial.available();

Sample code:

/* Includes —specific to STM32F10x boards in C (not C++) format */
extern “C” {
#include “stm32f10x_lib.h”
}

/* General xDuino like includes to create Arduino-like syntax */
#include “generalInit.h”
#include “doGPIO.h”
#include “Serial.h”

#define INPUT GPIO_Mode_IN_FLOATING
#define OUTPUT GPIO_Mode_Out_PP

int main(void)
{

doInit();
//Led connected to GPIOB pin 7
doGPIO Led1 = doGPIO(GPIOB,GPIO_Pin_7,OUTPUT);

//Serial port currently defaults to GPIOA pin 9 & 10
Serial Computer1 = Serial(115200);

Computer1.println(“Starting xDuino program for Arduino on ARM…”);

Led1.High();
Led1.Low();
Led1.Toggle();

if(Led1.Read())
  {
   Computer1.println(“On”);
  } else {
   Computer1.println(“Off”);
  }
}

X Duino project extends the hardware horizon of Arduino which (as of today) is solely based on ATMEGA processor. The possibilities are are limitless.

Currently the following processor platforms are supported:
[ARM]
ARM Cortex-M3 of STM32F10x

(This list will keep expanding based on your contribution or if I can get a hold of more boards : -)

Currently no IDE is provided which means that users will need to obtain their own compiler (Arm GCC, this
Keil RV-MDK, IAR, etc) for this to work.

Development of Xduino IDE is under consideration.

Be Sociable, Share!
Share
  1. #1 by Opas on August 2nd, 2009

    I can not compile your project in Keil Realview MDK. Please give me a sample project file for Keil.

  2. #2 by admin on August 5th, 2009

    The next version (0.3 : -) will be released with the Keil RV-MDK project file. So please check back often.

  3. #3 by Jose on August 6th, 2009

    I was reading about Xduino at your web site and was wondering if the Cortino board (http://www.bugblat.com/products/cor.html) could also be programmed using Xduino. It seems that the guys that started this project also selected in a first instance the ARM Cortex M3 processor.

    It would be great if it were possible also with the CORTINO development board. I would greatly appreciate your insight and advice about the matter. Thank you very much in advance! Regards.

  4. #4 by Ram on August 6th, 2009

    We haven’t had a chance to get a hold of Cortino board yet so this cannot be confirmed. However, it should work fine for the one with the STM32f103ret6 mcu.

  5. #5 by jf on August 13th, 2009

    Hi

    I also am very interesting in hardware like ardunio. The project Cortino board is very interesting.

    I have working with arduino, but I think that the procesador is not very powerfull. I would like to make a desing like the arduino board, with de arm mcu. ( like cortino, buy with a open design )

    Best regards

  6. #6 by Ram on August 13th, 2009

    Excellent! Please let us know if you have any update on the open ARM board. We would recommend Cortex-M3 from STM32 mcu as it is very cost effective with good performance. Also, this mcu would be pretty much compatible with current Xduino release.

Comments are closed.