Search found 440 matches

by devnull
Tue Dec 24, 2019 12:44 am
Forum: ESP32 boards
Topic: No File System After Build
Replies: 8
Views: 211

No File System After Build

I've not used the ESP32 for several months and just built 1.12 for it and flashed it. But it appears that there's no file system: REPL MPY: soft reboot could not find module '_boot.py' MicroPython v1.12-5-g42e45bd69 on 2019-12-24; ESP32 module with ESP32 Type "help()" for more information. >>> help(...
by devnull
Mon Dec 23, 2019 10:51 pm
Forum: General Discussion and Questions
Topic: Build Secrets
Replies: 11
Views: 426

Re: Build Secrets

@jimmo - Great, this is working, so now my custom.mk file replaces a symbolic-linked GNUmakefile and my modified mpcconfigport.mk file without having to modify any source files and means that I can remove some bash scripts that copied and linked files before building. nice :D custom.mk ## LWIP NETWO...
by devnull
Mon Dec 23, 2019 12:20 pm
Forum: General Discussion and Questions
Topic: Build Secrets
Replies: 11
Views: 426

Re: Build Secrets

Sadly it does not work for me: custom.mk MICROPY_PY_LWIP ?= 1 # wiznet5k module for ethernet support; valid values are: # 0 : no Wiznet support # 5200 : support for W5200 module # 5500 : support for W5500 module MICROPY_PY_WIZNET5K ?= 5500 # cc3k module for wifi support MICROPY_PY_CC3K ?= 0 Results ...
by devnull
Mon Dec 23, 2019 11:38 am
Forum: General Discussion and Questions
Topic: Build Secrets
Replies: 11
Views: 426

Re: Build Secrets

Maybe I'm misunderstanding what you're trying to do. I guess you don't really have a custom board so much as a custom build configuration for an existing board? Yes, sorry that's exactly what I am looking to do, I did not make that very clear. Let me test out what you have proposed, so it does not ...
by devnull
Mon Dec 23, 2019 10:51 am
Forum: General Discussion and Questions
Topic: Build Secrets
Replies: 11
Views: 426

Re: Build Secrets

Jimmo - Thanks, but that's not the behaviour I was hoping for ;) What would be really useful, is if you don't need to source the original files at all and instead, if a file exists in the custom folder, then the build process will first read the original git source file, and then override that file ...
by devnull
Mon Dec 23, 2019 9:52 am
Forum: General Discussion and Questions
Topic: Build Secrets
Replies: 11
Views: 426

Build Secrets

Starting this thread to share information about build procedures, overrides, trick & hints & tips. Apparently, you can override port/board configurations by creating a folder and including the path in the make command: make BOARD=myboard BOARD_DIR=~/src/projects/myboard I just tested this, I have 2 ...
by devnull
Sun Dec 22, 2019 10:44 pm
Forum: Pyboard D-series
Topic: sf2,sf6 & pyboard factoryreset build failure on latest 42e45bd
Replies: 4
Views: 242

Re: sf2,sf6 & pyboard factoryreset build failure on latest 42e45bd

Here's my clone and update scripts, can someone confirm that I am not missing any GIT steps ?? $ARG would be either "clean" or "commit", and $OPT used with commit would be the commit hash. BASHDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" UPYDIR="$BASHDIR/../build/micropython" BUILDDIR="$B...
by devnull
Sun Dec 22, 2019 10:33 am
Forum: Pyboard D-series
Topic: sf2,sf6 & pyboard factoryreset build failure on latest 42e45bd
Replies: 4
Views: 242

Re: sf2,sf6 & pyboard factoryreset build failure on latest 42e45bd

Thanks Peter;

I tracked it down to adding: `MICROPY_VFS_FAT=1` to the MAKE command which fixed the build for me.

Not sure if Little FS is also working on the SF2/SF6 ?
by devnull
Sat Dec 21, 2019 10:39 am
Forum: Pyboard D-series
Topic: sf2,sf6 & pyboard factoryreset build failure on latest 42e45bd
Replies: 4
Views: 242

sf2,sf6 & pyboard factoryreset build failure on latest 42e45bd

I have not changed my setup for over a month, and just updated, when I attempt to compile I get: LINK build-PYBV11/firmware.elf arm-none-eabi-ld: build-PYBV11/main.o: in function `stm32_main': main.c:(.text.stm32_main+0x2e4): undefined reference to `f_mount' arm-none-eabi-ld: build-PYBV11/factoryres...
by devnull
Wed Nov 27, 2019 12:12 pm
Forum: Pyboard D-series
Topic: _thread not being enabled
Replies: 8
Views: 436

Re: _thread not being enabled

Thanks all this sewems to work:

Code: Select all

CFLAGS_EXTRA='-DMICROPY_PY_THREAD=1'