• This was extremely helpful Gordon. Thank you!

    It really helps to thoroughly understand the build scripts, make file, and build process. I have a much better understanding and was successful in one pass. I ran the script (against your latest release), then used the Python script and everything was perfect with no kludge.

    The new processor works!!!

    Now for my really stupid question/issue. When I do a process.memory(); I don't see much of a change. It outputs:

    {"free":1781,"usage":19,"total":1800,"hi­story":11,"stackEndAddress":536909496,"f­lash_start":134217728,"flash_binary_end"­:134458912,"flash_code_start":134967296,­"flash_length":786432}

    Here are the changes I made to ESPRUINOBOARD.py. Notice the doubled RAM, flash, and part number mods.

    chip = {
    'part' : "STM32F103RFT6",
    'family' : "STM32F1",
    'package' : "LQFP64",
    'ram' : 96,
    'flash' : 768,
    'speed' : 72,
    'usart' : 5,
    'spi' : 3,
    'i2c' : 2,
    'adc' : 3,
    'dac' : 2,
    };

    I noticed there is a "variables" setting under the info hash assigned to 1800. Should I change this to increase the number of available jsVars? Am I barking up the wrong tree here? What's a good number?

About

Avatar for Jscott @Jscott started