Commit Graph

93 Commits

Author SHA1 Message Date
Hardy Griech
bc716d0cc5 relax f_cpu limits 2023-08-23 08:15:13 +02:00
Hardy Griech
5e44fac382 minIni: no more magic names 2023-08-20 17:13:21 +02:00
Hardy Griech
8ec1cb3d28 more RTT files at another place 2023-08-12 07:16:06 +02:00
Hardy Griech
251e403bad wip 2023-08-12 07:03:47 +02:00
Hardy Griech
c7f1080eb8 wip 2023-08-12 07:03:19 +02:00
Hardy Griech
bd555b6d42 OPT_PROBE_DEBUG_OUT has now four options: CDC/RTT/UART/empty
RTT currently not working
2023-08-12 07:00:49 +02:00
Hardy Griech
b70e649183 create a debugging environment where one pico is a probe (no net) and
the other is the target (only net)
2023-08-11 22:27:18 +02:00
Hardy Griech
03ee390ee6 adopted to new FreeRTOS 2023-08-10 21:05:28 +02:00
Hardy Griech
eeee8270c4 updated FreeRTOS 2023-08-01 20:58:25 +02:00
Hardy Griech
c8eea2f76b remove other declarations of tud_network_mac_address[] which may collide
with the one in the TinyUSB header
2023-08-01 18:17:08 +02:00
Hardy Griech
68b1682fc0 refactored probe cpu/swclk settings 2023-08-01 13:55:40 +02:00
Hardy Griech
565e6b9261 minor refactoring with probe_set_swclk_freq_khz() 2023-08-01 13:40:10 +02:00
Hardy Griech
e9d446f7f1 f_cpu corrected 2023-08-01 13:29:29 +02:00
Hardy Griech
12d7732204 hmm, actually nicer to have the parameters still in CMakeLists.txt 2023-08-01 11:55:10 +02:00
Hardy Griech
e9f04d98b0 removed OPT_MCU_OVERCLOCK_MHZ, CPU frequency can be set via
configuration
2023-08-01 11:45:26 +02:00
Joseph Bellahcen
cc027c6ca5 Renamed CRLF define 2023-07-27 11:33:25 -07:00
Joseph Bellahcen
beae49611e Renamed CRLF preproc define to something less generic 2023-07-27 10:39:20 -07:00
Joseph Bellahcen
18c016b7d4 Adjusted preprocessor syntax 2023-07-27 08:33:47 -07:00
Joseph Bellahcen
8977e0b518 Parameterized CRLF insertion via CMake 2023-07-27 08:28:56 -07:00
Joseph Bellahcen
cdd2252f82 Moved debug print carriage return to end of format string 2023-07-26 08:02:55 -07:00
Joseph Bellahcen
c2d58659aa Added carriage return to end of debug prints
When using GNU screen, which does not automatically add carriage
returns after new-lines, text wraps unnaturally across the console

For example:
```
  [CMSIS-DAPv1] [CMSIS-DAPv2] [MSC: DAPLink] [CDC: UART] [CDC: probe debug] [Net: 192.168.14.1 (NCM)] [Net: SysView] [Net: Echo] [Net: IPerf]
                                                             0.003 (  1) - (II) Probe HW:
         0.003 (  0) - (II)   Pico @ 240MHz
                                           0.003 (  0) - (II) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
                                                                      0.003 (  0) - (II) SWD clk req   : 2000kHz = 240000kHz / (6 * (20 + 0/256)), eff : 2000kHz
                                                                                0.056 ( 53) - (II) Assign tasks to certain cores
                                                0.000 (  0) - (II) =================================== MSC connect target
                                         0.114 (114) - (II) =================================== MSC disconnect target
                                     0.298 (184) - (II) =================================== MSC connect target
                              0.412 (114) - (II) =================================== MSC disconnect target
                          1.576 (999) - (II) =================================== MSC connect target
                   1.689 (113) - (II) =================================== MSC disconnect target
```

This commit addresses the issue by explicitly adding carriage
returns at the end of all calls to picoprobe_info() and similar
functions
2023-07-25 14:32:23 -07:00
Hardy Griech
b987f0c20c raised prio of lwIP 2023-07-14 18:24:21 +02:00
Hardy Griech
d588ade6a8 performance optimization 2023-07-14 17:58:01 +02:00
Hardy Griech
102801788b new OPT_MCU_OVERCLOCK_MHZ 2023-07-14 10:24:03 +02:00
Hardy Griech
9130590a81 it works with multicore as well (wasn't sure before) 2023-06-29 22:52:21 +02:00
Hardy Griech
18256d6557 config 2023-06-29 13:05:01 +02:00
Hardy Griech
e5fafecc49 configUSE_TRACE_FACILITY must be enabled 2023-05-18 20:19:54 +02:00
Hardy Griech
956af3a63f this is really a breakthrough: TCP output has to be triggered 2023-05-18 19:09:41 +02:00
Hardy Griech
6b7d10c9ad net protocol can now be specified via cmake 2023-05-16 07:55:40 +02:00
Hardy Griech
21559a7853 features etc in get_config 2023-05-16 06:47:07 +02:00
Hardy Griech
1bc779aafb fiddling around (still in stutter mode) 2023-05-12 20:59:19 +02:00
Hardy Griech
392f1a9ede urrgsss, back again at SysView CDC 2023-05-12 18:42:39 +02:00
Hardy Griech
80744a4b6a lot of minor things
- net: configuration documentation
- net: really no DNS setup (hopefully)
- fine tuning of option handling plus new OPT_SPECIAL_CLK_FOR_PIO
2023-05-12 13:55:37 +02:00
Hardy Griech
5752b12959 lot of minor(?) changes
- removed DNS support
- docu updates
- performance tuning
- option for the subnet
- RTT: check for channels if "idle"
- do not use RNDIS
2023-05-10 22:44:56 +02:00
Hardy Griech
e189c1f424 again with dual core 2023-05-09 16:31:22 +02:00
Hardy Griech
677a890f67 cleaning up 2023-05-09 16:19:56 +02:00
Hardy Griech
429a949adb config: give tasks big stacks 2023-05-09 12:03:12 +02:00
Hardy Griech
a214ec80c5 sysview server works first time 2023-05-07 18:35:34 +02:00
Hardy Griech
88e8e8a304 options: OPT_NET_ECHO_SERVER and OPT_NET_IPERF_SERVER 2023-05-07 10:11:22 +02:00
Hardy Griech
fa664c1e55 rename OPT_NET_SYSVIEW -> OPT_NET 2023-05-06 20:54:32 +02:00
Hardy Griech
e836531b76 DNS as an option 2023-05-06 20:49:06 +02:00
Hardy Griech
daf0822cf3 performance enhancement: "nmap -p- 192.168.10.1" factor >10 and no more
polling
2023-05-06 19:55:57 +02:00
Hardy Griech
4322bac008 new OPT_PROBE_DEBUG_OUT 2023-05-06 18:50:35 +02:00
Hardy Griech
5a46213eb2 USB target uart as an option 2023-05-06 18:29:41 +02:00
Hardy Griech
1ede084368 cmake options for CMSIS-DAPv1/2 2023-05-06 18:13:33 +02:00
Hardy Griech
b9f71d452b OPT_MSC 2023-05-06 17:58:09 +02:00
Hardy Griech
4d4b8d31fb split and rename net_starter 2023-05-06 17:43:26 +02:00
Hardy Griech
b1dbe22a82 clean up & correct MAC address 2023-05-06 17:29:58 +02:00
Hardy Griech
d93d3dd23b this version has a working lwip, culprit was the MAC :-/ 2023-05-06 12:31:46 +02:00
Hardy Griech
17e50687a9 wip: RNDIS under Windows works only if there is just a single RNDIS and
no other class
2023-05-03 08:39:03 +02:00