Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - cver65

Pages: [1]
Wiring Implementations / Support of Cortex M3 in Wiring
« on: April 12, 2012, 05:57:35 AM »
As pointed out in a sister thread,37.msg386.html#msg386, I'm interested in supporting 32-bit Cortex chips/boards in Wiring/Arduino platform.

I really welcomed the announcement of joining maple and Wiring platforms ... back in October (2011), but was disappointed to see that nobody really has time to make that happen.

I firmly believe that being able to handle most differences between chips/boards at the library level should be the definitive advantage of the winning platform. Wiring has at least one advantage here : the segregation of libraries between "core" (chip/board specific) and "cross platform" (chip/board agnostic).

Unfortunately, the community is small, time-strapped and apparently unable (until now ;-) to convert people to join.

Here is the place (I hope) where some progress regarding the fusion of libmaple and Wiring could be discussed. My programming skills and time are limited (as everything in life), but even the smartest programmer can't get nowhere without an explicit goal/requirements etc. So shoot : what's needed ?

Unfortunately, I wonder what is the most difficult part of it
Just found some lackind PIN definitions for Arduino :

Nano has 8 Analog Ins (from 0-7), while standard Uno etc using DIP only have 6.

Result is that A6 and A7 are "undefined" in Wiring while they should be defined (apparently as 6 and 7) in the "c:\Program Files\Wiring\hardware\Arduino\DuemilanoveUno\BoardDefs.h"

I also saw #define TOTAL_ANALOG_PINS       6

That is also incorrect.

Actually, this is strange as I expected to be able to use DigitalRead (A4) correctly, but that won't be the case here either.

To be discussed/solved. Probably the NANO needs to be handled separately after all.
I just was looking for some info on Wirinig libraries, and I really liked the idea of segregating those in "core" (for microprocessor dependent) and "cross-platform" (that should work on any ÁP).

Obviously, some like EEPROM make only sense if there is some EEPROM on the chip, like AVR. However, I was surprised to see that the EEPROM related page was unfortunately not just specific to AVR boards, but to Wiring old generation ... : indeed, the refers to "pin 48" to blink the LED !

OTOH, the page strangely refers to BASIC alternatives far from Wiring, but forgets to include the Arduino MEGA that is more similar to Wiring V1 first column.

There is also an error on that comparison page, the Arduino supports more than 3 PWM outputs, I believe it is 6 (D3 D5 D6 D9 D10 D11).

Maybe not very important, but worth a correction IMHO.

Best regards.
Wiring Implementations / Why not join forces with Arduino
« on: October 14, 2011, 03:54:44 PM »
I was just wondering, given that Arduino got so much traction and Wiring (while its source) does not appear so crowded, why don't you just join forces ?

Anything personal ?
Pages: [1]