Skip to content

Commit

Permalink
Merge branch 'release/v3.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed Jan 29, 2021
2 parents c266d51 + 7e0dcf0 commit c711383
Show file tree
Hide file tree
Showing 37 changed files with 823 additions and 135 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-16.04, windows-latest, macos-latest]
python-version: [2.7, 3.7]
python-version: [3.7]
example:
- "examples/arduino-blink"
- "examples/arduino-briki-internal-libs"
Expand All @@ -22,6 +22,7 @@ jobs:
- "examples/espidf-hello-world"
- "examples/espidf-http-request"
- "examples/espidf-peripherals-uart"
- "examples/espidf-peripherals-usb"
- "examples/espidf-storage-sdcard"
- "examples/espidf-ulp-adc"
- "examples/espidf-ulp-pulse"
Expand Down
36 changes: 36 additions & 0 deletions boards/esp32-s2-kaluga-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"build": {
"arduino":{
"ldscript": "esp32s2_out.ld"
},
"core": "esp32",
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "dio",
"mcu": "esp32s2",
"variant": "esp32s2"
},
"connectivity": [
"wifi"
],
"debug": {
"default_tool": "ftdi",
"onboard_tools": [
"ftdi"
],
"openocd_target": "esp32s2.cfg"
},
"frameworks": [
"espidf"
],
"name": "Espressif ESP32-S2-Kaluga-1 Kit",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"require_upload_port": true,
"speed": 460800
},
"url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-esp32-s2-kaluga-1-kit.html",
"vendor": "Espressif"
}
32 changes: 32 additions & 0 deletions boards/esp32-s2-saola-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"build": {
"arduino":{
"ldscript": "esp32s2_out.ld"
},
"core": "esp32",
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "dio",
"mcu": "esp32s2",
"variant": "esp32s2"
},
"connectivity": [
"wifi"
],
"debug": {
"openocd_target": "esp32s2.cfg"
},
"frameworks": [
"espidf"
],
"name": "Espressif ESP32-S2-Saola-1",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"require_upload_port": true,
"speed": 460800
},
"url": "https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-saola-1-v1.2.html",
"vendor": "Espressif"
}
4 changes: 2 additions & 2 deletions boards/esp32cam.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"build": {
"arduino":{
"ldscript": "esp32_out.ld"
"ldscript": "esp32_out.ld",
"partitions": "huge_app.csv"
},
"core": "esp32",
"extra_flags": "-DARDUINO_ESP32_DEV -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"mcu": "esp32",
"partitions": "huge_app.csv",
"variant": "esp32"
},
"connectivity": [
Expand Down
32 changes: 32 additions & 0 deletions boards/featheresp32-s2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"build": {
"arduino":{
"ldscript": "esp32s2_out.ld"
},
"core": "esp32",
"f_cpu": "240000000L",
"f_flash": "80000000L",
"flash_mode": "dio",
"mcu": "esp32s2",
"variant": "esp32s2"
},
"connectivity": [
"wifi"
],
"debug": {
"openocd_target": "esp32s2.cfg"
},
"frameworks": [
"espidf"
],
"name": "Adafruit ESP32-S2 Feather Development Board",
"upload": {
"flash_size": "4MB",
"maximum_ram_size": 327680,
"maximum_size": 4194304,
"require_upload_port": true,
"speed": 460800
},
"url": "https://www.adafruit.com/product/4769",
"vendor": "Adafruit"
}
4 changes: 2 additions & 2 deletions boards/heltec_wifi_lora_32_V2.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"build": {
"arduino":{
"ldscript": "esp32_out.ld"
"ldscript": "esp32_out.ld",
"partitions": "default_8MB.csv"
},
"core": "esp32",
"extra_flags": "-DARDUINO_HELTEC_WIFI_LORA_32_V2",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"mcu": "esp32",
"partitions": "default_8MB.csv",
"variant": "heltec_wifi_lora_32_V2"
},
"connectivity": [
Expand Down
4 changes: 2 additions & 2 deletions boards/heltec_wireless_stick.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"build": {
"arduino":{
"ldscript": "esp32_out.ld"
"ldscript": "esp32_out.ld",
"partitions": "default_8MB.csv"
},
"core": "esp32",
"extra_flags": "-DARDUINO_HELTEC_WIRELESS_STICK",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"mcu": "esp32",
"partitions": "default_8MB.csv",
"variant": "heltec_wireless_stick"
},
"connectivity": [
Expand Down
4 changes: 2 additions & 2 deletions boards/m5stack-fire.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"build": {
"arduino":{
"ldscript": "esp32_out.ld"
"ldscript": "esp32_out.ld",
"partitions": "default_16MB.csv"
},
"core": "esp32",
"extra_flags": "-DARDUINO_M5STACK_FIRE",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"mcu": "esp32",
"partitions": "default_16MB.csv",
"variant": "m5stack_fire"
},
"connectivity": [
Expand Down
4 changes: 2 additions & 2 deletions boards/nina_w10.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"build": {
"arduino":{
"ldscript": "esp32_out.ld"
"ldscript": "esp32_out.ld",
"partitions": "minimal.csv"
},
"core": "esp32",
"extra_flags": "-DARDUINO_UBLOX_NINA_W10",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"mcu": "esp32",
"partitions": "minimal.csv",
"variant": "nina_w10"
},
"connectivity": [
Expand Down
40 changes: 40 additions & 0 deletions boards/nscreen-32.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"build": {
"arduino":{
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_ESP32_DEV",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"hwids": [
[
"0x0403",
"0x6010"
]
],
"mcu": "esp32",
"variant": "esp32"
},
"connectivity": [
"wifi",
"bluetooth",
"ethernet",
"can"
],
"frameworks": [
"arduino",
"espidf"
],
"name": "YeaCreate NSCREEN-32",
"upload": {
"flash_size": "16MB",
"maximum_ram_size": 327680,
"maximum_size": 16777216,
"require_upload_port": true,
"speed": 460800
},
"url": "https://yeacreate.com",
"vendor": "YeaCreate"
}
2 changes: 1 addition & 1 deletion boards/odroid_esp32.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_ODROID_ESP32",
"extra_flags": "-DARDUINO_ODROID_ESP32 -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
Expand Down
4 changes: 2 additions & 2 deletions boards/oroca_edubot.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"build": {
"arduino":{
"ldscript": "esp32_out.ld"
"ldscript": "esp32_out.ld",
"partitions": "huge_app.csv"
},
"core": "esp32",
"extra_flags": "-DARDUINO_OROCA_EDUBOT",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"mcu": "esp32",
"partitions": "huge_app.csv",
"variant": "oroca_edubot"
},
"connectivity": [
Expand Down
4 changes: 2 additions & 2 deletions boards/ttgo-t-watch.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"build": {
"arduino":{
"ldscript": "esp32_out.ld"
"ldscript": "esp32_out.ld",
"partitions": "default_16MB.csv"
},
"core": "esp32",
"extra_flags": "-DARDUINO_T-Watch -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
"mcu": "esp32",
"partitions": "default_16MB.csv",
"variant": "twatch"
},
"connectivity": [
Expand Down
4 changes: 2 additions & 2 deletions builder/frameworks/_embed_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ def embed_files(files, files_type):

def transform_to_asm(target, source, env):
files = [join("$BUILD_DIR", s.name + ".S") for s in source]
env.AppendUnique(PIOBUILDFILES=files)
return files, source


env.Append(
BUILDERS=dict(
TxtToBin=Builder(
Expand Down Expand Up @@ -155,7 +155,7 @@ def transform_to_asm(target, source, env):
"Generating assembly for $TARGET",
),
emitter=transform_to_asm,
single_source=True
single_source=True,
),
)
)
Expand Down
Loading

0 comments on commit c711383

Please sign in to comment.