You are reading a single comment by @jcw and its replies. Click here to read the full conversation.
  • (reposted from issue #711 on GitHub)

    I'm trying to add a definition for this HY-TinySTM103T board, which is an STM32F103xB in a 36-pin package. The package type I'm using in the board .py file is VFQFPN36.

    First off - I get a working build when using a serial port (yeay!). Now I'm trying to get USB working. The board has a discovery pin enabling circuit on A0, so I adjusted that, as well as the LED (and no button).

    With USB, the binary size is 123088 (I'm building on Mac OSX, the size check in the makefile fails with "gdu not found").

    But there's something odd with the auto-generated jspininfo files:

    # define JSH_PIN_COUNT 80
    
    # define JSH_PORTA_COUNT 16
    # define JSH_PORTB_COUNT 16
    # define JSH_PORTC_COUNT 16
    # define JSH_PORTD_COUNT 16
    # define JSH_PORTE_COUNT 16
    # define JSH_PORTF_COUNT 0
    

    Not sure this is related, but for some reason I can't get the USB device to appear. The LED (which is on A1), does light up as expected on reset (it's active low - I was able to toggle in in the USART build).

    I can't quite figure out what's going on - some help would be appreciated :)

    -jcw

About

Avatar for jcw @jcw started