Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d8131449c | ||
|
|
2bc2b1dc46 | ||
|
|
e30efd5b72 | ||
|
|
b3a8408c48 | ||
|
|
2ed8d3afeb | ||
|
|
d0d9957d2b | ||
|
|
f3c2013cdb | ||
|
|
68be452379 |
@@ -0,0 +1,3 @@
|
|||||||
|
name:
|
||||||
|
description:
|
||||||
|
runs:
|
||||||
@@ -7,7 +7,9 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
PROJECT_BIN: "mcu-code.bin"
|
||||||
|
CHIP: esp32c6
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -17,15 +19,13 @@ jobs:
|
|||||||
uses: ./.gitea/actions/esp-idf-ci-action
|
uses: ./.gitea/actions/esp-idf-ci-action
|
||||||
with:
|
with:
|
||||||
esp_idf_version: v6.0.2
|
esp_idf_version: v6.0.2
|
||||||
target: esp32c6
|
target: ${{env.CHIP}}
|
||||||
|
|
||||||
- name: Package firmware
|
- name: Package firmware
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
NAME="firmware-${GITHUB_REF_NAME}"
|
NAME="firmware-${GITHUB_REF_NAME}"
|
||||||
PROJECT_BIN="mcu-code.bin"
|
|
||||||
|
|
||||||
mkdir -p "release/${NAME}/build/bootloader" "release/${NAME}/build/partition_table"
|
mkdir -p "release/${NAME}/build/bootloader" "release/${NAME}/build/partition_table"
|
||||||
|
|
||||||
# Keep the build/ layout so "@flash_args" works after unzipping
|
# Keep the build/ layout so "@flash_args" works after unzipping
|
||||||
@@ -41,6 +41,8 @@ jobs:
|
|||||||
cp "build/${PROJECT_BIN}" release/
|
cp "build/${PROJECT_BIN}" release/
|
||||||
|
|
||||||
cat > release/notes.md <<EOF
|
cat > release/notes.md <<EOF
|
||||||
|
# Firmware version ${NAME}
|
||||||
|
|
||||||
## Flashing (${CHIP})
|
## Flashing (${CHIP})
|
||||||
|
|
||||||
Requires [esptool](https://github.com/espressif/esptool) (\`pip install esptool\`).
|
Requires [esptool](https://github.com/espressif/esptool) (\`pip install esptool\`).
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ const char *test = "amai zeg\n";
|
|||||||
#define NODE_NUMBER 1
|
#define NODE_NUMBER 1
|
||||||
#define TOTAL_NUMBER_OF_NODES 4
|
#define TOTAL_NUMBER_OF_NODES 4
|
||||||
|
|
||||||
// testing if the release packaging works
|
// release test
|
||||||
|
|
||||||
|
|
||||||
uint8_t node_mac[ESP_NOW_ETH_ALEN] = {0xDE, 0xD5, 0xEC, 0x00, 0x00, 0x02};
|
uint8_t node_mac[ESP_NOW_ETH_ALEN] = {0xDE, 0xD5, 0xEC, 0x00, 0x00, 0x02};
|
||||||
|
|||||||
@@ -958,13 +958,9 @@ CONFIG_ESP_ROM_SUPPORT_SECURE_BOOT_FAST_WAKEUP=y
|
|||||||
#
|
#
|
||||||
# Boot ROM Behavior
|
# Boot ROM Behavior
|
||||||
#
|
#
|
||||||
# default:
|
|
||||||
CONFIG_BOOT_ROM_LOG_ALWAYS_ON=y
|
CONFIG_BOOT_ROM_LOG_ALWAYS_ON=y
|
||||||
# default:
|
|
||||||
# CONFIG_BOOT_ROM_LOG_ALWAYS_OFF is not set
|
# CONFIG_BOOT_ROM_LOG_ALWAYS_OFF is not set
|
||||||
# default:
|
|
||||||
# CONFIG_BOOT_ROM_LOG_ON_GPIO_HIGH is not set
|
# CONFIG_BOOT_ROM_LOG_ON_GPIO_HIGH is not set
|
||||||
# default:
|
|
||||||
# CONFIG_BOOT_ROM_LOG_ON_GPIO_LOW is not set
|
# CONFIG_BOOT_ROM_LOG_ON_GPIO_LOW is not set
|
||||||
# end of Boot ROM Behavior
|
# end of Boot ROM Behavior
|
||||||
|
|
||||||
@@ -1051,13 +1047,9 @@ CONFIG_PARTITION_TABLE_MD5=y
|
|||||||
#
|
#
|
||||||
# Compiler options
|
# Compiler options
|
||||||
#
|
#
|
||||||
# default:
|
|
||||||
CONFIG_COMPILER_OPTIMIZATION_DEBUG=y
|
CONFIG_COMPILER_OPTIMIZATION_DEBUG=y
|
||||||
# default:
|
|
||||||
# CONFIG_COMPILER_OPTIMIZATION_SIZE is not set
|
# CONFIG_COMPILER_OPTIMIZATION_SIZE is not set
|
||||||
# default:
|
|
||||||
# CONFIG_COMPILER_OPTIMIZATION_PERF is not set
|
# CONFIG_COMPILER_OPTIMIZATION_PERF is not set
|
||||||
# default:
|
|
||||||
# CONFIG_COMPILER_OPTIMIZATION_NONE is not set
|
# CONFIG_COMPILER_OPTIMIZATION_NONE is not set
|
||||||
# default:
|
# default:
|
||||||
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
|
CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE=y
|
||||||
@@ -1134,7 +1126,6 @@ CONFIG_COMPILER_CXX_GLIBCXX_CONSTEXPR_NO_CHANGE=y
|
|||||||
#
|
#
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
#
|
#
|
||||||
# default:
|
|
||||||
# CONFIG_BT_ENABLED is not set
|
# CONFIG_BT_ENABLED is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user