Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GlasgowEmbedded/glasgow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 97a151baba59
Choose a base ref
...
head repository: GlasgowEmbedded/glasgow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 54abd25369ae
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Aug 6, 2019

  1. Copy the full SHA
    de89ab8 View commit details
  2. Copy the full SHA
    54abd25 View commit details
Showing with 7 additions and 2 deletions.
  1. +1 −1 firmware/glasgow.h
  2. +5 −0 firmware/main.c
  3. +1 −1 vendor/libfx2
2 changes: 1 addition & 1 deletion firmware/glasgow.h
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ enum {
#define BITSTREAM_ID_SIZE 16

__xdata __at(0x4000 - CONF_SIZE) struct glasgow_config {
char revision;
uint8_t revision;
char serial[16];
uint32_t bitstream_size;
char bitstream_id[BITSTREAM_ID_SIZE];
5 changes: 5 additions & 0 deletions firmware/main.c
Original file line number Diff line number Diff line change
@@ -127,7 +127,12 @@ usb_configuration_c usb_config_1_pipe = {
}
};

// check for "earlier than 3.5", but version macros shipped in 3.6
#if !defined(__SDCC_VERSION_MAJOR)
__code const struct usb_configuration *__code const usb_configs[] = {
#else
usb_configuration_set_c usb_configs[] = {
#endif
&usb_config_2_pipes,
&usb_config_1_pipe,
};
2 changes: 1 addition & 1 deletion vendor/libfx2