Altera_Forum
Honored Contributor
14 years agoTcl scripts with Nios II BSP Editor
I'd like to pass a custom Tcl script to nios2-bsp to modify the linker memory regions, just like Example 4-1 in the Nios II Software Developer's Handbook. How do I do that if I'm using the GUI and the NIOS II BSP Editor? Specifically, where do I tell the GUI that it should look for my Tcl script?
I don't want to specify the entire BSP with a Tcl script, just modify it after the default script runs. On the command line I would do something like this: 'nios2-bsp hal my_bsp --script my_script.tcl". I did find some documentation that claims I can do this through a "New BSP Settings File" dialog box, but I have never seen that box. If this is in the documentation somewhere and I missed it, please let me know. Thanks. P.S. Is there a good way to debug these scripts? I'm new to Tcl, so I'm kind of guessing at how it should work at times.