Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) Maple Mini board compiler error (Read 11228 times)
Marius S
Junior Member
**
Offline


Posts: 11
Joined: Sep 26th, 2013
Maple Mini board compiler error
Jun 22nd, 2015 at 10:48am
Print Post  
Hi,

WIN7 x64
VS2013 upd4
MAPLE IDE 0.0.12 (March 2013 release - current release)

Recently I've tried again to use the Maple board that I intend to use in a project.
The IDE is correctly configured in the Board manager, but:
I can't compile.

Why?

It tries to use the correct PATH but not the right .exe. It wants to use avr-g++ when it should use the gcc arm compiler.

Please see in the attached picture.

Code
Select All
Compiling 'maple_test' for 'LeafLabs Maple Mini Rev 2 to Flash'
Build folder: i
The given key was not present in the dictionary.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.RefreshIntellisenseOfSketch(Project oProject, SketchBuilder sk)
Summary: Header=1 Prototypes=5 Imports=1
Additional Defines:
Architecture Tools: D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\
GCC: 4.4.1
Sketchbook: file:///C:/Users/Force/Documents/MapleIDE
Core Include Paths
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple'
Library Include Paths (1)
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal'
Platform Libraries Root Include Paths
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries'
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries'
Include Path 'C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers'
Include Path 'C:\Users\Force\Documents\MapleIDE\libraries'
All import libraries will be re-compiled
D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -Wall -mmcu=STM32F103CB -DF_CPU=72000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" -o _test.cpp.o"  _test.cpp"
The system cannot find the file specified
	Process: D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -Wall -mmcu=STM32F103CB -DF_CPU=72000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" -o _test.cpp.o"  _test.cpp"
D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -Wall -mmcu=STM32F103CB -DF_CPU=72000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" -o dCrystal\LiquidCrystal.cpp.o"  tal.cpp"
The system cannot find the file specified
	Process: D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -Wall -mmcu=STM32F103CB -DF_CPU=72000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" -o dCrystal\LiquidCrystal.cpp.o"  tal.cpp"
Error compiling
Toolchain reload complete
The given key was not present in the dictionary.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.RefreshIntellisenseOfSketch(Project oProject, SketchBuilder sk)

 



« Last Edit: Jun 22nd, 2015 at 12:11pm by Marius S »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Maple Mini board compiler error
Reply #1 - Jun 22nd, 2015 at 11:26am
Print Post  
Hi,

It sounds like maple have made a new release since we tested visual micro. I expect they have changed some things which now break and need re-visiting.

If visual micro can not find known configuration keys it will default to the old hard-coded arduino 1.0.x compile which will try to use avr
  
Back to top
IP Logged
 
Marius S
Junior Member
**
Offline


Posts: 11
Joined: Sep 26th, 2013
Re: Maple Mini board compiler error
Reply #2 - Jun 22nd, 2015 at 11:35am
Print Post  
Hi Tim,

Not really. It's the same old version from March 2013.
Maybe a dumb question but where do I find those configuration keys?

LE: Definitively its a Visual Micro issue.

I just installed an old version of VM, 1412.10 Sp6, and it works as it should.

Result of the compile of the same file (I've deleted all the extra files created by VM, except the .ino)


Compiling 'maple_test' for 'LeafLabs Maple Mini Rev 2 to Flash'
Build folder: 
Summary: Header=1 Prototypes=5 Imports=1
Additional Defines: 
Architecture Tools: D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32/hardware/tools/arm/bin/
GCC: 4.4.1
Sketchbook: file:///C:/Users/Force/Documents/MapleIDE
All import libraries will be re-compiled
Core Include Paths
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple'
Library Include Paths (1)
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal'
Platform Libraries Root Include Paths
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries'
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries'
Include Path 'C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers'
Include Path 'C:\Users\Force\Documents\MapleIDE\libraries'
bi-g++" -Os -g -mthumb -march=armv7-m -nostdlib -ffunction-sections -fdata-sections -Wl,--gc-sections -mcpu=cortex-m3 -DSTM32_MEDIUM_DENSITY -DMCU_STM32F103CB -DBOARD_maple_mini -DF_CPU=72000000L -DARDUINO=18 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -DMAPLE_IDE -DVECT_TAB_FLASH -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" test.cpp" -fno-rtti -fno-exceptions -Wall -o test.cpp.o" -c
bi-g++" -Os -g -mthumb -march=armv7-m -nostdlib -ffunction-sections -fdata-sections -Wl,--gc-sections -mcpu=cortex-m3 -DSTM32_MEDIUM_DENSITY -DMCU_STM32F103CB -DBOARD_maple_mini -DF_CPU=72000000L -DARDUINO=18 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -DMAPLE_IDE -DVECT_TAB_FLASH -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" tal.cpp" -fno-rtti -fno-exceptions -Wall -o Crystal\LiquidCrystal.cpp.o" -c
bi-gcc" -mcpu=cortex-m3 -march=armv7-m -mthumb -DBOARD_maple_mini -DMCU_STM32F103CB -DSTM32_MEDIUM_DENSITY -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -DMAPLE_IDE -x assembler-with-cpp -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" S" -o o" -c  
bi-gcc" -Os -g -mthumb -march=armv7-m -nostdlib -ffunction-sections -fdata-sections -Wl,--gc-sections -mcpu=cortex-m3 -DSTM32_MEDIUM_DENSITY -DMCU_STM32F103CB -DBOARD_maple_mini -DF_CPU=72000000L -DARDUINO=18 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -DMAPLE_IDE -DVECT_TAB_FLASH -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" c" -o o" -c
bi-gcc" -Os -g -mthumb -march=armv7-m -nostdlib -ffunction-sections -fdata-sections -Wl,--gc-sections -mcpu=cortex-m3 -DSTM32_MEDIUM_DENSITY -DMCU_STM32F103CB -DBOARD_maple_mini -DF_CPU=72000000L -DARDUINO=18 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -DMAPLE_IDE -DVECT_TAB_FLASH -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" c" -o o" -c
bi-gcc" -Os -g -mthumb -march=armv7-m -nostdlib -ffunction-sections -fdata-sections -Wl,--gc-sections -mcpu=cortex-m3 -DSTM32_MEDIUM_DENSITY -DMCU_STM32F103CB -DBOARD_maple_mini -DF_CPU=72000000L -DARDUINO=18 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -DMAPLE_IDE -DVECT_TAB_FLASH -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" c" -o o" -c
bi-gcc" -Os -g -mthumb -march=armv7-m -nostdlib -ffunction-sections -fdata-sections -Wl,--gc-sections -mcpu=cortex-m3 -DSTM32_MEDIUM_DENSITY -DMCU_STM32F103CB -DBOARD_maple_mini -DF_CPU=72000000L -DARDUINO=18 -DERROR_LED_PORT=GPIOB -DERROR_LED_PIN=1 -DMAPLE_IDE -DVECT_TAB_FLASH -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE
« Last Edit: Jun 22nd, 2015 at 12:04pm by Marius S »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Maple Mini board compiler error
Reply #3 - Jun 22nd, 2015 at 11:44am
Print Post  
Ok, I can't remember what the config was for maple. I will look at it over the next few days to remind myself and let you know.

If you switch on "tools>options>visual micro>compiler>show build properties" it might give some clues
  
Back to top
IP Logged
 
Marius S
Junior Member
**
Offline


Posts: 11
Joined: Sep 26th, 2013
Re: Maple Mini board compiler error
Reply #4 - Jun 22nd, 2015 at 11:51am
Print Post  
Code (C++)
Select All
With the old version of VM (1412.10SP6) here is the result:

 [code]Board Properties
name=LeafLabs Maple Mini Rev 2 to Flash
upload.file_type=bin
upload.maximum_size=108000
upload.ram.maximum_size=17000
upload.flash.maximum_size=108000
upload.usbID=1EAF:0003
upload.altID=1
upload.uploader=dfu-util
upload.auto_reset=true
build.board=maple_mini
build.mcu=STM32F103CB
build.family=cortex-m3
build.f_cpu=72000000L
build.core=maple
build.submdl=stm32f103
build.vect=VECT_TAB_FLASH
build.linker=maple_mini/flash.ld
build.using=armcompiler
build.density=STM32_MEDIUM_DENSITY
build.error_led_port=GPIOB
build.error_led_pin=1
runtime.ide.path=D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32
\system
runtime.ide.version=101
originalid=maple_mini
compiler.path={runtime.ide.path}/hardware/tools/arm/bin/
compiler.c.cmd=arm-none-eabi-gcc
compiler.c.flags=-Os -g  -mthumb -march=armv7-m -nostdlib -ffunction-sections -fdata-sections -Wl,--gc-sections
compiler.c.elf.flags=-mcpu=cortex-m3 -mthumb -Xlinker --gc-sections --print-gc-sections --march=armv7-m -Wall
compiler.c.elf.cmd=arm-none-eabi-gcc
compiler.s.cmd=arm-none-eabi-gcc
compiler.s.flags=-mcpu=cortex-m3 -march=armv7-m -mthumb
compiler.cpp.cmd=arm-none-eabi-g++
compiler.cpp.flags=-Os -g  -mthumb -march=armv7-m -nostdlib -ffunction-sections -fdata-sections  -Wl,--gc-sections
compiler.ar.cmd=arm-none-eabi-ar
compiler.ar.flags=rcs
compiler.objcopy.cmd=arm-none-eabi-objcopy
compiler.objcopy.flags=-Obinary -v
build.command.size=arm-none-eabi-size
build.command.size_of_prog_ext=elf
build.command.size_of_tags=text;data
build.extra_flags=-fno-rtti -fno-exceptions -Wall
build.s.exclude_vm_defines=true
build.noeep=true
upload.tool=mapleflash
upload.serial_ignore=true
upload.errors_standard_output=true
upload.auto_reset_dtr=fallingedge
upload.auto_reset_bytestosend=1EAF
xxvm.upload.sleep.after.close.flush=1000
reset.tool=mapleflash
serial.parity=N
serial.databits=8
serial.stopbits=1
serial.debug_rate=115200
er}" -L"{runtime.ide.path}/hardware/leaflabs/cores/maple"
compiler.size.cmd=arm-none-eabi-size
recipe.c.o.pattern="{compiler.path}{compiler.c.cmd}" {compiler.c.flags} -mcpu=cortex-m3 -D{build.density} -DMCU_{build.mcu} -DBOARD_{build.board} -DF_CPU={build.f_cpu} -D{software}=18 -DERROR_LED_PORT={build.error_led_port} -DERROR_LED_PIN={build.error_led_pin} -DMAPLE_IDE -D{build.vect}   {includes} "{source_file}"  -o "{object_file}" -c
recipe.cpp.o.pattern="{compiler.path}{compiler.cpp.cmd}" {compiler.cpp.flags} -mcpu=cortex-m3 -D{build.density} -DMCU_{build.mcu}  -DBOARD_{build.board} -DF_CPU={build.f_cpu} -D{software}=18 -DERROR_LED_PORT={build.error_led_port} -DERROR_LED_PIN={build.error_led_pin} -DMAPLE_IDE -D{build.vect}  {includes} "{source_file}" {build.extra_flags} -o "{object_file}" -c
recipe.s.o.pattern="{compiler.path}{compiler.s.cmd}" {compiler.s.flags}  -DBOARD_{build.board} -DMCU_{build.mcu} -D{build.density} -DERROR_LED_PORT={build.error_led_port} -DERROR_LED_PIN={build.error_led_pin} -DMAPLE_IDE -x assembler-with-cpp  {includes} "{source_file}"     -o "{object_file}" -c
recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{build.path}/{archive_file}" "{object_file}"
recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}"  {compiler.ldflags} {compiler.c.elf.flags} -mcpu={build.mcu} -o "{build.path}/{build.project_name}.elf" {object_files} "{build.path}/{archive_file}"
recipe.objcopy.hex.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.objcopy.flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.bin"
tools.mapleflash.cmd=dfu-util
tools.mapleflash.path={runtime.ide.path}/hardware/tools/arm/bin
tools.mapleflash.upload.pattern="{path}/{cmd}"   -a {upload.altID} -R -d {upload.usbID} -D"{build.path}/{build.project_name}.bin"
tools.mapleflash.reset.pattern="{path}/{cmd}" -l
tools.mapleflash.reset.search_for_result=Found DFU: [0x{upload.usbID_first4}
tools.mapleflash.reset.search_for_hint={upload.usbID}
tools.mapleflash.reset.try_for_millis=7000
eset/leaf_reset" -P{serial.port}
RROR_LED_PORT={build.error_led_port};ERROR_LED_PIN={build.error_led_pin}
vm.debug.class_type=VM_DEBUGGER_TYPE_USBSERIAL
vm.debug.main_port_name=SerialUSB
vm.platform.root.path=C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18
vm.combine.suffix.resolved=C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\Hardware\leaflabs\combine_suffix.cpp
ide.location.key=MapleIDE
ide.location.ide.winreg=MapleIDE Application
ide.location.sketchbook.winreg=MapleIDE Sketchbook
ide.location.sketchbook.preferences=sketchbook.path
ide.location.sketchbook.default=%MYDOCUMENTS%\MapleIDE
ide.location.preferences=%VM_APPDATA_ROAMING%\MapleIDE\preferences.txt
ide.default.package=leaflabs
ide.default.platform=arm
ide.multiplatform=true
ide.includes=WProgram.h
ide.platformswithoutpackage=true
ide.extension=uno
ide.exe=maple.exe
ide.url=http://leaflabs.com/docs/maple-ide-install.html#download
software=ARDUINO
vm.debug=true
build.working_directory={runtime.ide.path}
ide.appid=maple18
location.sketchbook=C:\Users\Force\Documents\MapleIDE
vm.core.include=wprogram.h
bs
labs
vm.platformname.name=arm
build.arch=ARM
build.architecture=arm
ools\arm\bin\
s\arm
vm.runtime.compiler.showwarnings=true
includes=  -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal"  -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries"  -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries"  -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers"  -I"C:\Users\Force\Documents\MapleIDE\libraries"
ini
build.project_name=maple_test
build.variant.path=
archive_file=core.a
mini\LiquidCrystal\LiquidCrystal.cpp.o
\LiquidCrystal.cpp
e_mini\maple_test.cpp.o" Crystal\LiquidCrystal.cpp.o"

Compiling 'maple_test' for 'LeafLabs Maple Mini Rev 2 to Flash'
Build folder:
Summary: Header=1 Prototypes=5 Imports=1
Additional Defines:
Architecture Tools: D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32/hardware/tools/arm/bin/
GCC: 4.4.1
Sketchbook: file:///C:/Users/Force/Documents/MapleIDE
Core Include Paths
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple'
Library Include Paths (1)
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal'
Platform Libraries Root Include Paths
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries'
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries'
Include Path 'C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers'
Include Path 'C:\Users\Force\Documents\MapleIDE\libraries'
"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32/ha 

« Last Edit: Jan 30th, 2018 at 6:51pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Marius S
Junior Member
**
Offline


Posts: 11
Joined: Sep 26th, 2013
Re: Maple Mini board compiler error
Reply #5 - Jun 22nd, 2015 at 11:55am
Print Post  
With the last version of VM (1505.19 SP6) when I load the .ino I get:

Code
Select All
The given key was not present in the dictionary.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.RefreshIntellisenseOfSketch(Project oProject, SketchBuilder sk)
The given key was not present in the dictionary.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.RefreshIntellisenseOfSketch(Project oProject, SketchBuilder sk) 

  
Back to top
 
IP Logged
 
Marius S
Junior Member
**
Offline


Posts: 11
Joined: Sep 26th, 2013
Re: Maple Mini board compiler error
Reply #6 - Jun 22nd, 2015 at 11:56am
Print Post  
And when I compile with this latest version of VM (1505.19 SP6)

Code (C++)
Select All
Board Properties
name=LeafLabs Maple Mini Rev 2 to Flash
upload.file_type=bin
upload.maximum_size=108000
upload.ram.maximum_size=17000
upload.flash.maximum_size=108000
upload.usbID=1EAF:0003
upload.altID=1
upload.uploader=dfu-util
upload.auto_reset=true
build.board=maple_mini
build.mcu=STM32F103CB
build.family=cortex-m3
build.f_cpu=72000000L
build.core=maple
build.submdl=stm32f103
build.vect=VECT_TAB_FLASH
build.linker=maple_mini/flash.ld
build.using=armcompiler
build.density=STM32_MEDIUM_DENSITY
build.error_led_port=GPIOB
build.error_led_pin=1
runtime.ide.path=D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32
\system
runtime.ide.version=101
target_package=leaflabs
target_platform=arm
runtime.hardware.path=D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware
originalid=maple_mini
vm.platform.root.path=C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18
vm.combine.suffix.resolved=C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\Hardware\leaflabs\combine_suffix.cpp
ide.location.key=MapleIDE
ide.location.ide.winreg=MapleIDE Application
ide.location.sketchbook.winreg=MapleIDE Sketchbook
ide.location.sketchbook.preferences=sketchbook.path
ide.location.sketchbook.default=%MYDOCUMENTS%\MapleIDE
ide.location.preferences=%VM_APPDATA_ROAMING%\MapleIDE\preferences.txt
ide.default.package=leaflabs
ide.default.platform=arm
ide.multiplatform=true
ide.includes=WProgram.h
ide.platformswithoutpackage=true
ide.extension=uno
ide.exe=maple.exe
ide.url=http://leaflabs.com/docs/maple-ide-install.html#download
software=ARDUINO
vm.debug=true
build.working_directory={runtime.ide.path}
ide.appid=maple18
location.sketchbook=C:\Users\Force\Documents\MapleIDE
vm.core.include=wprogram.h
bs
labs
vm.platformname.name=arm
build.arch=ARM
vm.runtime.compiler.showwarnings=true

Compiling 'maple_test' for 'LeafLabs Maple Mini Rev 2 to Flash'
Build folder: i
The given key was not present in the dictionary.
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.RefreshIntellisenseOfSketch(Project oProject, SketchBuilder sk)
Summary: Header=1 Prototypes=5 Imports=1
Additional Defines:
Architecture Tools: D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\
GCC: 4.4.1
Sketchbook: file:///C:/Users/Force/Documents/MapleIDE
Core Include Paths
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple'
Library Include Paths (1)
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal'
Platform Libraries Root Include Paths
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries'
Include Path 'D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries'
Include Path 'C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers'
Include Path 'C:\Users\Force\Documents\MapleIDE\libraries'
D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -Wall -mmcu=STM32F103CB -DF_CPU=72000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" -o _test.cpp.o"  _test.cpp"
The system cannot find the file specified
	Process: D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -Wall -mmcu=STM32F103CB -DF_CPU=72000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" -o _test.cpp.o"  _test.cpp"
D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -Wall -mmcu=STM32F103CB -DF_CPU=72000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" -o dCrystal\LiquidCrystal.cpp.o"  tal.cpp"
The system cannot find the file specified
	Process: D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin\avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -Wall -mmcu=STM32F103CB -DF_CPU=72000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=101 -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries\LiquidCrystal" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\libraries" -I"D:\MEGA_STORAGE\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\libraries" -I"C:\Program Files (x86)\Visual Micro\Visual Micro for Arduino\Micro Platforms\maple18\debuggers" -I"C:\Users\Force\Documents\MapleIDE\libraries" -o dCrystal\LiquidCrystal.cpp.o"  tal.cpp"
Error compiling
 

« Last Edit: Jan 30th, 2018 at 6:51pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Maple Mini board compiler error
Reply #7 - Jun 22nd, 2015 at 12:00pm
Print Post  
Thanks it must be the exception that is causing vm to default back to old style arduino.

There have been major changes for the new arduino board manager system which must have affected it.

I will re-test, thanks for the info and testing.
  
Back to top
IP Logged
 
Marius S
Junior Member
**
Offline


Posts: 11
Joined: Sep 26th, 2013
Re: Maple Mini board compiler error
Reply #8 - Jun 22nd, 2015 at 12:13pm
Print Post  
Thank you for the fast answers! Hopefully it is not a difficult task and it will get fixed soon.

Best regards,
Marius
« Last Edit: Jun 22nd, 2015 at 12:13pm by Marius S »  
Back to top
 
IP Logged
 
Marius S
Junior Member
**
Offline


Posts: 11
Joined: Sep 26th, 2013
Re: Maple Mini board compiler error
Reply #9 - Jul 6th, 2015 at 6:54pm
Print Post  
With the last version 1507.05 the problem is still there.
« Last Edit: Jul 6th, 2015 at 6:54pm by Marius S »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Maple Mini board compiler error
Reply #10 - Jul 6th, 2015 at 8:03pm
Print Post  
Sorry try the new build Sp1. The maple fix was missing from yesterdays build
  
Back to top
IP Logged
 
Marius S
Junior Member
**
Offline


Posts: 11
Joined: Sep 26th, 2013
Re: Maple Mini board compiler error
Reply #11 - Jul 6th, 2015 at 8:26pm
Print Post  
Thanks!
Solved.
« Last Edit: Jul 6th, 2015 at 8:38pm by Marius S »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint