Skip to content
Snippets Groups Projects
  1. Jul 30, 2023
    • q3k's avatar
      sdkconfig: bump down SPIRAM_MALLOC_ALWAYSINTERNAL · f6ffcc2c
      q3k authored
      We seem to be wasting a lot of internal memory on random mallocs(),
      preventing us from late-initializing bluetooth/BLE.
      
      Fixes #13 . Maybe. We'll see with time.
      
      I think a more complete approach would be to force all micropython
      allocations to land in SPIRAM? Or maybe use some memory watermarking to
      make the micropython allocator only use internal memory if there's
      plenty of it available, enough to initialize BLE?
      f6ffcc2c
  2. Jul 20, 2023
  3. Jul 17, 2023
    • q3k's avatar
      sdkconfig.defaults: use stub to flash, again · d3b30efe
      q3k authored
      As we don't use the UART/JTAG detection mechanism anymore for rebooting
      into bootrom serial, we can use the stub again, which makes things much
      faster.
      d3b30efe
  4. Jul 03, 2023
  5. Jul 01, 2023
  6. Jun 18, 2023
  7. Jun 16, 2023
  8. Jun 13, 2023
  9. Jun 12, 2023
  10. Jun 11, 2023
    • q3k's avatar
      flow3r_bsp: init, implement next gen SPI display driver · ebe9f721
      q3k authored
      This replaces the original GC9A01 driver with one optimized for our
      usecase, implemented directly in a brand-new BSP (board support package)
      component.
      
      The major differences between the drivers are:
      
       1. aware of different badge generations
       2. generic: still supporting the possibility that we might have to
          switch to a different SPI display at some point
       3. only supports writing entire screen at once from in-memory buffer:
          no line drawing, filling, etc.
       4. spi screen blitting does not waste CPU time, instead uses
          ESP-IDF/FreeRTOS DMA/Interrupt logic to perform transfers
          efficiently.
      
      We also drive-by enable SPIRAM, as we're starting to run out of memory.
      ebe9f721
    • q3k's avatar
      badge23: p3 support · a3937b91
      q3k authored
      a3937b91
    • q3k's avatar
      *: make generation configurable, use sdkconfig defaults · 64eb214a
      q3k authored
      This moves badge hardware generation selection over from a header file
      into ESP-IDF configuratbility.
      
      The generaiton can now be selected by specifying `BADGE_GENERATION` or
      `-g` when running the initial built.
      
      In addition, each generation now gets its own sdkconfig.defaults file
      (instead named sdkconfig.$generation) and the big autogeneration
      sdkconfig file gets yeeted.
      64eb214a
Loading