add tos_slist.h, rename tos.h to tos_k.h

This commit is contained in:
daishengdong
2020-01-03 17:25:38 +08:00
parent af07f199d9
commit c9556307df
268 changed files with 900 additions and 742 deletions

View File

@@ -12,7 +12,7 @@
#ifndef MAIN_H
#define MAIN_H
#include "tos.h"
#include "tos_k.h"
#include "nrf_gpio.h"
#define LED_START 18

View File

@@ -7,7 +7,7 @@
#include "nrf.h"
#include "nrfx_glue.h"
#include <tos.h>
#include <tos_k.h>
#define NUM_IRQS_PER_REG 32
#define REG_FROM_IRQ(irq) (irq / NUM_IRQS_PER_REG)