Loading files
701e58161This file is pinned to the selected release. Download the original to open it in your design tool.
Files from this revision, including CAD and LFS contents. Git history is not included.
Or in GitHub Desktop, choose File → Clone repository → URL and paste this address.
Public repositories can be cloned without signing in. For pushing, use your ThingAtlas username and a Git access token as the password.
git lfs install git clone https://thingatlas.com/git/-unclaimed/tulipcc-498083946.git
Includes Git history, branches, and Git LFS files. Clones the repository’s default branch, regardless of the version shown here.
701e58161This file is pinned to the selected release. Download the original to open it in your design tool.
#ifndef POLYFILLS_H
#include <stdint.h>
#include "py/mphal.h"
#ifndef __EMSCRIPTEN__
#include "amy.h"
#endif
#ifdef ESP_PLATFORM
// not sure, maybe esp includes?
extern void esp32s3_display_start();
extern void esp32s3_display_stop();
#else
#include <sys/time.h>
#include <stdlib.h>
#define MALLOC_CAP_INTERNAL 0
#define MALLOC_CAP_SPIRAM 0
#define MALLOC_CAP_8BIT 0
#endif
uint8_t rand_uint8();
void take_semaphore();
int64_t get_time_ms();
int32_t get_ticks_ms();
int64_t get_time_us();
void * malloc_caps(uint32_t size, uint32_t flags);
void *calloc_caps(uint32_t align, uint32_t count, uint32_t size, uint32_t flags);
void *realloc_caps(void* ptr, uint32_t size, uint32_t caps);
void free_caps(void *ptr);
float compute_cpu_usage(uint8_t debug);
void delay_ms(uint32_t ms);
void display_start();
void display_stop();
#endif