Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Move platform specific modules out of eavmlib #1268

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions libs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ add_subdirectory(etest/src)
add_subdirectory(esp32boot)
add_subdirectory(esp32devmode/src)

# platform libraries
add_subdirectory(emscriptenlib/src)
add_subdirectory(esp32lib/src)
add_subdirectory(picolib/src)

if (Elixir_FOUND)
add_subdirectory(exavmlib/lib)
else()
Expand Down
2 changes: 0 additions & 2 deletions libs/eavmlib/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ set(ERLANG_MODULES
atomvm
avm_pubsub
console
emscripten
esp
gpio
i2c
Expand All @@ -37,7 +36,6 @@ set(ERLANG_MODULES
logger_manager
network
network_fsm
pico
port
spi
timer_manager
Expand Down
File renamed without changes.
29 changes: 29 additions & 0 deletions libs/esp32lib/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# This file is part of AtomVM.
#
# Copyright 2024 Davide Bettio <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
#

project(esp32lib)

include(BuildErlang)

set(ERLANG_MODULES
esp
)

pack_archive(esp32lib ${ERLANG_MODULES})
File renamed without changes.
File renamed without changes.
Loading