8000 Merge pull request #1 from espressif/master · patrickmarchhart/arduino-esp32@0658cb0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0658cb0

Browse files
Merge pull request #1 from espressif/master
update
2 parents cea41d9 + 23acb4d commit 0658cb0

File tree

452 files changed

+47199
-14800
lines changed
  • Update
  • WiFi
  • WiFiClientSecure
  • package
  • tools
  • Some content is hidden

    Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

    452 files changed

    +47199
    -14800
    lines changed

    .travis.yml

    Lines changed: 1 addition & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -10,6 +10,7 @@ os:
    1010
    script:
    1111
    #- set -e
    1212
    - echo -e "travis_fold:start:sketch_test_env_prepare"
    13+
    - pip install pyserial
    1314
    - wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
    1415
    - tar xf arduino.tar.xz
    1516
    - mv arduino-nightly $HOME/arduino_ide

    Kconfig

    Lines changed: 4 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -3,6 +3,10 @@ menu "Arduino Configuration"
    33
    config ENABLE_ARDUINO_DEPENDS
    44
    bool
    55
    select LWIP_SO_RCVBUF
    6+
    select ETHERNET
    7+
    select WIFI_ENABLED
    8+
    select ESP32_PHY_CALIBRATION_AND_DATA_STORAGE
    9+
    select MEMMAP_SMP
    610
    default "y"
    711

    812
    config AUTOSTART_ARDUINO

    Makefile.projbuild

    Lines changed: 16 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1 +1,17 @@
    1+
    BOOT_APP_BIN_OFFSET := 0xe000
    2+
    BOOT_APP_BIN_ROOT := $(call dequote,$(COMPONENT_PATH))
    3+
    BOOT_APP_BIN_PATH := $(call dequote,$(abspath $(BOOT_APP_BIN_ROOT)/$(subst $(quote),,tools/partitions/boot_app0.bin)))
    4+
    5+
    ifndef CONFIG_PARTITION_TABLE_CUSTOM
    6+
    PARTITION_TABLE_CSV_PATH = $(call dequote,$(abspath $(BOOT_APP_BIN_ROOT)/$(subst $(quote),,tools/partitions/default.csv)))
    7+
    endif
    8+
    9+
    BOOT_APP_BIN_FLASH_CMD = $(ESPTOOLPY_SERIAL) write_flash $(BOOT_APP_BIN_OFFSET) $(BOOT_APP_BIN_PATH)
    10+
    ESPTOOL_ALL_FLASH_ARGS += $(BOOT_APP_BIN_OFFSET) $(BOOT_APP_BIN_PATH)
    11+
    12+
    CPPFLAGS += -DARDUINO=180 -DESP32=1 -DARDUINO_ARCH_ESP32=1
    13+
    14+
    boot-app0:
    15+
    @echo "Rebooting to APP0"
    16+
    $(BOOT_APP_BIN_FLASH_CMD)
    117

    README.md

    Lines changed: 19 additions & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -25,7 +25,7 @@ Most of the framework is implemented. Most noticable is the missing analogWrite.
    2525

    2626
    ### Using through Arduino IDE
    2727

    28-
    ###[Instructions for Windows](doc/windows.md)
    28+
    #### [Instructions for Windows](doc/windows.md)
    2929

    3030
    #### Instructions for Mac
    3131
    - Install latest Arduino IDE from [arduino.cc](https://www.arduino.cc/en/Main/Software)
    @@ -47,6 +47,24 @@ Most of the framework is implemented. Most noticable is the missing analogWrite.
    4747
    ```bash
    4848
    sudo usermod -a -G dialout $USER && \
    4949
    sudo apt-get install git && \
    50+
    wget https://bootstrap.pypa.io/get-pip.py && \
    51+
    sudo python get-pip.py && \
    52+
    sudo pip install pyserial && \
    53+
    mkdir -p ~/Arduino/hardware/espressif && \
    54+
    cd ~/Arduino/hardware/espressif && \
    55+
    git clone https://github.com/espressif/arduino-esp32.git esp32 && \
    56+
    cd esp32/tools/ && \
    57+
    python get.py
    58+
    ```
    59+
    - Restart Arduino IDE
    60+
    61+
    #### Instructions for Fedora
    62+
    - Install the latest Arduino IDE from [arduino.cc](https://www.arduino.cc/en/Main/Software). `$ sudo dnf -y install arduino` will most likely install an older release.
    63+
    - Open Terminal and execute the following command (copy->paste and hit enter):
    64+
    65+
    ```bash
    66+
    sudo usermod -a -G dialout $USER && \
    67+
    sudo dnf install git python3-pip python3-pyserial && \
    5068
    mkdir -p ~/Arduino/hardware/espressif && \
    5169
    cd ~/Arduino/hardware/espressif && \
    5270
    git clone https://github.com/espressif/arduino-esp32.git esp32 && \

    0 commit comments

    Comments
     (0)
    0