Changes in boot/arch/arm32/src/putchar.c [9f8a07d3:f9ab562] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/src/putchar.c
r9f8a07d3 rf9ab562 40 40 #include <putchar.h> 41 41 #include <str.h> 42 43 #ifdef MACHINE_beaglebone44 45 /** Send a byte to the am335x serial console.46 *47 * @param byte Byte to send.48 */49 static void scons_sendb_bbone(uint8_t byte)50 {51 volatile uint32_t *thr =52 (volatile uint32_t *) BBONE_SCONS_THR;53 volatile uint32_t *ssr =54 (volatile uint32_t *) BBONE_SCONS_SSR;55 56 /* Wait until transmitter is empty */57 while (*ssr & BBONE_TXFIFO_FULL);58 59 /* Transmit byte */60 *thr = (uint32_t) byte;61 }62 63 #endif64 42 65 43 #ifdef MACHINE_beagleboardxm … … 128 106 static void scons_sendb(uint8_t byte) 129 107 { 130 #ifdef MACHINE_beaglebone131 scons_sendb_bbone(byte);132 #endif133 108 #ifdef MACHINE_beagleboardxm 134 109 scons_sendb_bbxm(byte);
Note:
See TracChangeset
for help on using the changeset viewer.