Skip to content
Snippets Groups Projects
Select Git revision
  • wink/trng
  • patch-3
  • patch-2
  • patch-1
  • master default
  • micro-modules
  • color-2
  • color-html-3
  • color-html-2
  • color-html
  • ch3/api-speed-eval2
  • rahix/bma
  • freertos-btle
  • schneider/mp-for-old-bl
  • ch3/leds-api
  • ch3/genapi-refactor
  • ch3/dual-core
  • dualcore
18 results

firmware

  • Clone with SSH
  • Clone with HTTPS
  • Forked from card10 / firmware
    Source project has a limited visibility.
    user avatar
    stijn authored
    The number of registers used should be 10, not 12, to match the assembly
    code in nlrx64.c. With this change the 64bit mingw builds don't need to
    use the setjmp implementation, and this fixes miscellaneous crashes and
    assertion failures as reported in #1751 for instance.
    
    To avoid mistakes in the future where something gcc-related for Windows
    only gets fixed for one particular compiler/environment combination,
    make use of a MICROPY_NLR_OS_WINDOWS macro.
    
    To make sure everything nlr-related is now ok when built with gcc this
    has been verified with:
    - unix port built with gcc on Cygwin (i686-pc-cygwin-gcc and
      x86_64-pc-cygwin-gcc, version 6.4.0)
    - windows port built with mingw-w64's gcc from Cygwin
     (i686-w64-mingw32-gcc and x86_64-w64-mingw32-gcc, version 6.4.0)
     and MSYS2 (like the ones on Cygwin but version 7.2.0)
    b184b6ae
    History
    Name Last commit Last update