Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

various optimizations, code cleanup, & improvements #35

Open
wants to merge 60 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
37542bd
add port output mode function
nerdralph Oct 9, 2020
8b34260
Merge branch 'master' of https://github.com/nerdralph/ch554_sdcc
nerdralph Oct 9, 2020
7b60d30
Merge branch 'master' of https://github.com/Blinkinlabs/ch554_sdcc
nerdralph Oct 9, 2020
4fbe849
use USB_DEV_DESCR struct for DevDesc
nerdralph Oct 12, 2020
f3be6c3
cleanup string descriptors
nerdralph Oct 14, 2020
4f6295f
rm single-use string #defines
nerdralph Oct 14, 2020
79cdfb3
make CfgFsys() inline
nerdralph Nov 15, 2020
0ca0cc3
used ubuntu-20.04
nerdralph Nov 15, 2020
3357b13
implement putchar/getchar in asm
nerdralph Nov 15, 2020
c4933e7
Merge branch 'master' of https://github.com/nerdralph/ch554_sdcc
nerdralph Nov 15, 2020
482e8ea
make putchar/getchar compatible with sdcc < 3.7.0
nerdralph Nov 15, 2020
8fc35e3
Merge branch 'master' of https://github.com/Blinkinlabs/ch554_sdcc
nerdralph Dec 17, 2020
74da08f
round baud rate instead of truncate
nerdralph Dec 17, 2020
9bb2deb
working backport from ch55xduino
nerdralph Jan 13, 2021
8fab4c2
include stdint
nerdralph Jan 13, 2021
08b7e7e
include ch554
nerdralph Jan 13, 2021
f27bd64
cleanup and optimize
nerdralph Jan 14, 2021
8b79b00
cleanup USB descriptors
nerdralph Jan 14, 2021
bca5417
fix pushPull for P1
nerdralph Jan 26, 2021
a6ae7e6
working with P1.7/P1.6
nerdralph Feb 11, 2021
8416341
document wiring and speeds
nerdralph Feb 12, 2021
c479928
rm unused code
nerdralph Feb 12, 2021
0a66847
--no-xinit-opt saves 70B
nerdralph Feb 12, 2021
fc7352f
provide dummy serial descriptor for CMSIS-DAP unique ID
nerdralph Feb 13, 2021
28f9462
use reqponse size from DAP_Thread
nerdralph Feb 13, 2021
8544db3
cleanup comments
nerdralph Feb 14, 2021
0b57150
trailing space?
nerdralph Feb 14, 2021
06bb814
Merge branch 'master' of https://github.com/nerdralph/ch554_sdcc
nerdralph Feb 14, 2021
e6c259b
revert to 64-byte responses due to Windoze bug
nerdralph Feb 14, 2021
8adb7cd
rm unused code
nerdralph Feb 14, 2021
9a75cb2
cleanup + speedup
nerdralph Feb 15, 2021
cf683a9
use hardware parity for write WDATA
nerdralph Feb 15, 2021
4568717
using separate endpoints for INT IN & OUT
nerdralph Feb 20, 2021
62ca5e6
move code into main
nerdralph Feb 21, 2021
08dbda9
EP1 OUT double-buffering working with DAP_PACKET_COUNT=1
nerdralph Feb 21, 2021
a4bb985
now working with DAP_PACKET_COUNT=2
nerdralph Feb 21, 2021
782f41e
update openocd & pyOCD info
nerdralph Feb 21, 2021
a91fa6d
document default SWDIO & SWCLK pins
nerdralph Feb 21, 2021
9680847
string descriptor cleanup
nerdralph Feb 22, 2021
8b56686
cleanup string descriptors
nerdralph Feb 23, 2021
051beb3
asm descriptor copy function
nerdralph Feb 23, 2021
bece339
change SetupLen to u8 from u16
nerdralph Feb 23, 2021
08364a5
Merge branch 'master' of https://github.com/nerdralph/ch554_sdcc
nerdralph Feb 23, 2021
a75e58d
use strcpy instead of memcpy
nerdralph Feb 23, 2021
828dc97
use xdata pointers instead of generic
nerdralph Feb 23, 2021
91e9959
use xdata pointers
nerdralph Feb 23, 2021
520fda0
rm unused PDLen
nerdralph Feb 23, 2021
be6af9b
simplified HID report descriptor
nerdralph Feb 24, 2021
b917743
comment code not needed for CMSIS-DAP v1
nerdralph Feb 24, 2021
f04b5d9
rm more unused code
nerdralph Feb 24, 2021
b668c6c
let SDCC allocate xram data
nerdralph Mar 1, 2021
f7e6dd0
rm unused data_phase
nerdralph Mar 1, 2021
4ca46bd
expand report descriptor for better Windows compatibility
nerdralph Mar 1, 2021
c5816a0
cleanup USB init
nerdralph Mar 2, 2021
9f6e1fd
add disconnectUSB()
nerdralph Mar 2, 2021
a808093
move disconnectUSB() to debug.h
nerdralph Mar 2, 2021
ef8ba42
cleanup config descriptor
nerdralph Mar 4, 2021
62bf728
global config
nerdralph Mar 4, 2021
fbae536
correct logical maximum to 255
nerdralph Mar 4, 2021
145ec7f
fix logical minimum ID
nerdralph Mar 7, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ on:

jobs:
build:
runs-on: ubuntu-latest
# need ubuntu 20 for sdcc-3.8 package since ubuntu 18 has old sdcc-3.5
runs-on: ubuntu-20.04

steps:
- name: Check out
Expand Down
Loading