1. 22 2月, 2021 2 次提交
  2. 20 2月, 2021 2 次提交
  3. 18 2月, 2021 1 次提交
  4. 16 2月, 2021 1 次提交
  5. 14 2月, 2021 2 次提交
  6. 09 2月, 2021 1 次提交
  7. 08 2月, 2021 1 次提交
    • E
      eboot: .RODATA, upstream uzlib, move CRC, save 112 bytes (#7844) · 07b4c09b
      Earle F. Philhower, III 提交于
      RODATA can be copied automatically by the bootrom, so no reason not to
      allow its use for strings and constants in eboot.c
      
      Revert to pfalcon's original uzlib since the single patch to remove
      RODATA is not required.
      
      Rationalize eboot.ld linker script, clean up BSS and init it in code.
      
      Saves 112 bytes of space in the bootloader sector by removing the
      extra code associated with literal loads.
      
      * Move CRC out of bootload sector
      
      We added protection to only erase the bootload sector when flashing an
      image when the new sector != the old sector.  This was intended to
      minimize the chance of bricking (i.e. if there was a powerfail during
      flashing of the boot sector the chip would be dead).
      
      Unfortunately, by placing the CRC inside the eboot sector *every*
      application will have a unique eboot sector (due to the crc/len), so
      this protection doesn't work.
      
      Move the CRC into the first 8 bytes of IROM itself.  This frees up extra
      space in the boot sector and ensures that eboot won't be reflashed
      unless there really is an eboot change.
      07b4c09b
  8. 07 2月, 2021 1 次提交
  9. 04 2月, 2021 1 次提交
  10. 30 1月, 2021 1 次提交
  11. 29 1月, 2021 2 次提交
  12. 27 1月, 2021 2 次提交
  13. 26 1月, 2021 1 次提交
  14. 25 1月, 2021 1 次提交
  15. 24 1月, 2021 2 次提交
  16. 23 1月, 2021 1 次提交
  17. 22 1月, 2021 1 次提交
  18. 21 1月, 2021 1 次提交
  19. 19 1月, 2021 2 次提交
  20. 18 1月, 2021 1 次提交
    • E
      Allow specifying waveform generator in source code (#7800) · f5fd5912
      Earle F. Philhower, III 提交于
      * Allow specifying waveform generator in source code
      
      Allows code to explicitly specify which waveform generator it wants,
      without needing to use one of the 100 IDE menus or adding a `-D`
      compile-time define.
      
      Uses weakrefs to allow for apps to call `enablePhaseLockedWaveform();`
      within their `setup()` (or anywhere, really) and have the phase locked
      versions override the default waveform generators automatically.
      
      For example:
      
      ````
      void setup() {
        // Uncomment following line to use phase-locked waveform generator
        // enablePhaseLockedWaveform();
        Serial.begin(115200);
        pinMode(LED_BUILTIN, OUTPUT);     // Initialize the LED_BUILTIN pin as an output
        analogWriteRange(1000);
      }
      void loop() {
        analogWrite(LED_BUILTIN, 100);
        delay(1000);                      // Wait for a second
        analogWrite(LED_BUILTIN, 900);
        delay(2000);                      // Wait for two seconds (to demonstrate the active low LED)
      }
      ````
      
      Also adds an example showing it's use.
      
      Address @dok-net's comments and also remove the _weak/_bound version of
      startWaveform() since it's invariant of the actual waveform generator.
      f5fd5912
  21. 14 1月, 2021 1 次提交
  22. 13 1月, 2021 5 次提交
  23. 09 1月, 2021 1 次提交
  24. 08 1月, 2021 5 次提交
    • P
      Protect against server hijacking error handling (#7811) · 98a19ab2
      Paulo Cabral Sanz 提交于
      If a server returns "HTTP/1.x -8 OK", for example, it can misguide an application developer into freeing less-important memory so the request can be retried and succeed, when the problem is in the server.
      
      _returnCode is never used anywhere else, but it could still contain a negative value returned by a broken server and therefore could cause troubles in the future (if _returnCode is in fact used)
      98a19ab2
    • E
      Add stub for analogReference (#7809) · adbd23b6
      Earle F. Philhower, III 提交于
      Fixes #6410
      
      We actually provide a function prototype for `analogReference()` in
      `Arduino.h`, but no implementation.  Add a dummy one that only supports
      DEFAULT (like other Arduino boards).
      adbd23b6
    • M
      Extended ASM got fussy when using different optimizations. ie. HWDT (#7816) · 67e1dfc5
      M Hightower 提交于
      resets. It seems you should not use input registers for scratch registers.
      Add an extra output register instead. No code size increase.
      
      Light refactoring for readability
      
      Added "C" reference code for Extended ASM
      
      Save two cycles by loading a0 early in exc-c-wrapper-handler.S
      
      Use optimization O2
      Net change in size, 0 bytes with optimization. Save 4 bytes w/o Optimization.
      With changes and "O2" save 3 cycles on write and 6 cycles on read.
      67e1dfc5
    • M
      Verify IRAM sum results using DRAM as reference. (#7812) · 2f5979f1
      M Hightower 提交于
      Make verify fail more visible.
      
      Updated example irammem.info to show performance and test int16 handling
      when IRAM is used.
      
      Removed 4K performance test. It didn't show any new information over the 1K test.
      2f5979f1
    • D
      EspSoftwareSerial 6.11.2: Delegate<> assign operators added. (#7815) · f959cb32
      Dirk O. Kaar 提交于
      Addresses compilation errors with pending PRs due to commit 95fb1045
      f959cb32
  25. 05 1月, 2021 1 次提交