# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you 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. # Dependencies for this package pkg.name: libs/pinetime_lvgl_mynewt pkg.description: LVGL Library for PineTime Smart Watch (UI widgets and touch input) pkg.author: "Lee Lup Yuen " pkg.homepage: "https://github.com/lupyuen" pkg.keywords: - lvgl - pinetime pkg.deps: - "@apache-mynewt-core/kernel/os" - "@apache-mynewt-core/hw/hal" # Initialisation functions to be called by sysinit() during startup. # Mynewt consolidates the initialisation functions into sysinit() # and calls them according to the Stage number, highest number first. # Stage 500 is used by Sensor Creator so we use Stage 600 onwards. # Generated sysinit() for Bootloader: bin/targets/nrf52_boot/generated/src/nrf52_boot-sysinit-app.c pkg.init: # pinetime_lvgl_mynewt should be initialised last, when SPI and Semihosting Console are up pinetime_lvgl_mynewt_init: 900 # Call pinetime_lvgl_mynewt_init() to initialise LVGL # C compiler flags pkg.cflags: - -DLV_CONF_INCLUDE_SIMPLE # Compile with libs/pinetime_lvgl_mynewt/lv_conf.h - -Ilibs/pinetime_lvgl_mynewt