Add PICO_PLATFORM macro.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2024-08-28 18:47:07 +02:00
parent af06fb367e
commit 0560e49b5c
2 changed files with 5 additions and 2 deletions

View File

@@ -18,6 +18,10 @@
#ifndef _PICO_KEYS_H_
#define _PICO_KEYS_H_
#if defined(PICO_RP2040) || defined(PICO_RP2350)
#define PICO_PLATFORM
#endif
#include "file.h"
#if defined(ENABLE_EMULATION) || defined(ESP_PLATFORM)
#include <stdint.h>