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.
*/
Is that means that the “other team” is screwing things also ?
Is that means that the “other team” is screwing things also ?
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
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.
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'
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
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
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
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
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
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
so the windows set up is working, but i’m not going to my virtualbox xp to try it
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
also no soldering to do.
http://www.aliexpress.com/snapshot/7217 … 6028352305
what new year holiday?
srp
also no soldering to do.
http://www.aliexpress.com/snapshot/7217 … 6028352305
what new year holiday?
srp
i suppose xmas also?
i’m happy to report thermocouple indicates i’m at about 38C, @ 4Hz
srp
