The "other" Arduino IDE (1.7.7)

mrburnette
Thu Dec 31, 2015 3:28 pm
Latest STM32 core F1 files and shipping 1.7.7 (have not tried 1.7.8)
Sketch: One of my sketches to calculate the hypotenuse of a right triangle.

Verbose output:
/*
THIS OUTPUT HAS BEEN REMOVED BECAUSE IT WAS AVR-centric... please look on down the posts to the actual STM32 listing.
*/


martinayotte
Thu Dec 31, 2015 4:44 pm
Euhh ???
Is that means that the “other team” is screwing things also ? :o

mrburnette
Thu Dec 31, 2015 6:13 pm
martinayotte wrote:Euhh ???
Is that means that the “other team” is screwing things also ? :o

Rick Kimball
Thu Dec 31, 2015 6:16 pm
That sure looks like the avr gcc compiler to me. Are you sure you had the maple board selected?

mrburnette
Thu Dec 31, 2015 6:26 pm
Rick Kimball wrote:That sure looks like the avr gcc compiler to me. Are you sure you had the maple board selected?

Rick Kimball
Thu Dec 31, 2015 6:29 pm
That looks better. Do you see that version gaining any traction?

mrburnette
Thu Dec 31, 2015 6:34 pm
Rick Kimball wrote:That looks better. Do you see that version gaining any traction?

martinayotte
Fri Jan 01, 2016 3:50 pm
@Ray, for the same reason that Rick posted, it is why I was talking about “screwing things”, it is because your first screen shot was showing AVR instead of STM32, so I though the board selection was broken …

mrburnette
Fri Jan 01, 2016 4:04 pm
martinayotte wrote:@Ray, for the same reason that Rick posted, it is why I was talking about “screwing things”, it is because your first screen shot was showing AVR instead of STM32, so I though the board selection was broken …

martinayotte
Fri Jan 01, 2016 4:53 pm
:lol:

mrburnette
Sun Jan 10, 2016 7:56 pm
Today I installed ArduinoIDE 1.7.8 from here.

I went through my working examples and I also selected some forum examples and some of my posted code to Hackster.io
All examples compiled and the flash size and SRAM requirements appeared to favorably compare with IDE 1.6.5 from Arduino.cc

My random selection of sketches totaled about 20, including Nokia, BMP180, ILI9341, and other SPI and I2C programs. One example included a user template and no issues there.

The 1.7.8 appears to be a mature IDE that is current and does not require Board Manager. I ran the tests on Maple Mini (orig bootloader) from the Master github dated 20151214.

Ray


RogerClark
Wed Jan 13, 2016 6:13 am
Thanks Ray

I’ll probably give it a try, as its a pain to have to keep downloading GCC ARM on my various machines as well as showing other people how to do it as I’m using 3 external cores now i.e STM32, ESP8266 and nRF51822, and I have all 3 of them in my Hardware folder as I can’t risk the ESP8266 core getting screwed up by an update. i.e I need to keep version control of the cores, which is basically impossible if you rely on the Boards manager.


zmemw16
Thu Jan 14, 2016 3:33 am
i’ve also installed 1.7.8

had to go off & find out how to add esp8266

tried for maple mini and got no such file for arm*-gcc
{runtime.tools.arm-none-eabi-gcc.path}/bin/arm-none-eabi-g++ -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -MMD -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_maple_mini -DVECT_TAB_ADDR=0x8002000 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10708 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32F1 -DMCU_STM32F103CB -DSERIAL_USB -mthumb -march=armv7-m -D__STM32F1__ -DMCU_STM32F103CB -DSERIAL_USB -mthumb -march=armv7-m -D__STM32F1__ -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/system/libmaple -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/system/libmaple/include -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/system/libmaple/stm32f1/include -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/system/libmaple/usb/stm32f1 -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/system/libmaple/usb/usb_lib -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/cores/maple -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/variants/maple_mini -I/home/stephen/ard178/sketchbook/libraries/Enrf24 -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/libraries/SPI/src -I/home/stephen/ard178/sketchbook/libraries/pcd8544 /tmp/build2329316352294797583.tmp/nokia_works_on_maple_mini.cpp -o /tmp/build2329316352294797583.tmp/nokia_works_on_maple_mini.cpp.o
Cannot run program "{runtime.tools.arm-none-eabi-gcc.path}/bin/arm-none-eabi-g++": error=2, No such file or directory
WARNING: Category 'Uncategorized' in library Rest is not valid. Setting to 'Uncategorized'
WARNING: Category 'Uncategorized' in library Rest is not valid. Setting to 'Uncategorized'
WARNING: Category 'Uncategorized' in library Rest is not valid. Setting to 'Uncategorized'


RogerClark
Thu Jan 14, 2016 4:05 am
Stephen

I wonder when Ray last updated.

I removed support for 1.6.2 a while ago (by common agreement) and I think 1.6.3 was when the BM came in and they moved the gcc arm compiler location and also changed the vars that platform.txt uses to get the location of gcc


mrburnette
Thu Jan 14, 2016 1:32 pm
zmemw16 wrote:i’ve also installed 1.7.8
had to go off & find out how to add esp8266
tried for maple mini and got no such file for arm*-gcc

@Ray
how did you get the arm-gcc to be available? have i missed some step out?

did some grep’ing and found some things in the platform.txt files that may well need addressing.
wasn’t there a script for renaming keys in platform.txt files?
time for sleep
stephen


zmemw16
Thu Jan 14, 2016 3:14 pm
i might be doing it wrong, just to be sure

i install 1.6.5r5
set preferences as font 22, sketchbook directory, line numbers & folding
then in board manager i take the avr installed boards(first item is 1.6.7 or 8??) go back to 1.6.5
then i install the cortex-m3 boards again 1.6.5

also noticed the 1.7.7 to 1.7.8 bit
in principle same sequence, but i copy my ‘current’ Arduino-STM32 real directory not soft link
into sketchbook/hardware
i have copied in the esp8266com directory in as well, but not this time

1.7.7/8 only has a preferences.txt in ~/.arduino15

i’ll do another 1.7.8 install from scratch with my downloaded files.

stephen

fresh from headerizing another set of 3 baite mini’s, cross-eyed as well


zmemw16
Thu Jan 14, 2016 4:58 pm
i’ve just done a linux install of 1.7.8 from the same place as your windows version.

changes to sketchbook dir require a restart, stm32 boards now seen as a result

tried a compile, no arm gcc
Using library Enrf24 in folder: /home/stephen/ard178/sketchbook/libraries/Enrf24
Using library SPI in folder: /home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/libraries/SPI
Using library pcd8544 in folder: /home/stephen/ard178/sketchbook/libraries/pcd8544 (legacy)

{runtime.tools.arm-none-eabi-gcc.path}/bin/arm-none-eabi-g++ -c -g -Os -w -DDEBUG_LEVEL=DEBUG_NONE -MMD -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -DBOARD_maple_mini -DVECT_TAB_ADDR=0x8005000 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -mcpu=cortex-m3 -DF_CPU=72000000L -DARDUINO=10708 -DARDUINO_MAPLE_MINI -DARDUINO_ARCH_STM32F1 -DMCU_STM32F103CB -DSERIAL_USB -mthumb -march=armv7-m -D__STM32F1__ -DMCU_STM32F103CB -DSERIAL_USB -mthumb -march=armv7-m -D__STM32F1__ -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/system/libmaple -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/system/libmaple/include -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/system/libmaple/stm32f1/include -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/system/libmaple/usb/stm32f1 -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/system/libmaple/usb/usb_lib -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/cores/maple -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/variants/maple_mini -I/home/stephen/ard178/sketchbook/libraries/Enrf24 -I/home/stephen/ard178/sketchbook/hardware/Arduino_STM32/STM32F1/libraries/SPI/src -I/home/stephen/ard178/sketchbook/libraries/pcd8544 /tmp/build5425516666361095622.tmp/nokia_works_on_maple_mini.cpp -o /tmp/build5425516666361095622.tmp/nokia_works_on_maple_mini.cpp.o
Cannot run program "{runtime.tools.arm-none-eabi-gcc.path}/bin/arm-none-eabi-g++": error=2, No such file or directory


RogerClark
Thu Jan 14, 2016 8:22 pm
look in the github commits and try going back to the version prior to the removal of the platform rewrite keys stuff.

zmemw16
Fri Jan 15, 2016 12:17 am
i seem to lose the rewrite file in first week of nov 15, not sure if its GD32F1 or STM32F1
not sure how to navigate the commit history on github

more bash and my closest that has a STM32F1/*rewrite* file is a zip from 311015-1144

could/would you have quick look at github and tell me if that’s close enough?
maybe how to do that as well?

stephen


RogerClark
Fri Jan 15, 2016 1:02 am
Stephen

I think the last commit before removing support for IDE 1.6.2 and older was

https://github.com/rogerclarkmelbourne/ … 99b3cb7136

You just need platform.txt and platform.rewrite.keys from that commit

But you could download the whole lot

if you have git installed on your machine and did a local clone its even easier, as you can do git checkout 37dc7960765e6cfff1ac336967547c99b3cb7136 and it should switch your local files to that commit


zmemw16
Fri Jan 15, 2016 1:44 am
i’ve just tried and got the same result again, even went with an early 0915; nope

so the windows set up is working, but i’m not going to my virtualbox xp to try it :D

earlier i was looking to empty the bedside unit drawers. dropped on one of the 2 max6675 breakouts i knew i had.
resorted the 2 stackable containers, the 1.5 drawers worth went into, looking for the other one.
although i’d looked previously i’d missed it; the second probably got soldered and is in something somewhere.
got a few more already ordered after the failed first search, oh well … … …
i’ve got one more container left, enough to clear the top of the unit.

i’m going back to a clean 1.6.5r5
would you revert the avr boards back to 1.6.5 as i’ve been doing?

stephen


zmemw16
Sat Jan 16, 2016 1:19 pm
ordered a couple of max6675 modules 311215, arrived today 160116
also no soldering to do.

http://www.aliexpress.com/snapshot/7217 … 6028352305

what new year holiday? :D

srp


mrburnette
Sat Jan 16, 2016 2:35 pm
zmemw16 wrote:ordered a couple of max6675 modules 311215, arrived today 160116
also no soldering to do.

http://www.aliexpress.com/snapshot/7217 … 6028352305

what new year holiday? :D

srp


zmemw16
Sat Jan 16, 2016 5:47 pm
noted uk ny != chinese ny
i suppose xmas also?

i’m happy to report thermocouple indicates i’m at about 38C, @ 4Hz

srp


Leave a Reply

Your email address will not be published. Required fields are marked *