user141395
Member since Mar 2022 • Last active Mar 2022Most recent activity
-
- 3 comments
- 1,192 views
-
Dear,
I started with Espruino a couple of days ago, and I must admit it is a very fascinating technology!Hopefully this question is in the correct category...
Via the python tool, it is possible to pass all kind of parameters:
/path/to/esptool/esptool.py --port /dev/ttyUSB0 --baud 115200 \ write_flash --flash_freq 80m --flash_mode qio --flash_size 32m
I was wondering if it is also possible to pass somehow these parameters (e.g. flash_mode) to the flash function of the EspruinoTools in NodeJs?
Thought that this perhaps should be specified in the Espruino.Config, but I don't think that any of those parameters can be used for this:
BAUD_RATE: 9600 BLUETOOTH_LOW_ENERGY: false BOARD_JSON_URL: "http://www.espruino.com/json" COMPILATION: true COMPILATION_URL: "https://www.espruino.com/service/compilĀer" ENV_ON_CONNECT: true LOAD_STORAGE_FILE: 2 MINIFICATION_LEVEL: "" MINIFICATION_Mangle: true MODULE_AS_FUNCTION: true MODULE_EXTENSIONS: ".min.js|.js" MODULE_MINIFICATION_LEVEL: "ESPRIMA" MODULE_PROXY_ENABLED: false MODULE_PROXY_PORT: "" MODULE_PROXY_URL: "" MODULE_URL: "https://www.espruino.com/modules" PRETOKENISE: false RESET_BEFORE_SEND: true SAVE_ON_SEND: 0 SAVE_STORAGE_FILE: "myapp" SERIAL_AUDIO: "0" SERIAL_FLOW_CONTROL: true SERIAL_IGNORE: "/dev/ttyS*|/dev/*.SOC|/dev/*.MALS" SERIAL_THROTTLE_SEND: false SET_TIME_ON_WRITE: true STORE_LINE_NUMBERS: true WEB_BLUETOOTH: true WEB_SERIAL: true
Hopefully somebody can give me the golden tip ;-)
Thanks!!!
Bart
@Gordon,
Ok no problem. Thanks for your feedback!!
Bart