 
      
    | You are here | cppstories.com | ||
| | | | | danilafe.com | |
| | | | | ||
| | | | | www.bfilipek.com | |
| | | | | What do you do when the code for a variable initialization is complicated? Do you move it to another method or write inside the current scope? In this blog post, I'd like to present a trick that allows computing a value for a variable, even a const variable, with a compact notation. | |
| | | | | www.cppstories.com | |
| | | | | // how does it work? auto i = 0; // ?? C++11 brings us a very useful set of tools. It adds fresh air to the hard life of a programmer. The updated syntax makes the language a more modern and easier to use. In this post let's take a quick look at a nice keyword 'auto' that, at first sight might seem very simple. | |
| | | | | www.malwaretech.com | |
| | | Now that everything is ready to be connected, power up the hard drive an run openocd with the following command: openocd -f interface/<your interface here>.cfg -f target/test.cfg test.cfg should be the configuration for the CPU used by your hard disk controller, for most marvell CPUs this config should work. I'm not sure of the adapter_khz, so I've set mine to 100 (as long as this value is lower than the actual it should work). | ||