diff options
author | Keith Packard <keithp@keithp.com> | 2019-02-04 22:38:23 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-02-18 13:08:23 -0800 |
commit | d6c3c3618a708d2a1a7948454710e6ae21c2a426 (patch) | |
tree | 710bccaa175928f81ae71d515671e95a3821a3c9 /src/stm/ao_arch.h | |
parent | 63a44b9c169d042fb1a3997620477e7f00bb0918 (diff) |
altos: Declare task stack as union of uint8_t and uint32_t
Support -Wcast-align and -Wpointer-arith while still allowing
architectures to pick whether they want an 8-bit or 32-bit stack.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_arch.h')
-rw-r--r-- | src/stm/ao_arch.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stm/ao_arch.h b/src/stm/ao_arch.h index 52576b47..c95c7cd5 100644 --- a/src/stm/ao_arch.h +++ b/src/stm/ao_arch.h @@ -58,9 +58,6 @@ #define AO_ROMCONFIG_SYMBOL __attribute__((section(".romconfig"))) const -#define ao_arch_task_members\ - uint32_t *sp; /* saved stack pointer */ - /* * For now, we're running at a weird frequency */ |