1. 04 Feb, 2021 1 commit
  2. 03 Feb, 2021 2 commits
  3. 27 Jan, 2021 1 commit
  4. 21 Jan, 2021 4 commits
  5. 15 Jan, 2021 1 commit
  6. 14 Jan, 2021 1 commit
  7. 12 Jan, 2021 3 commits
  8. 11 Jan, 2021 8 commits
  9. 20 Dec, 2020 1 commit
  10. 07 Dec, 2020 2 commits
  11. 02 Dec, 2020 3 commits
  12. 01 Dec, 2020 4 commits
  13. 23 Nov, 2020 3 commits
  14. 18 Nov, 2020 1 commit
  15. 16 Nov, 2020 3 commits
  16. 15 Nov, 2020 2 commits
    • Me No Dev's avatar
      Merge pull request #4538 from loick111/feature/custom_variants_dir · adafd9d7
      Me No Dev authored
      The goal is to allow custom configuration for `variants_dir` to define our own board variant directly in the project.
      
      With this functionnality, we are now allowed to define in our projects a custom board **AND** a custom variant.
      https://docs.platformio.org/en/latest/platforms/creating_board.html#custom-embedded-boards
      
      Here is an example of how to define a custom board with custom variant:
      ```
      my_project
      ├── boards
      │   └── custom_esp32dev.json
      └── variants
          └── custom-esp32dev
              └── pins_arduino.h
      ```
      
      custom_esp32dev.json
      ```json
      {
        "build": {
          "arduino":{
            "ldscript": "esp32_out.ld"
          },
          "core": "esp32",
          "extra_flags": "-DARDUINO_ESP32_DEV",
          "f_cpu": "240000000L",
          "f_flash": "40000000L",
          "flash_mode": "dio",
          "mcu": "esp32",
          "variants_dir": "variants",
          "variant": "custom-esp32dev"
        },
        "connectivity": [
          "wifi",
          "bluetooth",
          "ethernet",
          "can"
        ],
        "debug": {
          "openocd_board": "esp-wroom-32.cfg"
        },
        "frameworks": [
          "arduino",
          "espidf"
        ],
        "name": "My Custom Espressif ESP32 Dev Module",
        "upload": {
          "flash_size": "4MB",
          "maximum_ram_size": 327680,
          "maximum_size": 4194304,
          "require_upload_port": true,
          "speed": 460800
        },
        "url": "https://en.wikipedia.org/wiki/ESP32",
        "vendor": "Espressif"
      }
      ```
      adafd9d7
    • Loick MAHIEUX's avatar
      Allow custom variants directory · ac9fdeff
      Loick MAHIEUX authored
      ac9fdeff