Building from source with BOARD=PICO_R1_3 #4941
Replies: 1 comment
-
Posted at 2020-10-25 by @MaBecker make
flash
Posted at 2020-10-25 by user66772 @MaBecker Thank you for your response sir. please see my edit above in OP post. I removed DFU_UPDATE_BUILD=1 and added RELEASE=1 as you suggested, and still the device is not showing up as TTY to send javascript to. The WebIDE also doesn't recognize the device after flashing. Posted at 2020-10-25 by user66772 Just a few hours later and some perseverance and I got it working =) . The method under Linux is:
Then short BTN to BOOT0 under the board, indicated by a "<<" on the schematic circuit diagram.
If the command exits without displaying a progress bar, pull the board out of USB, plug it in again with the button held, and issue the above command again. Just a little finicky. Once the bootloader is successfully flashed, unplug and remove the BTN / BOOT0 short, plug it back in with the button held. The red and green LEDs on the board should alternate lighting up. Now issue the following command:
The firmware will build and the STM32F401 will automatically decide which address to place the remainder of the firmware in its flash memory. Unplug the board, plug it back in (no need to short or hold any button down this time)
Then press Ctrl+C once. This will spawn a terminal with which to send Javascript commands and functions to the espruino. Posted at 2020-10-26 by @gfwilliams Glad you got it sorted! This doesn't seem to be too well documented... Just for anyone else looking, it's the
Calls Or |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-10-25 by user66772
I am trying to build the new pico firmware from source.
I have soldered jumpers from the BTN / BOOT0 pads so I can quickly change chip modes.
I edited ./boards/PICO_R1_3.py so that the libraries included are as follows:
Then I ran:
When I plug the pico into USB again without holding the button and without the aforementioned jumpers connected, the usual single red LED blink doesn't happen and it doesn't accept the following:
EDIT******
allows me to interface with the espruino in the same way the WebIDE would. I am trying to use all free software on the command line. My main problem is the binary that is made by the make command doesn't provide a TTY on the /dev/ttyACM0 device as is normally provided on the official binary. I'm a free software purist and want to use only the basic tools.
*** end edit
Is there something missing in my strategy?
When I flash the official release firmware .bin file, it works fine.
Beta Was this translation helpful? Give feedback.
All reactions