Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 4a86c7e

Browse files
authored
Merge pull request #870 from bjones1/lp_fixes
LP fixes
2 parents 7aad60d + 5875e3d commit 4a86c7e

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

runestone/lp/lp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ def setup(
486486

487487
app.add_autoversioned_javascript('lp.js')
488488
app.add_autoversioned_javascript('gas.js')
489-
app.add_javascript('https://hypothes.is/embed.js')
490489

491490
# Use the `source-read <http://sphinx-doc.org/extdev/appapi.html#event-source-read>`_
492491
# event hook to replace solutions with textareas before Sphinx processes it.

runestone/server/lp_common_lib.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ def get_sim_str_mdb(
175175
'set uart1io.uartioenabled true\n'
176176
'set uart1io.outputfile "{}"\n'
177177

178+
# Configure the clock to match the setup in the PIC24 libary ``lib/include/pic24_clockfreq.h`` named ``SIM_CLOCK``.
179+
'set oscillator.frequency 1\n'
180+
'set oscillator.frequencyunit Mega\n'
181+
178182
# Load in the program.
179183
'program "{}"\n'
180184

0 commit comments

Comments
 (0)