Neradoc
12b0ee0a3e
add alias boards and bus_device to the support matrix
...
add list with manual brand names for aliases
the new info in the support_matrix is used in build_board_info.py
2021-04-02 13:36:06 +02:00
Dan Halbert
c41639f30a
add en_GB translation to builds
2021-03-31 15:09:55 -04:00
Dan Halbert
c9f2591d7c
Turn off remote wakeup in USB configuration descriptor
2021-03-31 10:12:16 -04:00
Neradoc
38072a139e
no default value for support_matrix[board_id]
...
will raise an error during build if things as not as expected
as suggested by @jepler
2021-03-29 19:03:35 +02:00
Neradoc
f143e5d049
fix list of modules for alias boards
2021-03-29 12:25:25 +02:00
Scott Shawcroft
aec0ef3cbf
Switch devices.h to nvm.toml data
2021-03-25 09:57:18 -07:00
Neradoc
6b89883797
sort languages in a way that is not case sensitive
2021-03-25 02:57:04 +01:00
Neradoc
36f91fe022
implement issue #4470
...
move the language allow list to generate_download_info() and use it there too
2021-03-24 23:39:47 +01:00
Jeff Epler
b9a973c8e0
codeformat: Do search&replace without sed
2021-03-15 19:23:16 -05:00
Jeff Epler
253385d9b7
codeformat: use pathlib for correct(-er) processing of * vs ** in globs
2021-03-15 18:10:43 -05:00
Jeff Epler
0403a2cca5
codeformat: Run sed only on requested files
...
When running from pre-commit, we believe the different invocations of
sed were racing with each other, sometimes leaving zero-byte files in
the filesystem (ow)
2021-03-15 18:10:43 -05:00
Jeff Epler
ed61e8955d
codeformat: require filenames, filter them by include/exclude lists
2021-03-15 18:10:43 -05:00
Jeff Epler
d0e3848b24
codeformat: Exclude specified files even from commandline, for pre-commit
2021-03-15 18:10:43 -05:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
microDev
090b6ba42f
update pre-commit
...
- add formatting check
- add translations check
2021-03-15 19:26:29 +05:30
Jeff Epler
bddd6b013d
build_release_files: Only build languages in an allow-list
2021-03-01 15:28:58 -06:00
Jeff Epler
144acfcb98
USB descriptors: Save flash storage for serial number
...
This saves about 60 bytes (Feather M4 went from 45040 -> 45100 bytes free)
66 bytes of data eliminated, but 6 bytes paid back to initialize the length
field.
2021-02-21 21:24:49 -06:00
Dan Halbert
c26de0136a
works! no timeouts
2021-02-16 17:39:36 -05:00
Dan Halbert
d54b5861a3
wip
2021-02-12 19:01:14 -05:00
Dan Halbert
f0564b4986
merge from upstream; complicated webusb merge
2021-02-11 18:50:02 -05:00
foamyguy
5c3371bd1a
fix bitmap_font path in display resource gen
2021-02-05 18:05:37 -06:00
Dan Halbert
0802b22ed6
usb descriptors all set; rework of enabling for USB devices
2021-02-04 19:23:40 -05:00
Kevin Banks
1352938504
Changed URL
2021-02-04 16:35:42 -06:00
FiriaCTO
e72069e241
Fix typo in comment
...
descriptors should be plural
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2021-02-04 16:18:36 -06:00
Kevin Banks
4d90f198ec
(I could have sworn I deleted that line...)
2021-02-03 18:54:03 -06:00
Kevin Banks
f2067730cb
Code cleanup and added a WEBUSB_README file
2021-02-03 18:51:48 -06:00
Kevin Banks
215a56c920
Merge branch 'main' into webusb (trying to get CI back online)
2021-02-03 16:48:28 -06:00
Kevin Banks
00926b687a
Trying to keep two ARM builds from overflowing their FLASH
2021-02-03 11:16:19 -06:00
Kevin Banks
1a9e4f5613
Restored accidentally deleted character
2021-02-01 18:51:11 -06:00
Kevin Banks
817ca39f59
ITF_NUM_VENDOR is now automatically computed at run-time
2021-02-01 18:35:58 -06:00
Kevin Banks
63f9b12fe6
Partially hard-coded VENDOR descriptor has been added. First build to be accessed via WebUSB. NOTE - had to disable HID (EndPoint shortage?)
2021-01-28 20:22:31 -06:00
Scott Shawcroft
9325509b54
Fix blinka release PR language list
2021-01-27 14:08:52 -08:00
Kevin Banks
1b031508e1
BOS and MS_OS_2.0 descriptors have been added. Still more descriptor work TODO.
2021-01-26 20:43:19 -06:00
Kevin Banks
fbfb7b68cc
Most of the code we need has been pulled in from the tinyusb webusb_serial demo. Still LOTS to do regarding descriptors.
2021-01-25 20:37:58 -06:00
Kevin Banks
9ce33a5771
Now generates the WebUSB URL Descriptor. Still need to generate the Vendor Descriptors.
2021-01-22 08:16:10 -06:00
Scott Shawcroft
733094aead
Add initial RP2040 support
...
The RP2040 is new microcontroller from Raspberry Pi that features
two Cortex M0s and eight PIO state machines that are good for
crunching lots of data. It has 264k RAM and a built in UF2
bootloader too.
Datasheet: https://pico.raspberrypi.org/files/rp2040_datasheet.pdf
2021-01-20 19:16:56 -08:00
Kevin Banks
84d7a0da9d
Initial steps, mostly via clone and modify.
2021-01-20 20:24:42 -06:00
Jeff Epler
537a4daabd
mark script as executable
2020-12-29 14:06:32 -06:00
Dan Halbert
65e2fe4654
fix stub problems; touch up doc
2020-11-27 23:27:15 -05:00
Scott Shawcroft
b9bec87f29
Update build board info.
...
* Don't add full urls because they are too large.
* Remove the unstable version when it starts with the current
version.
2020-11-18 17:38:06 -08:00
sw23
ad166ca479
Fixing make stub warnings and mypy issuesmak
2020-10-29 20:15:34 -04:00
Scott Shawcroft
29af7068d4
Ignore duplicate USB PID for prerelease version
2020-09-30 11:33:54 -07:00
Scott Shawcroft
17bdc969db
Reorganize sdkconfigs and release UF2s
2020-09-17 16:01:23 -07:00
Scott Shawcroft
4b827b25ad
Merge pull request #2966 from sommersoft/ci_check_vid_pid
...
Automate USB VID/PID Uniqueness Check
2020-09-17 11:48:46 -07:00
Scott Shawcroft
95e27bb8bf
Add more PIDs for unique boards
2020-09-15 13:43:35 -07:00
Scott Shawcroft
9256e6b376
Merge pull request #3302 from xiongyihui/main
...
support to get HID OUT report
2020-09-10 17:35:04 -07:00
Dan Halbert
07e2fc721a
Remove debugging print-out for endpoint checking.
2020-08-30 23:14:50 -04:00
Jeff Epler
a03b6a99e6
gen_usb_descriptor: Fix off-by-1 error in endpoint counting
2020-08-27 15:10:52 -05:00
Lucian Copeland
ad733e6c4a
rename reader tool
2020-08-26 17:37:05 -04:00
Jeff Epler
23aefe9509
Add usb-endpoint-count checking
...
.. however, the number of endpoints is only set for SAMD (8).
Other ports need to set the value. Otherwise, the build will show
the message
```
Unable to check whether maximum number of endpoints is respected
```
2020-08-19 16:47:40 -05:00