Jump to content

avockley

Members
  • Posts

    36
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by avockley

  1. A single LPC17 core was my initial thought, but I wasn't sure how to control so many devices with it. The problem is that each synth board will end up with something like 15 IIC-controlled digipots/switches/dacs and there just aren't that many IIC ports on the core. I suppose the best option would be to bit bang IIC on other pins on the core.

     

    And I just discovered IIC bus hubs (TI PCA9518). I think I may have my solution. 

  2. First, a bit of background on the project. It's an analog synth that will have a control surface similar to the one on the Moog Little Phatty. It will be a few encoders with a bunch of buttons to select the function each will perform. These are on the master core, with that core communicating with a slave core on each monophonic synth board. Each of these slave cores with forward the commands on to a series of digital pots and switch to control the synth.

     

    The issue I'm having right now is how the master core will send data to the slave cores. I'm trying to decide whether to use MIDI or IIC (or maybe mbNet?). The issue with MIDI is that the digipots are 8 or 10 bits each, so the 7 bit per packet restriction could cause some problems. I think IIC would be a good option, but I'm not really sure how receiving on the slaves would work.. Sending the data from the master core should be easy enough, with the built-in MIOS_IIC_ByteSend function, but I don't believe the built-in functions will work for receiving on the slaves. MBNet seems like it was designed for exactly this purpose, but as far as I can tell, it doesn't exist for MIOS8, and I'd rather not use a bunch of LPC1769 cores since they're overkill and quite a bit more expensive.

     

    Any thoughts, or should I just stick to trying to make MIDI work?

    • Like 1
  3. The issue with using uip_udp_bind is that it requires that I know the ip address of the remote peer before running the app. My app gets the remote ip address from data in a broadcast packet, and also (if I follow all specs) should be able to receive from multiple ip addresses on the same local port. The second part isn't really important, but I would have to bind to a port to get the ip address to set up the port binding..... which obviously won't work. Is my best option to try rewriting parts of uip.c?

    Edit: And as I just realized, the point of using broadcast in this particular protocol is so that my device doesn't need to know anything about the network it is on. It just gets all the data and sorts out what it needs. I don't want to have to give it the ip of the remote device. The remote ip may not even be available always, as this protocol is designed to work on a closed LAN without any computers, only embedded devices.

  4. I have an application on my computer that is both broadcasting and unicasting udp. Anything that it sends to a unicast IP is picked up correctly by the app running on my LPC core. The issue is that anything that is sent to the broadcast address on the network is not being received. I have a debug messasge at the first level of the UIP_TASK_UIP_AppCall function that should show all incoming data, and only the unicast packets make it that far. The strange thing is that all incoming packets, unicast and broadcast, cause the activity light on the lpcxpresso to blink. Is there something I have to do to enable uIP to receive broadcast UDP, or is there some other issue on my network or computer?

  5. The uip_task_standard files needed some modifications so that they would work for my purposes, mainly a branch in the udp appcall, so that I could handle the data coming to my app. I thought including them in the sources was enough to make the compiler recognize them.

    BTW I did intend to change the copyright back to the original once I realized that only very minor modifications needed to be made. I just hadn't gotten around to it when I posted.

  6. Here's the entire source directory and all the build files.

    And here's the compiler log

    Aaron-Vockleys-Laptop:ArtNet Node aaron$ make

    rm -f project.hex

    Creating object file for app.c

    Creating object file for main.c

    Creating object file for tasks.c

    Creating object file for list.c

    Creating object file for queue.c

    Creating object file for port.c

    Creating object file for umm_malloc.c

    Creating object file for startup_LPC17xx.c

    Creating object file for mios32_srio.c

    Creating object file for mios32_din.c

    Creating object file for mios32_dout.c

    Creating object file for mios32_enc.c

    Creating object file for mios32_lcd.c

    Creating object file for mios32_midi.c

    Creating object file for mios32_osc.c

    Creating object file for mios32_com.c

    Creating object file for mios32_uart_midi.c

    Creating object file for mios32_iic_midi.c

    Creating object file for mios32_iic_bs.c

    Creating object file for mios32_mf.c

    Creating object file for mios32_sdcard.c

    Creating object file for mios32_enc28j60.c

    Creating object file for mios32_bsl.c

    Creating object file for mios32_sys.c

    Creating object file for mios32_irq.c

    Creating object file for mios32_spi.c

    Creating object file for mios32_i2s.c

    Creating object file for mios32_board.c

    Creating object file for mios32_timer.c

    Creating object file for mios32_stopwatch.c

    Creating object file for mios32_delay.c

    Creating object file for mios32_ain.c

    Creating object file for mios32_usb.c

    Creating object file for mios32_usb_midi.c

    Creating object file for mios32_usb_com.c

    Creating object file for mios32_uart.c

    Creating object file for mios32_iic.c

    Creating object file for printf-stdarg.c

    Creating object file for core_cm3.c

    Creating object file for usbhw_lpc.c

    Creating object file for usbcontrol.c

    Creating object file for usbstdreq.c

    Creating object file for usbinit.c

    Creating object file for app_lcd.c

    Creating object file for glcd_font_big.c

    Creating object file for glcd_font_small.c

    Creating object file for glcd_font_normal.c

    Creating object file for glcd_font_knob_icons.c

    Creating object file for glcd_font_meter_icons_h.c

    Creating object file for glcd_font_meter_icons_v.c

    Creating object file for uip.c

    Creating object file for uip_arp.c

    Creating object file for uiplib.c

    Creating object file for psock.c

    Creating object file for timer.c

    Creating object file for uip-neighbor.c

    Creating object file for memb.c

    Creating object file for clock-arch.c

    Creating object file for network-device.c

    Creating object file for lpc17xx_emac.c

    Creating object file for eeprom.c

    Creating object file for mini_cpp.cpp

    Creating object file for freertos_heap.cpp

    project_build/app.o: In function `APP_Init':

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:35: undefined reference to `PRESETS_Init'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:48: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:48: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:48: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:48: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:50: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:50: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:50: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:50: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:52: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:52: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:52: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:52: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:56: undefined reference to `INVERTER_Init'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:57: undefined reference to `DMX_Init'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:58: undefined reference to `DMX_Timer'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:58: undefined reference to `DMX_ByteTimer'

    project_build/app.o: In function `APP_Background':

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:67: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:67: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:67: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:67: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:69: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:69: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:69: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:69: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:71: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:71: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:71: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:71: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:73: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:74: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:75: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:76: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:77: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:78: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:79: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:80: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:81: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:82: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:83: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:84: undefined reference to `UIP_TASK_GatewayGet'

    /Users/aaron/Documents/Projects/ArtNet Node/app.c:84: undefined reference to `INVERTER_PrintNumber'

    collect2: ld returned 1 exit status

    make: *** [project_build/project.elf] Error 1

    Aaron-Vockleys-Laptop:ArtNet Node aaron$

    ArtNet Node.zip

  7. I'm getting the same undefined reference error with a new piece of code. This is a new file, with 2 functions, its .h file is included in the app.c, and the error is now happening on those functions. I'm not seeing the files that are causing errors being compiled anywhere, and the .o files are missing from the build directory. Is there an include missing somewhere? What's going on here?

    Edit: As a matter of fact, only 4 of the 9 sets of .c/.h files are showing up as .o/.d files in the build directory.

  8. I am having an issue with accessing functions in 1 source file from multiple other source files. I have included my entire source directory, as I'm not really sure where the error is. The function I want to call are in uip_task.c, and they are called from both terminal.c and presets.c. The functions are called properly from terminal.c, but not from presets.c. I have included the compile log below. The first warning happens even with the tutorials, but doesn't seem to be causing any problems. The errors at the end are the problem that I'm having. I'm guessing it's an issue with an include somewhere, but as far as I can tell, it's all seems correct.

    Aarons_Macbook_Pro:ArtNet Node aaron$ make

    rm -f project.hex

    Creating object file for app.c

    Creating object file for terminal.c

    terminal.c: In function 'TERMINAL_Init':

    terminal.c:55:2: warning: passing argument 1 of 'MIOS32_MIDI_DebugCommandCallback_Init' from incompatible pointer type

    /Users/aaron/svn/mios32/trunk/include/mios32/mios32_midi.h:253:12: note: expected 's32 (*)(enum mios32_midi_port_t, char)' but argument is of type 's32 (*)(enum mios32_midi_port_t, u8)'

    Creating object file for presets.c

    Creating object file for shell.c

    Creating object file for main.c

    Creating object file for tasks.c

    Creating object file for list.c

    Creating object file for queue.c

    Creating object file for port.c

    Creating object file for umm_malloc.c

    Creating object file for startup_LPC17xx.c

    Creating object file for mios32_srio.c

    Creating object file for mios32_din.c

    Creating object file for mios32_dout.c

    Creating object file for mios32_enc.c

    Creating object file for mios32_lcd.c

    Creating object file for mios32_midi.c

    Creating object file for mios32_osc.c

    Creating object file for mios32_com.c

    Creating object file for mios32_uart_midi.c

    Creating object file for mios32_iic_midi.c

    Creating object file for mios32_iic_bs.c

    Creating object file for mios32_mf.c

    Creating object file for mios32_sdcard.c

    Creating object file for mios32_enc28j60.c

    Creating object file for mios32_bsl.c

    Creating object file for mios32_sys.c

    Creating object file for mios32_irq.c

    Creating object file for mios32_spi.c

    Creating object file for mios32_i2s.c

    Creating object file for mios32_board.c

    Creating object file for mios32_timer.c

    Creating object file for mios32_stopwatch.c

    Creating object file for mios32_delay.c

    Creating object file for mios32_ain.c

    Creating object file for mios32_usb.c

    Creating object file for mios32_usb_midi.c

    Creating object file for mios32_usb_com.c

    Creating object file for mios32_uart.c

    Creating object file for mios32_iic.c

    Creating object file for printf-stdarg.c

    Creating object file for core_cm3.c

    Creating object file for usbhw_lpc.c

    Creating object file for usbcontrol.c

    Creating object file for usbstdreq.c

    Creating object file for usbinit.c

    Creating object file for app_lcd.c

    Creating object file for glcd_font_big.c

    Creating object file for glcd_font_small.c

    Creating object file for glcd_font_normal.c

    Creating object file for glcd_font_knob_icons.c

    Creating object file for glcd_font_meter_icons_h.c

    Creating object file for glcd_font_meter_icons_v.c

    Creating object file for uip.c

    Creating object file for uip_arp.c

    Creating object file for uiplib.c

    Creating object file for psock.c

    Creating object file for timer.c

    Creating object file for uip-neighbor.c

    Creating object file for memb.c

    Creating object file for clock-arch.c

    Creating object file for network-device.c

    Creating object file for lpc17xx_emac.c

    Creating object file for eeprom.c

    Creating object file for mini_cpp.cpp

    Creating object file for freertos_heap.cpp

    project_build/presets.o: In function `PRESETS_StoreAll':

    /Users/aaron/Documents/Projects/ArtNet Node/presets.c:96: undefined reference to `UIP_TASK_DHCP_EnableGet'

    /Users/aaron/Documents/Projects/ArtNet Node/presets.c:97: undefined reference to `UIP_TASK_IP_AddressGet'

    /Users/aaron/Documents/Projects/ArtNet Node/presets.c:98: undefined reference to `UIP_TASK_NetmaskGet'

    /Users/aaron/Documents/Projects/ArtNet Node/presets.c:99: undefined reference to `UIP_TASK_GatewayGet'

    project_build/presets.o: In function `PRESETS_Init':

    /Users/aaron/Documents/Projects/ArtNet Node/presets.c:52: undefined reference to `UIP_TASK_InitFromPresets'

    collect2: ld returned 1 exit status

    make: *** [project_build/project.elf] Error 1

    Aarons_Macbook_Pro-3:ArtNet Node aaron$

  9. That was actually the one I was looking at earlier, but I don't know how to get a raw UDP packet. I believe that the OSC code calls the APP_MIDI_Notify_Package function after receiving data, but my app will not be receiving OSC data. I want to get the raw data inside the UDP packet so that I can parse it myself.

  10. I'm working on creating a network device that will sit on a static IP and receive UDP packets. This will eventually turn in to an ArtNet to DMX converter, but the only thing i'm working on right now is how the networking will work. I have looked at the examples in the mios32 svn repository, but the ones for MIOS don't involve UDP, and the one that uses UDP is not for MIOS. It will also need to unicast UDP packets under a few conditions. All I really need to know is how to set up the ethernet port on an LPC1769 board and then read in and send UDP packets. I'm sure this is simpler than I'm making it, but I have absolutely no idea where to start. Any help would be greatly appreciated.

  11. I am having trouble compiling anything using the eeprom module in mios32. Any code that doesn't use the eeprom library compiles correctly, but even the eeprom tutorial doesn't work. I am on OS X 10.7.

    Aarons-Macbook-Pro:025_sysex_and_eeprom aaron$ make

    rm -f project.hex

    make: *** No rule to make target `project_build/~/svn/mios32/trunk/modules/eeprom//eeprom.o', needed by `project_build/project.elf'. Stop.

    Aarons-Macbook-Pro:025_sysex_and_eeprom aaron$

    The next problem, which I think is part of the same issue, is that I can't include the eeprom header in my own apps using #include <eeprom.h>.

    Aarons-Macbook-Pro:ArtNet Node aaron$ make

    rm -f project.hex

    Creating object file for app.c

    app.c:21:20: fatal error: eeprom.h: No such file or directory

    compilation terminated.

    make: *** [project_build/app.o] Error 1

    Aarons-Macbook-Pro:ArtNet Node aaron$

    I'm not sure if it's a makefile issue, but just in case, here is my makefile.

    # $Id: Makefile 502 2009-05-09 14:20:30Z tk $
    
    
    ################################################################################
    
    # following setup taken from environment variables
    
    ################################################################################
    
    
    MIOS32_PATH			= ~/svn/mios32/trunk
    
    MIOS32_BIN_PATH		= ~/svn/mios32/trunk/bin
    
    MIOS32_GCC_PREFIX	= arm-none-eabi
    
    PROCESSOR			= LPC1769
    
    FAMILY				= LPC17xx
    
    BOARD				= MBHP_CORE_LPC17
    
    LCD					= universal
    
    
    
    ################################################################################
    
    # Source Files, include paths and libraries
    
    ################################################################################
    
    
    THUMB_SOURCE    = app.c
    
    
    # (following source stubs not relevant for Cortex M3 derivatives)
    
    THUMB_AS_SOURCE =
    
    ARM_SOURCE      =
    
    ARM_AS_SOURCE   =
    
    
    C_INCLUDE = 	-I .
    
    A_INCLUDE = 	-I .
    
    
    LIBS = 		
    
    
    
    ################################################################################
    
    # Remaining variables
    
    ################################################################################
    
    
    LD_FILE   = 	$(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
    
    PROJECT   = 	project
    
    
    DEBUG     =	-g
    
    OPTIMIZE  =	-Os
    
    
    CFLAGS =	$(DEBUG) $(OPTIMIZE)
    
    
    
    ################################################################################
    
    # Include source modules via additional makefiles
    
    ################################################################################
    
    
    # sources of programming model
    
    include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
    
    
    # application specific LCD driver (selected via makefile variable)
    
    include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
    
    
    # common make rules
    
    include $(MIOS32_PATH)/include/makefile/common.mk

    Any ideas?

  12. I'm having an issue when trying to compile my program. The full make log is included below. I think it is some kind of memory conflict, but I have no idea what it means, or how to solve it.

    aarons-macbook-pro:Software aaron$ make
    
    rm -rf _output/*
    
    rm -rf _output
    
    rm -rf *.cod *.map *.lst
    
    rm -rf *.hex
    
    mkdir -p _output
    
    sh ~/svn/mios/trunk/bin/mios-gpasm -c -p p18f4685 -I./src -I ~/svn/mios/trunk/include/asm -I ~/svn/mios/trunk/include/share -I ~/svn/mios/trunk/modules/debug_msg -I ~/svn/mios/trunk/modules/app_lcd/dummy -DDEBUG_MODE=0  -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f -I ~/svn/mios/trunk/modules/mios_wrapper /Users/aaron/svn/mios/trunk/modules/mios_wrapper/mios_wrapper.asm  -o _output/mios_wrapper.o
    
    sh ~/svn/mios/trunk/bin/mios-gpasm -c -p p18f4685 -I./src -I ~/svn/mios/trunk/include/asm -I ~/svn/mios/trunk/include/share -I ~/svn/mios/trunk/modules/debug_msg -I ~/svn/mios/trunk/modules/app_lcd/dummy -DDEBUG_MODE=0   /Users/aaron/svn/mios/trunk/modules/app_lcd/dummy/app_lcd.asm -o _output/app_lcd.o
    
    sh ~/svn/mios/trunk/bin/mios-sdcc -c -mpic16 -p18f4685 --fommit-frame-pointer --optimize-goto --optimize-cmp --disable-warning 85 --obanksel=2  -I./src -I ~/svn/mios/trunk/include/c -I ~/svn/mios/trunk/include/share -I ~/svn/mios/trunk/modules/debug_msg -DDEBUG_MODE=0  main.c -o _output/main.o
    
    /Users/aaron/svn/mios/trunk/bin/mios-gpasm modifies _output/main.asm, result in _output/main__mios-gpasm-tmp.asm
    
    sh ~/svn/mios/trunk/bin/mios-gpasm -c -p p18f4685 -I./src -I ~/svn/mios/trunk/include/asm -I ~/svn/mios/trunk/include/share -I ~/svn/mios/trunk/modules/debug_msg -I ~/svn/mios/trunk/modules/app_lcd/dummy -DDEBUG_MODE=0   /Users/aaron/svn/mios/trunk/modules/debug_msg/debug_msg.asm -o _output/debug_msg.o
    
    gplink -s ~/svn/mios/trunk/etc/lkr/p18f4685.lkr -m -o project.hex  ~/svn/mios/trunk/lib/libsdcc.lib ~/svn/mios/trunk/lib/pic18f4685.lib _output/mios_wrapper.o _output/app_lcd.o _output/main.o _output/debug_msg.o
    
    error: multiple sections using address 0x3280
    
    make: *** [project.hex] Error 1
    
    aarons-macbook-pro:Software aaron$

    Any suggestions?

  13. Sorry, forgot to mention I'm running OS X 10.7.4

    Here is the complete log

    new-host-3:Software aaron$ make
    
    rm -rf _output/*
    
    rm -rf _output
    
    rm -rf *.cod *.map *.lst
    
    rm -rf *.hex
    
    mkdir -p _output
    
    sh ~/svn/mios/trunk/bin/mios-gpasm -c -p p18f452 -I./src -I ~/svn/mios/trunk/include/asm -I ~/svn/mios/trunk/include/share -I ~/svn/mios/trunk/modules/debug_msg -I ~/svn/mios/trunk/modules/app_lcd/dummy -DDEBUG_MODE=0  -DSTACK_HEAD=0x37f -DSTACK_IRQ_HEAD=0x33f -I ~/svn/mios/trunk/modules/mios_wrapper /Users/aaron/svn/mios/trunk/modules/mios_wrapper/mios_wrapper.asm  -o _output/mios_wrapper.o
    
    sh ~/svn/mios/trunk/bin/mios-gpasm -c -p p18f452 -I./src -I ~/svn/mios/trunk/include/asm -I ~/svn/mios/trunk/include/share -I ~/svn/mios/trunk/modules/debug_msg -I ~/svn/mios/trunk/modules/app_lcd/dummy -DDEBUG_MODE=0   /Users/aaron/svn/mios/trunk/modules/app_lcd/dummy/app_lcd.asm -o _output/app_lcd.o
    
    sh ~/svn/mios/trunk/bin/mios-sdcc -c -mpic16 -p18f452 --fommit-frame-pointer --optimize-goto --optimize-cmp --disable-warning 85 --obanksel=2  -I./src -I ~/svn/mios/trunk/include/c -I ~/svn/mios/trunk/include/share -I ~/svn/mios/trunk/modules/debug_msg -DDEBUG_MODE=0  main.c -o _output/main.o
    
    at 1: warning 118: option '--fommit-frame-pointer-?' no longer supported  'use --fomit-frame-pointer instead' 
    
    at 1: warning 117: unknown compiler option '--optimize-goto' ignored
    
    In file included from main.c:17:
    
    /usr/local/bin/../share/sdcc/include/pic16/pic18fregs.h:51:25: error: pic18f452.h: No such file or directory
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:240: warning 197: keyword 'data' is deprecated, use '__data' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:250: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:251: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:252: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:263: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:264: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:266: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:275: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:276: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    
    extraFunctions.c:24: syntax error: token -> '[' ; column 14
    
    make: *** [_output/main.o] Error 1
    
    new-host-3:Software aaron$ 
    
    

  14. Now I'm getting a whole bunch of other errors.

    at 1: warning 118: option '--fommit-frame-pointer-?' no longer supported  'use --fomit-frame-pointer instead' 
    
    at 1: warning 117: unknown compiler option '--optimize-goto' ignored
    
    In file included from main.c:17:
    
    /usr/local/bin/../share/sdcc/include/pic16/pic18fregs.h:51:25: error: pic18f452.h: No such file or directory
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:240: warning 197: keyword 'data' is deprecated, use '__data' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:250: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:251: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:252: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:263: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:264: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:266: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:275: warning 197: keyword 'code' is deprecated, use '__code' instead
    
    /Users/aaron/svn/mios/trunk/include/c/cmios.h:276: warning 197: keyword 'code' is deprecated, use '__code' instead

×
×
  • Create New...