Skip to content

Commit

Permalink
add esp32p4 based dadax platform
Browse files Browse the repository at this point in the history
  • Loading branch information
mjleehh committed Dec 22, 2024
1 parent d7074ac commit ce13522
Show file tree
Hide file tree
Showing 14 changed files with 2,706 additions and 74 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
// flashing: uncomment for device flashing
// warning: this is potentially dangerous
//
// "type=bind,source=/dev,target=/dev",
"type=bind,source=/dev,target=/dev",

// sound: uncomment for desktop build sound output
// https://comp0016-team-24.github.io/dev/problem-solving/2020/10/30/passing-audio-into-docker.html
//
// "source=/run/user/1000/pulse/native,target=/run/user/1000/pulse/native,type=bind"
"source=/run/user/1000/pulse/native,target=/run/user/1000/pulse/native,type=bind"
],
"forwardPorts": [2024],
"build": {
Expand Down Expand Up @@ -69,6 +69,6 @@
// flashing: uncomment for device flashing
// warning: this is potentially dangerous
//
// "--privileged",
"--privileged"
]
}
5 changes: 5 additions & 0 deletions .github/workflows/build-all-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ jobs:
with:
tbd-platform: dada

build-dadax-firmware:
uses: ./.github/workflows/build-firmware.yml
with:
tbd-platform: dadax

build-bba2-firmware:
uses: ./.github/workflows/build-firmware.yml
with:
Expand Down
2 changes: 1 addition & 1 deletion config/dependencies/dependencies.bba2.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ dependencies:
idf:
source:
type: idf
version: 5.4.0
version: 5.2.3
joltwallet/littlefs:
component_hash: 362f1f5beb5087b0c60169aff82676d2d0ffc991ead975212b0cba95959181c5
dependencies:
Expand Down
86 changes: 86 additions & 0 deletions config/dependencies/dependencies.dadax.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
dependencies:
espressif/esp-dsp:
component_hash: f5fe1466237d0352c98321efe7fa284c8ec0e11f764fd98e319b563d29d0cd17
dependencies:
- name: idf
registry_url: https://components.espressif.com
require: private
version: '>=4.2'
source:
registry_url: https://components.espressif.com/
type: service
version: 1.4.0
espressif/esp_tinyusb:
component_hash: 4878831be091116ec8d0e5eaedcae54a5e9866ebf15a44ef101886fd42c0b91f
dependencies:
- name: idf
require: private
version: '>=5.0'
- name: espressif/tinyusb
registry_url: https://components.espressif.com
require: public
version: '>=0.14.2'
source:
registry_url: https://components.espressif.com/
type: service
version: 1.5.0
espressif/led_strip:
component_hash: 28c6509a727ef74925b372ed404772aeedf11cce10b78c3f69b3c66799095e2d
dependencies:
- name: idf
registry_url: https://components.espressif.com
require: private
version: '>=4.4'
source:
registry_url: https://components.espressif.com/
type: service
version: 2.5.5
espressif/mdns:
component_hash: f5267872ed0c810d1b281c41a567cace7b3a3695c0df9dff89f631e9ba426ed0
dependencies:
- name: idf
require: private
version: '>=5.0'
source:
registry_url: https://components.espressif.com/
type: service
version: 1.4.2
espressif/tinyusb:
component_hash: 7f73a4159dc95325ceaa4ade5e88734c4e1f5124746a3765cf61dc6157d78798
dependencies:
- name: idf
require: private
version: '>=5.0'
source:
registry_url: https://components.espressif.com
type: service
targets:
- esp32s2
- esp32s3
- esp32p4
version: 0.17.0~2
idf:
source:
type: idf
version: 5.4.0
joltwallet/littlefs:
component_hash: 362f1f5beb5087b0c60169aff82676d2d0ffc991ead975212b0cba95959181c5
dependencies:
- name: idf
registry_url: https://components.espressif.com
require: private
version: '>=4.3'
source:
registry_url: https://components.espressif.com/
type: service
version: 1.14.8
direct_dependencies:
- espressif/esp-dsp
- espressif/esp_tinyusb
- espressif/led_strip
- espressif/mdns
- idf
- joltwallet/littlefs
manifest_hash: 966cff0000a77c6a998f66e21811cdecf47aa8a98e0d34d488524b8364691f99
target: esp32p4
version: 2.0.0
6 changes: 3 additions & 3 deletions config/esp_sdkconfigs/sdkconfig.defaults.dada
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,11 @@ CONFIG_ESPTOOLPY_FLASHFREQ="80m"
# CONFIG_ESPTOOLPY_FLASHSIZE_2MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_4MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
# CONFIG_ESPTOOLPY_FLASHSIZE_32MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set
CONFIG_ESPTOOLPY_FLASHSIZE_32MB=y
# CONFIG_ESPTOOLPY_FLASHSIZE_64MB is not set
# CONFIG_ESPTOOLPY_FLASHSIZE_128MB is not set
CONFIG_ESPTOOLPY_FLASHSIZE="16MB"
CONFIG_ESPTOOLPY_FLASHSIZE="32MB"
#CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE=y
CONFIG_ESPTOOLPY_BEFORE_RESET=y
# CONFIG_ESPTOOLPY_BEFORE_NORESET is not set
Expand Down
Loading

0 comments on commit ce13522

Please sign in to comment.