mirror of
				https://github.com/brmlab/osmo-tetra.git
				synced 2025-10-31 07:24:01 +01:00 
			
		
		
		
	initial import of Osmocom TETRA phy and lower MAC code
This commit is contained in:
		
							parent
							
								
									a4c4e5a1ab
								
							
						
					
					
						commit
						7ee08faee0
					
				
					 45 changed files with 4217 additions and 0 deletions
				
			
		
							
								
								
									
										25
									
								
								src/Makefile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								src/Makefile
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,25 @@ | |||
| CFLAGS=-g -O0 -Wall `pkg-config --cflags libosmocore 2> /dev/null` -I. | ||||
| LDFLAGS=`pkg-config --libs libosmocore 2> /dev/null` -losmocore | ||||
| 
 | ||||
| all: conv_enc_test crc_test burst_test float_to_bits | ||||
| 
 | ||||
| %.o: %.c | ||||
| 	$(CC) $(CFLAGS) -c $^ -o $@ | ||||
| 
 | ||||
| libosmo-tetra-phy.a: phy/tetra_burst_sync.o phy/tetra_burst.o | ||||
| 	$(AR) r $@ $^ | ||||
| 
 | ||||
| libosmo-tetra-mac.a: lower_mac/tetra_conv_enc.o tetra_tdma.o lower_mac/tetra_scramb.o lower_mac/tetra_rm3014.o lower_mac/tetra_interleave.o lower_mac/crc_simple.o tetra_common.o lower_mac/viterbi.o lower_mac/viterbi_cch.o lower_mac/viterbi_tch.o lower_mac/tetra_lower_mac.o tetra_upper_mac.o tetra_mac_pdu.o tetra_mle_pdu.o tetra_mm_pdu.o tetra_gsmtap.o | ||||
| 	$(AR) r $@ $^ | ||||
| 
 | ||||
| float_to_bits: float_to_bits.o | ||||
| 
 | ||||
| crc_test: crc_test.o tetra_common.o libosmo-tetra-mac.a | ||||
| 
 | ||||
| burst_test: burst_test.o libosmo-tetra-phy.a libosmo-tetra-mac.a | ||||
| 
 | ||||
| conv_enc_test: conv_enc_test.o testpdu.o libosmo-tetra-phy.a libosmo-tetra-mac.a | ||||
| 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ | ||||
| 
 | ||||
| clean: | ||||
| 	@rm -f conv_enc_test crc_test burst_test float_to_bits *.o phy/*.o lower_mac/*.o *.a | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Harald Welte
						Harald Welte