Renamed plasma mp directory to match module name

pull/191/head
ZodiusInfuser 2021-08-19 15:25:12 +01:00
rodzic c4e0316fd8
commit 7496e8c8ba
6 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -32,5 +32,5 @@ include(pico_unicorn/micropython)
include(pico_display/micropython)
include(pico_explorer/micropython)
include(pico_wireless/micropython)
include(plasma_2040/micropython)
include(plasma/micropython)
include(ulab/code/micropython)

Wyświetl plik

@ -1,4 +1,4 @@
set(MOD_NAME plasma_2040)
set(MOD_NAME plasma)
string(TOUPPER ${MOD_NAME} MOD_NAME_UPPER)
add_library(usermod_${MOD_NAME} INTERFACE)
@ -14,7 +14,6 @@ pico_generate_pio_header(usermod_${MOD_NAME} ${CMAKE_CURRENT_LIST_DIR}/../../../
target_include_directories(usermod_${MOD_NAME} INTERFACE
${CMAKE_CURRENT_LIST_DIR}
${CMAKE_CURRENT_LIST_DIR}/../../../drivers/plasma/
${CMAKE_CURRENT_LIST_DIR}/../../../libraries/plasma2040/
)
target_compile_definitions(usermod_${MOD_NAME} INTERFACE

Wyświetl plik

@ -1,4 +1,4 @@
#include "plasma_2040.h"
#include "plasma.h"
/***** Methods *****/

Wyświetl plik

@ -1,4 +1,5 @@
#include "libraries/plasma2040/plasma2040.hpp"
#include "drivers/plasma/ws2812.hpp"
#include "drivers/plasma/apa102.hpp"
#include <cstdio>
#define MP_OBJ_TO_PTR2(o, t) ((t *)(uintptr_t)(o))
@ -11,7 +12,7 @@
using namespace plasma;
extern "C" {
#include "plasma_2040.h"
#include "plasma.h"
#include "py/builtin.h"
typedef struct _mp_obj_float_t {