|  | Commit message (Collapse) | Author | Age | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | Having an explicit cast in the ao_xmem wrapper macros caused the
compiler to generate garbage values for pdata addresses, making the
upper byte 0x00 instead of the required 0xf0. Removing the
casts from the ao_xmem macros exposed this problem, so a new
PDATA_TO_XDATA macros was added, along with a CODE_TO_XDATA macro
which serve to cast pointers, with suitable address modifications, so
that things work again.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| 
| | This shares the checksum testing across all three lines, saving
another 103 bytes.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| | This cuts another 78 bytes
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| 
| | Just mess around with the code to make it smaller. These patches save
173 bytes.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| | Lots of fun stuff here -- multiple panes of information.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| | The arch-specific section just puts a single nibble to the device.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| | TeleScience and TelePyro now work.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| | This is mostly for debugging with flash writes disabled.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | These are significantly smaller than the general pointer versions from
libc on the cc1111.
Signed-off-by: Keith Packard <keithp@keithp.com>
Conflicts:
	src/Makefile.proto
	src/cc1111/ao_adc.c
	src/cc1111/ao_packet_master.c
	src/core/ao.h
Fix up the new makefiles | 
| | 
| 
| 
| | Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| 
| | We can't write general purpose SPI slave code as we must eliminate
any latency because the SPI ports have no buffering.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| 
| | This beeps out flight state changes and max altitude at landing, just
like the altimeter.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| 
| | This code is useful whenever the BT stuff is acting up, so just leave
the source in place, turned off by default.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| | Adds a few drivers including an LCD driver
Signed-off-by: Keith Packard <keithp@keithp.com> | 
|  | Split out sources into separate directories:
	core:		architecture and product independent bits
	cc1111:		cc1111-specific code
	drivers:	architecture independent drivers
	product:	product-specific sources and Makefile fragments
	util:		scripts for building stuff
This should have no effect on the built products, but testing is encouraged
Signed-off-by: Keith Packard <keithp@keithp.com> |