Skip to content

Commit

Permalink
[rtl872x] fixup sdk headers
Browse files Browse the repository at this point in the history
  • Loading branch information
avtolstoy authored and keeramis committed Aug 11, 2022
1 parent 7996b70 commit ce972d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions hal/src/rtl872x/backup_ram_hal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "platform_headers.h"
#include "dct_hal.h"
#include "dct.h"
#include "rtl8721d.h"

// NOTE: we are using a dedicated flash page for this as timings for writing
// into fs vs raw page are about 10x
Expand Down
8 changes: 6 additions & 2 deletions hal/src/rtl872x/platform_headers.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@
#define retained __attribute__((section(".retained_user")))
#define retained_system __attribute__((section(".retained_system")))

#include "rtl8721d.h"
#undef DISABLE // unpollute global namespace
// Expose CMSIS/NVIC/IRQ/etc-related header files to the application
#include "interrupts_irq.h"
// Expose some of the peripheral registers
#include "hal_platform_rtl.h"
// GPIO/pinmux/fast-pin related stuff
#include "rtl8721d_pinmux_defines.h"

0 comments on commit ce972d4

Please sign in to comment.