Some cmake build improvements (#376)

* Change some cmake output to DEBUG level
Make SDK build more consistent with other libraries (use an INTERFACE marker library for inclusion tests)
Add PICO_SDK_PRE_LIST_FILES, PICO_SDK_POST_LIST_FILES build vars

* fix typo

* remove leftover debugging message
This commit is contained in:
Graham Sanderson
2021-05-04 08:40:11 -05:00
committed by GitHub
parent 929ede7482
commit 18c39856bd
4 changed files with 57 additions and 41 deletions

View File

@ -6,6 +6,7 @@
#include "pico/sem.h"
#include "pico/time.h"
#include "sys/select.h"
void sem_init(semaphore_t *sem, int16_t initial_permits, int16_t max_permits) {
lock_init(&sem->core, next_striped_spin_lock_num());