Platform

List of files available for downloading:

[download id=”420″ format=”1″]

[download id=”418″ format=”1″]

[download id=”416″ format=”1″]
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,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.

Share