mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-11-17 08:41:03 +00:00
Added missing get_core_num
This commit is contained in:
parent
0c6c2923fe
commit
42c5b7c10e
1 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ void _start();
|
||||||
#define rt_core_id hal_core_id
|
#define rt_core_id hal_core_id
|
||||||
#define rt_cluster_id hal_cluster_id
|
#define rt_cluster_id hal_cluster_id
|
||||||
|
|
||||||
|
static inline int get_core_num() { return ARCHI_CLUSTER_NB_PE; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int uart_open(int uart_id, int baudrate);
|
int uart_open(int uart_id, int baudrate);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue