Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nanoatmega328new board should be mapped to arduino nano #217

Open
leonty opened this issue Jan 12, 2021 · 1 comment
Open

nanoatmega328new board should be mapped to arduino nano #217

leonty opened this issue Jan 12, 2021 · 1 comment

Comments

@leonty
Copy link

leonty commented Jan 12, 2021

Environment: VS Code + PlatformIO
Problem: it allows to choose "arduino nano 328 (new bootloader)" in combination with simba but then the project generation fails with a message that the board is not supported by simba.

Log:
PIO Core Call Error: "The current working directory /Users/leonty/PlatformIO/Projects/atmega328_simba_test will be used for the project.\n\nThe next files/directories have been created in /Users/leonty/PlatformIO/Projects/atmega328_simba_test\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\n\n\nError: Processing nanoatmega328new (platform: atmelavr; board: nanoatmega328new; framework: simba)\n--------------------------------------------------------------------------------\nTool Manager: Installing platformio/framework-simba @ >=7.0.0\nTool Manager: framework-simba @ 15.0.3 has been installed!\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/nanoatmega328new.html\nPLATFORM: Atmel AVR (3.1.0) > Arduino Nano ATmega328 (New Bootloader)\nHARDWARE: ATMEGA328P 16MHz, 2KB RAM, 30KB Flash\nDEBUG: Current (avr-stub) On-board (avr-stub, simavr)\nPACKAGES: \n - framework-simba 15.0.3 \n - toolchain-atmelavr 1.50400.190710 (5.4.0)\nValueError: BOARD nanoatmega328new is not supported by Simba.:\n File "/Users/leonty/.platformio/penv/lib/python3.8/site-packages/platformio/builder/main.py", line 170:\n env.SConscript("$BUILD_SCRIPT")\n File "/Users/leonty/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/SConscript.py", line 598:\n return _SConscript(self.fs, *files, **subst_kw)\n File "/Users/leonty/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/SConscript.py", line 287:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File "/Users/leonty/.platformio/platforms/atmelavr/builder/main.py", line 162:\n target_elf = env.BuildProgram()\n File "/Users/leonty/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Environment.py", line 219:\n return self.method(*nargs, **kwargs)\n File "/Users/leonty/.platformio/penv/lib/python3.8/site-packages/platformio/builder/tools/platformio.py", line 61:\n env.ProcessProgramDeps()\n File "/Users/leonty/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Environment.py", line 219:\n return self.method(*nargs, **kwargs)\n File "/Users/leonty/.platformio/penv/lib/python3.8/site-packages/platformio/builder/tools/platformio.py", line 127:\n env.BuildFrameworks(env.get("PIOFRAMEWORK"))\n File "/Users/leonty/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Environment.py", line 219:\n return self.method(*nargs, **kwargs)\n File "/Users/leonty/.platformio/penv/lib/python3.8/site-packages/platformio/builder/tools/platformio.py", line 342:\n SConscript(env.GetFrameworkScript(f), exports="env")\n File "/Users/leonty/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/SConscript.py", line 661:\n return method(*args, **kw)\n File "/Users/leonty/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/SConscript.py", line 598:\n return _SConscript(self.fs, *files, **subst_kw)\n File "/Users/leonty/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/SConscript.py", line 287:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File "/Users/leonty/.platformio/platforms/atmelavr/builder/frameworks/simba.py", line 59:\n SConscript(\n File "/Users/leonty/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/SConscript.py", line 661:\n return method(*args, **kw)\n File "/Users/leonty/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/SConscript.py", line 598:\n return _SConscript(self.fs, *files, **subst_kw)\n File "/Users/leonty/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/SConscript.py", line 287:\n exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)\n File "/Users/leonty/.platformio/packages/framework-simba/make/platformio.sconscript", line 4187:\n raise ValueError("BOARD {} is not supported by Simba.".format(board))\n========================= [FAILED] Took 15.85 seconds ========================="

@eerimoq
Copy link
Owner

eerimoq commented Jan 12, 2021

Hi!

I don't have time to work on this project right now. Feel free to help out! =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants