Skip to content

Commit 7b1f417

Browse files
committed
altos: Remove support for !HAS_TASK_QUEUE
This uses a bit more memory, but the amount can be controlled by setting the size of the sleep hash table, which makes this fit on even the smaller devices like the early EasyMini boards. Signed-off-by: Keith Packard <[email protected]>
1 parent a6baf04 commit 7b1f417

File tree

34 files changed

+72
-185
lines changed

34 files changed

+72
-185
lines changed

src/cortexelf-v1/ao_pins.h

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#ifndef _AO_PINS_H_
2020
#define _AO_PINS_H_
2121

22-
#define HAS_TASK_QUEUE 1
2322

2423
/* 8MHz High speed external crystal */
2524
#define AO_HSE 8000000

src/easymega-v1.0/ao_pins.h

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#ifndef _AO_PINS_H_
2020
#define _AO_PINS_H_
2121

22-
#define HAS_TASK_QUEUE 1
2322

2423
/* 8MHz High speed external crystal */
2524
#define AO_HSE 8000000

src/easymega-v2.0/ao_pins.h

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#ifndef _AO_PINS_H_
2020
#define _AO_PINS_H_
2121

22-
#define HAS_TASK_QUEUE 1
2322

2423
/* 16MHz High speed external crystal */
2524
#define AO_HSE 16000000

src/easymega-v3.0/ao_pins.h

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#ifndef _AO_PINS_H_
2020
#define _AO_PINS_H_
2121

22-
#define HAS_TASK_QUEUE 1
2322

2423
/* 16MHz High speed external crystal */
2524
#define AO_HSE 16000000

src/easymini-v1.0/ao_pins.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
#define HAS_BEEP 1
2020
#define HAS_BATTERY_REPORT 1
2121

22-
#define AO_STACK_SIZE 376
22+
#define AO_STACK_SIZE 360
23+
#define SLEEP_HASH_SIZE 3
24+
#define AO_NUM_TASKS 6
2325

2426
#define IS_FLASH_LOADER 0
2527

@@ -93,6 +95,7 @@
9395
#define USE_INTERNAL_FLASH 0
9496
#define HAS_IGNITE 1
9597
#define HAS_IGNITE_REPORT 1
98+
#define SLEEP_HASH_SIZE 3
9699

97100
#define AO_DATA_RING 16
98101

src/easytimer-v1/ao_pins.h

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#ifndef _AO_PINS_H_
2020
#define _AO_PINS_H_
2121

22-
#define HAS_TASK_QUEUE 1
2322

2423
/* 16MHz High speed external crystal */
2524
#define AO_HSE 16000000

src/fox1ihu/ao_pins.h

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#ifndef _AO_PINS_H_
1919
#define _AO_PINS_H_
2020

21-
#define HAS_TASK_QUEUE 1
2221

2322
/* 8MHz High speed external crystal */
2423
#define AO_HSE 8000000

0 commit comments

Comments
 (0)