Piccolo OS Plus 1.01
A feature rich extension of Piccolo OS
|
Macros | |
#define | loops 1000 |
Functions | |
void | blinker (void) |
int | is_prime (unsigned int n) |
void | find_primes (void) |
void | reporter_task (void) |
void | sz () |
void | z () |
void | stress_tester (void) |
void | spinner2 (void) |
void | spinner () |
int | main () |
Variables | |
const uint | LED_PIN = 25 |
const uint | LED2_PIN = 14 |
volatile uint32_t | tickct |
volatile int32_t | sleep_time |
volatile int32_t | sleep_core |
volatile int32_t | sleep_ct |
semaphore_t | talking_stick |
uint32_t | primes [2] |
uint32_t | totalPrimes |
piccolo_os_task_t * | reporter |
uint32_t | kills |
#define loops 1000 |
void blinker | ( | void | ) |
void find_primes | ( | void | ) |
int is_prime | ( | unsigned int | n | ) |
int main | ( | ) |
void reporter_task | ( | void | ) |
void spinner | ( | ) |
void spinner2 | ( | void | ) |
void stress_tester | ( | void | ) |
Force a slew of task create and deletes by creating lots of tasks that die very quickly. Do this every few seconds. Note that we are perfectly safe creating multiple tasks running the same function since they all have seperate stacks.
void sz | ( | ) |
void z | ( | ) |
|
extern |
const uint LED2_PIN = 14 |
const uint LED_PIN = 25 |
uint32_t primes[2] |
piccolo_os_task_t* reporter |
|
extern |
|
extern |
|
extern |
semaphore_t talking_stick |
|
extern |
uint32_t totalPrimes |